The text of a manual · part 12 of 13
Bar Code Reader BCL 40 with Integrated Decoder, Connector Unit MA 10: Technical Description, pages 78 to 84
Pages 78 to 84 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 78
Leuze electronic
Communicating with the Device Manual definition of the reference code Command
’RS’
Description
This command can be used to define a new reference code in the BCL 40 by means of direct entry via the serial interface. The data are saved in the parameter set according to their input under reference code 1 or 2 and stored in the working buffer for further processing.
Parameter
’RSyxxzzzzzzzz’ y, x and z are place holders (variables) for the actual input. y: def. reference code No ’1’ (Code 1) ’2’ (Code 2) … xx def. code type (see command "’CA’" on page 75) z def. code information (1 … 31 characters)
Acknowledgeno ment Example input = ’RS10678654331’ (Code 1 (1), UPC (06), 78654331)
Teach-In Command
’RT’
Description
This command enables a reference code to be defined quickly by reading an example label.
Parameter
’RTy’ y: Function ’1’ defines reference code 1 ’2’ defines reference code 2 ’-’ exit the Teach-In process
Acknowledgezzzzzz Contents of the decoded label ment Notice! With this function, only code types are recognised that are identified using the "autoConfig" function or which were set in the set-up. © After each reading via an ’RTx’ command, explicitly switch off the function again using the ’RT-’ command since failure to do so will interfere with other commands as well as prevent execution of a new ’RTx’ command.
76
BCL 40
Leuze electronic
Page 79
Leuze electronic
Communicating with the Device
Detect code Command
’CC’
Description
Reads the code type and contents of an unknown label without storing it in Setup.
Parameter no
Acknowledge- xxyyzzzzzz ment The acknowledgement is the same as that of the "autoConfig" function.
9.3.2
"Online" Commands for System Control Activate sensor input 1 Command
’+’
Description
Activates decoding (sensor input 1). A signal can be simulated on sensor input 1 with this command.
Parameter no
Acknowledgeno ment
Command
’-’
Description
Deactivates decoding (sensor input 1). A signal can be simulated on sensor input 1 with this command.
Parameter no
Acknowledgeno ment
Leuze electronic
BCL 40
77
TNT 35/7-24V
Deactivate sensor input 1
Page 80
Leuze electronic
Communicating with the Device Activate sensor input 2 Command
’,’
Description
Activates the definition of reference code 1 (sensor input 2). A signal can be simulated on sensor input 2 with this command.
Parameter no
Acknowledgeno ment
Deactivate sensor input 2 Command
’.’
Description
Deactivates the definition of reference code 1 (sensor input 2). A signal can be simulated on sensor input 2 with this command.
Parameter no
Acknowledgeno ment
9.3.3
"Online" Commands for System Checking Diagnosis laser Command
’DL’
Description
The command controls or tests the laser diode.
Parameter
’+’ ’-’ ’C’ ’T’ switches on the laser diode switches off the laser diode outputs the laser current outputs the laser temperature.
no ’DS03’: invalid parameter for the command ’DL’ Acknowledge’DS04’: invalid command length ment ’DTxxx.x’ ’DCyyy’ xxx.x is the laser temperature in °C yyy is the laser current in mA
78
BCL 40
Leuze electronic
Page 81
Leuze electronic
Communicating with the Device
Diagnosis motor Command
’DMS’
Description
Returns the rotary frequency of the polygon mirror wheel drive motor.
Parameter no
Acknowledge’DMSxxxxx’ ment Description xxxxx is the current rotary frequency of the motor in revolutions per minute.
Supply voltage Command
’DUV’
Description
Returns the supply voltage of the BCL 40.
Parameter no
Acknowledge’DUVxx.x’ ment xx.x is the current supply voltage in V.
TNT 35/7-24V
Description
Leuze electronic
BCL 40
79
Page 82
Leuze electronic
Communicating with the Device 9.3.4
"Online" Commands for Querying Statistical Data Query device statistics Command
’SR’
Description
Returns the current contents of the given field of the statistical device data memory.
Parameter
’00’ to ’19’
Acknowledge’ST00XXXXX’ to ’ST19XXXXX’ ment
Description
80
ST00XXXXX’: XXXXX is the length of time in seconds that the laser diode has been switched on since the last initialisation ’ST01XXXXX’: XXXXX is the length of time in minutes that the polygon wheel motor has been switched on since the last initialisation ’ST05XXXXX’: XXXXX the number of correctly received commands via the interface ’ST06XXXXX’: XXXXX the number of incorrectly received commands via the interface ’ST07XXXXX’: XXXXX the number of sent commands via the interface that have received positive acknowledgement ’ST08XXXXX’: XXXXX the number of sent commands via the interface that have received negative acknowledgement ’ST09XXXXX’: XXXXX the number of correctly received commands via the host ’ST10XXXXX’: XXXXX the number of incorrectly received commands via the host ’ST11XXXXX’: XXXXX the number of sent commands via the host that have received positive acknowledgement ’ST12XXXXX’: XXXXX the number of sent commands via the host that have received negative acknowledgement ’ST13XXXXX’: XXXXX is the number of scans since the last read enable ’ST14XXXXX’: XXXXX is the number of read scans since the last reset ’ST15XXXXX’: XXXXX is the number of read scans since the last read enable ’ST16XXXXX’: XXXXX the number of read labels from the last scan ’ST17XXXXX’: XXXXX is the number of read enables since the last reset ’ST18XXXXX’: XXXXX the number of correctly decoded labels since the last reset ’ST19XXXXX’: XXXXX the number of incorrectly decoded labels since the last reset
BCL 40
Leuze electronic
Page 83
Leuze electronic 9.3.5
Communicating with the Device
"Online" Commands for Parameter Set Operations Test parameter set Command
’PA’
Description
Tests the given parameter set for validity using a checksum.
Parameter
’0’ ’1’ tests the current parameter set tests the customer-specific parameter set (MA 10 only)
TNT 35/7-24V
’Psx’ x: Status '0' valid parameter set '1' invalid message '2' invalid message length '3' invalid block check type Acknowledge'4' invalid block check checksum ment '5' invalid data length '6' invalid message data '7' invalid start address '8' invalid parameter set '9' invalid parameter type
Leuze electronic
BCL 40
81
Page 84
Leuze electronic
Communicating with the Device Copy parameter set Command
’PC’
Description
Copies the given source parameter set into the given target parameter set
Parameter
BCL 40 Stand alone: ’0’ Current parameter set. ’2’ parameter set with factory default settings.
Example
’PC20’: Reset to factory default settings BCL 40 with MA 10: ’0’ Current parameter set. ’1’ customer-specific parameter set. ’2’ parameter set with factory default settings.
Example
’PC20’: Reset to factory default settings ’PC01’: The current parameter set is copied in the customer-specific parameter set (backup) ’PC10’: Reset to customer-specific settings
’PSx’ x: Status '0' valid parameter set '1' invalid message '2' invalid message length '3' invalid block check type Acknowledge'4' invalid block check checksum ment '5' invalid data length '6' invalid message data '7' invalid start address '8' invalid parameter set '9' invalid parameter type
Notice! A valid parameter set operation must be acknowledged with ’PS0’. Should an error occur, the command should be repeated. Repeated error acknowledgements indicate an error in the parameter set. If in doubt, contact your Leuze sales or service office (see back page for addresses).
82
BCL 40
Leuze electronic