The text of a manual · part 9 of 13
Bar Code Reader BCL 40 with Integrated Decoder, Connector Unit MA 10: Technical Description: 7 Commissioning
Pages 53 to 61 of 94, from Bar Code Reader BCL 40 with Integrated Decoder, Connector Unit MA 10: Technical Description
The original document is the PDF (1.8 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Leuze BCL-40
Page 53
Leuze electronic
Commissioning
7
Commissioning
7.1
Measures to be performed prior to the first commissioning © Before commissioning, familiarise yourself with the operation and configuration of the device(s)! © Before switching on, recheck all connections and ensure that they have been properly made.
DIP-switch 1 "ParaDefault": ON on reset (’cold start’) factory setting parameter set is loaded OFF on reset (’cold start’) customer-specific parameter set is loaded
DIP switch 2 "autoConfig" and parallel connected jumper: ON "autoConfig" function activated OFF "autoConfig" function deactivated
Reset button: - Press < 4s: "warm start" - Press > 4s: "cold start"
Operating modes switch: Switch setting 1:SERVICE* Switch setting 2:OPERATION
Interface terminal RS 232 for commissioning and service
Coding switch 0 … F for setting the device address: The switch positions 0 … F correspond to the device address 0 … 15 or 16 … 31.
Data logging jumper for the interface terminal - Jumper above: Data from Host - Jumper below*: Data from BCL
TNT 35/7-24V
Jumper for setting the device address range: - Right jumper Addr. 0 … 15 - Left jumper Addr. 16 … 31
*In service operation, the jumper must be in the "lower" position. Communication is otherwise not possible.
Figure 7.1:
Leuze electronic
Control elements of the MA 10
BCL 40
51
Page 54
Leuze electronic
Commissioning Setting the device address
The device address is set in the MA 10 using a rotary code switch. © Set the device address on the code switch to: • 0, if the combined BCL 40 / MA 10 unit will not be operated in a network, • 1 … 31, if several BCL 40 / MA 10 units will be operated in a network. Each multiNet plus network device must have a different device address assigned to it. If the RS 485 module is plugged in and connected to the mulitNet master, the BCL 40 / MA 10 automatically becomes a multiNet plus slave device.
Reset Both devices can be reset using the reset button in the MA 10: "Warm start" If the reset button in the MA 10 is pressed for a short time (0.2 to 4 sec.), a so-called "warm start" will be carried out. This will reinitialise both devices and load the current parameter set into memory from the EEPROM. "Cold start" If the reset button in the MA 10 is pressed until all four LEDs on the back of the device illuminate (longer than 4 seconds), a so-called "cold start" will be carried out. This will reinitialise both devices and, depending on the DIP switch setting "ParaDefault", will either load the customer-specific parameter set or the factory default parameter set into memory.
DIP switch setting 1 "ParaDefault": OFF ON - the customer-specific parameter set is loaded. the factory default parameter set is loaded.
Notice! The customer-specific parameter set is a backup copy of the current parameter set. It must be explicitly loaded using the command "PC01" after saving the BCL set-up and is only available in the MA 10 (not the BCL 40). The customer-specific parameter set can then be loaded by executing a ’cold-start’.For specific information, see chapter 9.3.5 ""Online" Commands for Parameter Set Operations". © Set DIP switch 1 corresponding to the parameter set that should be loaded after a "cold start" has been initiated. After resetting the device, all four LEDs on the back side of the MA 10 illuminate for approx. 1/2 second. During software initialisation, the green "RDY" (ready) LED blinks. If the green "RDY" LED continuously illuminates, the initialisation is complete and the device is ready for operation. 52
BCL 40
Leuze electronic
Page 55
Leuze electronic
Commissioning
Notice! If the BCL 40 is to be operated as a "stand alone" device, a reset is only possible via software. There is a small green LED inside the BCL 40 at the lower edge of the reading window that displays the operation readiness. The LED can also be used to monitor the operating status of the BCL 40 in "stand alone" operation. During a reset, the LED remains dark and continuously illuminates when the device is ready for operation.
7.2
Function Test "Power On" test After connecting the operating voltage, the devices carry out an automatic "Power On" function test. All four LEDs on the back of the MA 10 illuminate for approx. 1/2 second. During software initialisation, the green "RDY" (ready) LED blinks. Once the green "RDY" LED continuously illuminates, the device is ready for operation.
Interface Proper function of the interface can be tested easiest in service operation using the service interface with the "BCL Configuration Tool" software and a notebook computer.
"Online" commands Using the "Online" commands, the important device functions can be checked, e.g. proper functioning of the laser( see chapter 9 "Communicating with the Device").
Should problems occur during device commissioning, refer first to chapter 8.2. Should a problem persist after checking all electrical connections and settings on the devices and host, please contact a Leuze service office near you (see the back page of this operating manual).
7.3
Setting the Parameters You have now commissioned the BCL. Usually, you will have to configure it before you can use it. Using the parameter options made available by the BCL, you may configure the BCL to suit your individual area of application. For instructions regarding the various setting options refer to chapter 9 or to the online help of the configuration software "BCL Configuration Tool". In order to operate the BCL, it is typically sufficient to set code type and code length in accordance with the bar codes that are to be read. However, depending on the application, you will configure the switching inputs and outputs according to your requirements. The setting of code type and code length is usually accomplished by using the program "BCL Configuration Tool", see chapter 9.2 "Graphic configuration using the "BCL Configuration Tool" software".
Leuze electronic
BCL 40
53
TNT 35/7-24V
Problems
Page 56
Leuze electronic
Commissioning
To understand what is happening during the parameter setting, the chapter 7.3.1 briefly explains the various parameter sets. The setting of the parameter sets then takes place in the operating mode "service", which is described in chapter 7.3.2.
7.3.1
Parameter sets Three different parameter sets are maintained by the MA 10 when using the BCL 40 / MA 10 combined unit: • the factory default parameter set • the customer-specific parameter set • the current parameter set Before a parameter set is loaded into the BCL 40 processor memory, the validity of the parameter set is checked using checksums.
Factory default parameter set This parameter set contains the default settings made ex works for all BCL 40 parameters. It is permanently stored in the ROM of the BCL 40. The parameter set with the default settings is loaded into the memory of the BCL 40, • the first time the device is commissioned after delivery • after a "cold start" reset ("ParaDefault" switch ON) • if the check sums of the current and the customer-specific parameter set are invalid.
Customer-specific parameter set In this parameter set, customer-specific settings for all device parameters can be stored. There are two ways to store the parameter set in the EEPROM of the MA 10: • by copying a valid parameter set, i.e. an already stored and tested 'current parameter set' from the EEPROM of the MA 10. • by copying (parameter "Download") a valid parameter set from the host computer (e.g. a PC or PLC). The customer-specific parameter set is copied into the current parameter set: • after a "cold start" reset ("ParaDefault" switch OFF) • if the checksum of the current parameter set is invalid
54
BCL 40
Leuze electronic
Page 57
Leuze electronic
Commissioning
Current parameter set In this parameter set, the current settings for all device parameters are stored. If the BCL 40 is in "stand alone" operation, the parameter set is stored in the EEPROM of the BCL 40. If an MA 10 is also used, the parameter set is stored in EEPROM of the MA 10 and a copy thereof in the EEPROM of the BCL 40. The current parameter set can be stored in three ways: • by changing and storing the current parameter set using the integrated SETUP program of the BCL 40 • by copying (parameter "Download") a valid parameter set from the host computer (e.g. a PC or PLC). • by means of an off-line setup with the program "BCL Configuration Tool" The current parameter set is loaded into the memory of the BCL 40: • each time the supply voltage is connected • after a "warm start" reset, as well as a software reset
BCL 40 "Stand alone" ROM Default PS (2) EEPROM Current PS (0)
"2" = parameter set with factory default settings "1" = customer-specific parameter set "0" = current parameter set Parameter Terminal "Download" program on from HOST PC
RAM Working copy of current PS
BCL 40
ROM Default PS (2)
ROM Customerspecific Parameter set (1)
EEPROM Current PS (0)
EEPROM Current parameter set (0)
RAM Working copy of current PS
Figure 7.2:
MA 10
BCL 40 with MA 10 Terminal program on PC Parameter "Download" from HOST
Block diagram storage concept for parameter sets
Notice! By storing all current and customer-specific values in the connector unit MA 10, a connected BCL 40 can be exchanged without difficulty since all parameters are maintained.
Leuze electronic
BCL 40
55
TNT 35/7-24V
BCL 40
Page 58
Leuze electronic
Commissioning 7.3.2
Service Operating Mode Setting the required parameters is carried out easiest in the "service" operating mode.
Interface terminal By switching the operating mode switch from operation (setting 2) to service (setting 1), the connection to the host computer is broken and the RS 232 service interface is activated. The MA 10 offers a service interface for commissioning the read station in a network. The interface consists of a 9 pin SubD connector (male) and can be reached by removing the housing cover on the MA 10.
Connection A PC or terminal can be connected to the MA 10 via the RS 232/V.24 serial interface and used to set the parameters of the BCL 40. The connection is made using a crossed RS 232 connection cable that establishes the RxD, TxD and GND connections. A hardware handshake via RTS, CTS is not supported at the service interface.
PC/terminal COM interface
Figure 7.3:
MA 10 service interface
Connecting the service interface to a PC or terminal
For specific information, see figure 7.1 "Control elements of the MA 10" on page 51. Communication to the host computer via the host interface is no longer possible. Switching to service mode results in a pre-set transfer protocol with the following parameters: • transfer rate 9600baud • no parity • 8 data bits • 1 stop bit • prefix: STX • postfix: CR, LF Construction of the data frame at the service interface
56
Prefix 1
Data
Terminator 1
Terminator 2
ASCII
STX e.g.: "CODE"
CR
LF
HEX
02h
43h 4Fh 44h 45h
0Dh
0Ah
BCL 40
Leuze electronic
Page 59
Leuze electronic
Commissioning
Wiring description The 9 pin Sub D RS 232 Terminal connector (male) has the following pin assignments: Pin 1
NC not used
Pin 2
RXD receive signal of the RS 232 service interface
Pin 3
TXD transmit signal of the RS 232 service interface
Pin 4
NC not used
Pin 5
GND signal reference potential 0VDC
Pin 6
RXD_Host receive signal of the host interface
Pin 7
NC not used
Pin 8
NC not used
Pin 9 reserved for service purposes only
Using a PC and a terminal program, the set-up program of the BCL 40 can be called, online commands sent and data received via this interface terminal. Notice! In setting 2 ("operation") of the operating mode switch, the terminal connector can be used as a data monitor. In this case, data sent from the BCL 40 (jumper in figure 7.1 in lower position) or data received from host (jumper in figure 7.1 in upper position) can be logged. The data protocol is set by the host interface in the latter case.
Configuration software
7.3.3
Setting Parameters "Offline" Setting parameters The parameters are programmed on a PC without direct connection to the BCL 40 ("Offline" programming) and saved in a file (parameter file).
Downloading parameters After successful programming, the parameters are loaded into the BCL 40 (parameter "Download"). This causes the required parameters to be transferred from the host computer, or a computer connected to the interface terminal of the MA 10, to the BCL 40 or MA 10, respectively.
Leuze electronic
BCL 40
57
TNT 35/7-24V
Leuze offers a convenient program "BCL Configuration Tool" for setting the required device parameters (see chapter 5 "Accessories / Order Designation").
Page 60
Leuze electronic
Commissioning 7.3.4
Setting Parameters "Online" The other possibility for setting the required operating parameters of the BCL 40 is through "Online" programming via the integrated, two-language set-up program (English, German) in the BCL 40.
Setup program Using a PC (notebook) connected to the interface terminal, the menu-driven set-up program can be called while in the service operating mode. "Online" commands can then be directly entered that query data or carry out a software reset. Communication is carried out using a terminal program or more conveniently using the Leuze configuration program. A detailed description of the setup program along with all parameters which can be set, as well as the most important "Online" commands can be found in chapter 9.
7.3.5
Setting the Bar Code Parameters Using "autoConfig" The parameters of the bar codes which are to be read can be easily set using the function "autoConfig". In order to check the programmed bar codes, the BCL 40 should be connected to a data terminal. The detection of the desired bar code(s) can be checked on the terminal.
Manual or "Online" activation • The "autoConfig" function is activated on the MA 10 using DIP switch 2 (see figure 7.1 for the location of the DIP switch). • The "autoConfig" function can be activated and deactivated via the serial interface (host or service interface) using the "Online" commands 'CA+' (activate) and 'CA-' (deactivate). Details of "Online" commands can be found in chapter 9. If "autoConfig" is active, the ERR LED and RDY LED on the MA 10 alternately blink.
Setting parameters After activating the "autoConfig" function, the BCL 40 can read from one to eight example labels containing the bar codes which are to be read. The BCL 40 decodes the labels and displays, via the interface, the code type, the number of decoded characters and the character itself.
Number of labels to be decoded While "autoConfig" is active, have the BCL 40 read as many labels in row as it will later during a reading cycle when in normal operation. The number of labels can be set from "Set Code" in the submenu "Decoding" of the setup program. The number of labels is limited to 8 when using the "autoConfig" program. 58
BCL 40
Leuze electronic
Page 61
Leuze electronic
Commissioning
Code type and No. of characters of the label to be decoded The BCL 40 evaluates the number of labels, and at the same time, the code type and number of characters. This corresponds to the programming of the code types in the submenu "Decoding / Select Code Type" of the setup program.
Normal state of the MA 10 switched input SE1 The state (high or low) which is present at the switched input SE1 while the "autoConfig" function is active is taken as the new normal state for this switched input. This corresponds to the function "Inversion" in the submenu "Switched Inputs and Outputs / Switched Input Decoding (S1)" of the Setup program.
Store parameters When the "autoConfig" program is deactivated, the programmed parameters are stored and copied into the current parameter set.
TNT 35/7-24V
Before deactivating the "autoConfig" function, please remove any labels from the scanning area of the BCL 40 since the new code parameters otherwise will not be stored properly.
Leuze electronic
BCL 40
59