The text of a manual · part 11 of 13
Bar Code Reader BCL 40 with Integrated Decoder, Connector Unit MA 10: Technical Description, pages 70 to 77
Pages 70 to 77 of 94
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 70
Leuze electronic
Communicating with the Device
Option
Explanation
If this item is activated, the read result is output immediately after the After equal scans bar code is decoded. If the item is deactivated, the read result is sent reach only after the trigger signal is returned (= end of reading gate). For test purposes. If the scanner is activated, the reading gate is automatically closed by the scanner after this preset time has elapsed.
Time
Following a successful read, the scanner waits for this number of Scans without info scans (sequential scans with no read result) before it automatically deactivates itself.
9.2.4
Communication
Figure 9.7:
"Communication" menu, standard setting
Select the desired baud rate, the stop bits, the data bits and the parity here. In addition, several different handshake modes and protocols can be set here. The RK512/3964 protocol can also be selected here. The individual parameters for this protocol can be found in the tree-structure configuration and Communication -> Customer Interface -> 3964 / RK 512 Protocol.
Attention! If the BCL 40 is operated in a network ("Leuze multiNet"), no changes may be made here. The scanner automatically sets itself to the multiNet protocol! 68
BCL 40
Leuze electronic
Page 71
Leuze electronic
Communicating with the Device
Communication properties
Figure 9.8:
Properties of the Communication menu, standard setting
Here, the frame format (prefix/postfix), the address mode as well as a BCC mode can be set. Attention!
TNT 35/7-24V
During Leuze multiNet operation, no changes may be made here!
Leuze electronic
BCL 40
69
Page 72
Leuze electronic
Communicating with the Device 9.2.5
Reference code
Figure 9.9:
"Reference code" menu
A reference code is bar code information which is stored in the memory of the scanner. This reference code can be compared with the current decoded bar code in various modes and, thus, set appropriately for the switching output. To do this, the switching output must still be set to "By comparison of reference code X" in the "Switch" menu. One way to store the reference code is to enter it manually in this menu. Other possibilities of the reference code teach-in see chapter 9.3.1 "General "Online" Commands" and chapter 9.2.6.
70
Option
Explanation
Type
Select the code type.
Contents
Contents of the reference code
Compare mode
Select here how the internally stored reference code is to be compared with the decoded result. For additional comparison possibilities, please select the "Properties" menu.
BCL 40
Leuze electronic
Page 73
Leuze electronic 9.2.6
Communicating with the Device
Sensor
Figure 9.10: "Sensor" menu, standard setting Notice!
Option
Explanation
Enabled
Switching input enabled or disabled.
Invert
Here, the input level can be inverted.
Debounce time
This amount of time is allowed to pass before the signal is passed on internally for further processing.
Delay off time
This parameter is used to extend the trigger signal internally by means of software.
Notice! If a BCL40 is operated without a MA10 or MA30 connector unit, only switching input 1 is available!
Leuze electronic
BCL 40
71
TNT 35/7-24V
Sensor 1 must be used at the beginning of the reading gate (trigger). Sensor 2 can only be used for the reference code teach-in.
Page 74
Leuze electronic
Communicating with the Device 9.2.7
Switching outputs
Figure 9.11: "Switch 1" menu, standard setting
Option
Explanation
Enabled
Switching output enabled or disabled.
Invert
Invert the level.
Activation
Select the desired event which is to initiate the switching of the switching output here. Multiple events can also be simultaneously activated.
Deactivation
Shown here is the event which results in the switching output being reset (if the set pulse duration has not yet expired). These events are only displayed and cannot be changed directly.
Pulse duration
Duration of the switching output impulse.
Pulse number
Number of pulses. If the value here is set to 0, a continuous signal is applied to the switching output which is not reset until the event on "deactivation".
Notice! If a BCL 40 is operated without a MA10 or MA30 connector unit, no switching output is available!
72
BCL 40
Leuze electronic
Page 75
Leuze electronic 9.3
Communicating with the Device
Overview of Commands and Parameters Online commands can be used to send commands directly to the device for control and configuration. For this the BCL 40 / MA 10 must be connected to a host or service computer via the serial interface. The commands described can be sent either via the host or the service interface. For information on the transmission protocol, please see chapter 7.3.3. Be sure that both data devices are set to the same protocol: • service interface: 9600 Baud, 8-None-1 • host interface: protocol configured by user
"Online" commands With the commands, you can • • • • • • • • • • call the setup program, carry out a software reset in order to reinitialise the device, call up error messages, call up statistical device information, internally copy and test parameter sets, activate and test system components, control/decode reading gate, read/write/copy parameters, carry out an automatic configuration, teach/set reference code.
"Online" commands consist of one or two ASCII characters followed by command parameters. No separation characters may be entered between the command and the command parameter(s). Both small and capitalised letters can be used. Example: Command ’CA’:
"autoConfig" function
Parameter ’+’:
Activation
Transmitted is:
’CA+’
Notation Commands, command parameters and returned data are enclosed between single quotation marks ’ ’. Most "online" commands are acknowledged by the BCL 40 and any requested data returned. For commands that are not acknowledged, command execution can be observed or monitored directly on the device.
Leuze electronic
BCL 40
73
TNT 35/7-24V
Syntax
Page 76
Leuze electronic
Communicating with the Device 9.3.1
General "Online" Commands Software version number Command
’V’
Description
Requests device version information
Parameter no
’BCL 40’ ’V 50.09’ ’22.06.97’ (only when a ’V 01.07’ MA 10 connector unit is installed) Acknowledge- ’MA 10’ The device type appears in the first line followed by the software version ment number and date. The device type on the connector unit appears on the fourth line followed by the version number. The data which are actually displayed may vary from the values given here. Notice! Using this command, you can check whether the connected host or service computer is properly connected and configured. If you do not receive an acknowledgement, please check interface connections, protocol and service switches.
Software reset Command
’H’
Description
Carries out a software reset. The device is restarted and reinitialised, leaving it in the same state as when the supply voltage is switched on.
Parameter no
Acknowledge’S’ (start signal) ment
74
BCL 40
Leuze electronic
Page 77
Leuze electronic
Communicating with the Device
Call the setup program Command
’E’
Description
Calls the set-up program. The main menu of the set-up program is displayed.
Parameter no
Acknowledgement, ’Load Parameter Set’ ’’ ’ Setup’ Acknowledge- ’-------------------------------------------------’ ’ 1: Language’ ment ’ 2: Decode Setup’ ’’ ’Enter:’ Notice! Read/write operations cannot be carried out in the service mode. The set-up program must always be ended in order to return to normal operation.
Command
’CA’
Description
Activates or deactivates the "autoConfig" function. Certain label reading parameters are programmed automatically in the setup by the labels which are read while the "autoConfig" function is active.
Parameter
’+’ ’/’ ’-’ activates "autoConfig" rejects the last code read deactivates "autoConfig" and stores the decoded data in the current parameter set
’xx yy zzzzzz’ (only with ’CA+’) xx: Code type of the read code ’01’ 2/5 Interleaved ’02’ Code 39 ’06’ UPC (A, E) ’07’ EAN Acknowledge’08’ Code 128, EAN 128 ment ’10’ Add-on for EAN/UPC ’11’ Codabar yy No. of digits of the read code zzzzzz Contents of the decoded label. The ’, appears if the label was not correctly read.
Leuze electronic
BCL 40
75
TNT 35/7-24V
"autoConfig"