The text of a manual · part 9 of 12
Bar Code Reader BCL 80 with Integrated Decoder, Connector Unit MA 10, Technical Description, pages 50 to 59
Pages 50 to 59 of 85: 8 Operation; 9 Configuration
The original document is the PDF (1.2 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 MA 10
Page 50
Leuze electronic
Operation
8
Operation
8.1
Display Elements
On the back side of the MA 10, there are 4 LEDs which display the momentary operating status LED RDY ERR ACT DEC
Colour green yellow red green
Meaning Ready Error Scanner active Decoding successful
Status conditions of the LEDs All four LEDs illuminate • for approx. 0.5 second after connecting the operating voltage. • after accepting a ’cold start’ reset (> 4 s) up until the reset button is released.
All four LEDs blink • if the connection between the MA 10 and BCL 80 is interrupted.
RDY blinks • during the 'Power On' function test.
RDY illuminates • when the devices are ready.
ERR illuminates • if a hardware error is encountered after the initialisation phase or in the case of a serious software error.
RDY and ERR blink simultaneously • when the setup program is activated. Notice: No read operations can be carried out. RDY and ERR blink alternately • when the 'autoConfig' function is activated by setting the corresponding DIP switch. • when a reference code is defined (Teach-In).
ACT illuminates • while the scanner is active, i.e. when the laser is in operation.
ACT blinks • if a warning is output during the 'autoControl' function.
DEC illuminates • for approx. 0.5 second after successfully completing a decoding process.
48
Technical Description BCL 80
Leuze electronic
Page 51
Leuze electronic 8.2
Operation
Important Functions During Operation
The BCL 80 has a function which automatically monitors the reading quality as well as the quality of the bar code label.
’autoControl’ function When the ’autoControl’ function is active, the BCL 80 constantly compares the total number of scans with the number of decoded scans. If the number of decodable scans falls below a user defined percent of the total scans, the MA 10 outputs a warning: • the ACT LED blinks. • a warning symbol can be output to the host. • a switched output can be controlled. A detailed description of all adjustable parameters can be found in Chapter 9.
8.3
Error Handling
Errors are visibly indicated on the MA 10 via the ERR LED (see Chapter 7.2). Further error, warning and status messages are transferred via the host interface or the terminal interface.
Types of errors Errors are divided up into the following types. • Warnings • Serious errors
Warnings indicate temporary operating faults which do not effect the proper functioning of the device.
Serious errors Serious errors impair the proper functioning of the device. The device must be reinitialised.
Troubleshooting Isolated warnings can be ignored, since the BCL will continue to function properly. After a serious error has occurred, you should reboot the system. The BCL will be reinitialised and should then function properly again. If a hardware problem is present, the BCL 80 will not reinitialise. If you are still unable to eliminate faults and errors, contact your local Leuze service office (addresses can be found on the back page of this operating manual).
Leuze electronic
Technical Description BCL 80
49
TNT 35/7-24V
Warnings
Page 52
Leuze electronic
Configuration
9
Configuration
9.1
Overview of Commands and Parameters
’Online’ commands can be used to send commands directly to the device for diagnosis and configuration. In order to use this feature, the BCL 80 /MA 10 must be connected to a host or service computer via the serial interface. The commands can be sent either via the host or the service interface. 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.
Syntax '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 '+': Active Transmitted is: 'CA+'
Notation Commands, command parameters and returned data are enclosed between single quotation marks ' '. Most online commands are acknowledged by the BCL 80 and any requested data returned. With commands that are not acknowledged, the results of carrying out the command can be observed or checked directly at the device.
50
Technical Description BCL 80
Leuze electronic
Page 53
Leuze electronic
Configuration
9.1.1 General ’Online’ Commands Software version number Command ’V’ Description Requests information about the software version Parameter none Acknowledgement ’BCL 80’ ’V 50.13’ ’22.06.97’ ’MA 10’ (only when a connector unit ’V 01.07’ MA 10 is installed) The device type appears in the first line followed by the software version number and date. The device type on the connector unit appears on the fourth line followed by the version number (the dates may be different than those shown here).
Note! Using this command, you can check whether the connected host or service computer is properly connected and configured. If an acknowledgement is not received, then the interface connections, protocol and service switch must be checked. Software reset Command Description
’H’ 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 none Acknowledgement ’S’ (Start character)
TNT 35/7-24V
Call the setup program Command ’E’ Description Calls the setup program. The main menu of the setup program is displayed. Parameter none Acknowledgement ’Load Parameter Set’ ’’ ’ Setup’ ’-------------------------------------------------’ ’ 1: Language’ ’ 2: Decode Setup’ ’’ ’Enter:’
Note! Read/write operations cannot be carried out in the service mode. The setup program must always be ended (see Chapter 9.2.1), in order to return to normal operation.
Leuze electronic
Technical Description BCL 80
51
Page 54
Leuze electronic
Configuration ’autoConfig’ Command Description
’CA’ 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 (see also Chapter 7.3.4). Parameter ’+’ activates ’autoConfig’ ’/’ rejects the last code read ’-’ deactivates ’autoConfig’ and stores the decoded data in the current parameter set. Acknowledgement xx yy zzzzzz (only with ’CA+’) Description xx Code type of the read code 01 = 2/5 Interleaved 02 = Code 39 03 = 2/5 IATA 04 = 2/5 INDUSTRIAL 06 = UPC (A,E) 07 = EAN 08 = Code 128 / EAN 128 09 = Pharmacode 10 = Add-On (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.
Reference code Command Description
’RS’ This command can be used to define a new reference code in the BCL 80 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. See Chapter 9.2.7 for reference codes. Parameter RSyxxzzzzzzz 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 (’01’, ’02’, ’03’, ’04’, 06’, ’07’, ’08’, ’09’, ’10’, ’11’, as above) ’z’ def. Code information (1 … 31 characters) Acknowledgement no Example input = 'RS10678654331' [Code 1 (1), UPC (06), 78654331]
52
Technical Description BCL 80
Leuze electronic
Page 55
Leuze electronic
Configuration
Teach-In Command Description
’RT’ This command enables a reference code to be defined quickly by reading an example label. See Chapter 9.2.7 for reference codes. Parameter ’1’ defines reference code 1 ’2’ defines reference code 2 ’-’ Exit the Teach-In process Acknowledgement zzzzzz Contents of the decoded label
Note! With this function, only code types are recognised that are identified using the ’autoConfig’ function or which were set in the setup. After each reading via a ’RT1’ or ’RT2’ 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 ’RT1’ or ’RT2’ command. Code recognition ’CC’ Reads the code type and contents of an unknown label without storing it in Setup. Parameter none Acknowledgement xx yy zzzzzz Description The acknowledgement is the same as that of the ’autoConfig’ function.
TNT 35/7-24V
Command Description
Leuze electronic
Technical Description BCL 80
53
Page 56
Leuze electronic
Configuration 9.1.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 none Acknowledgement none
Deactivate sensor input 1 Command Description
’-’ Deactivates decoding (sensor input 1). A signal can be simulated on sensor input 1 with this command. Parameter none Acknowledgement none
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 none Acknowledgement none
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 none Acknowledgement none
54
Technical Description BCL 80
Leuze electronic
Page 57
Leuze electronic
Configuration
9.1.3 ’Online’ Commands for System Testing Diagnosis laser Command Description Parameter
’DL’ Controls and tests the laser diode in the device. ’+’ switches on the laser diode. ’-’ switches off the laser diode. ’C’ outputs the laser current. Acknowledgement no ’DS33’ : invalid parameter for the command ’DL’ ’DS34’: invalid command length ’DLCyyy’ Description yyy is the laser current in mA
Diagnosis motor Command ’DMS’ Description Returns the rotary frequency of the polygon mirror wheel drive motor. Parameter none Acknowledgement ’DMSxxxxx’ Description xxxxx is the current rotary frequency of the motor in revolutions/minute.
Supply voltage
Leuze electronic
Technical Description BCL 80
TNT 35/7-24V
Command ’DUV’ Description Returns the supply voltage of the BCL 80. Parameter none Acknowledgement ’DUVxx.x’ Description xx.x is the current supply voltage in V.
55
Page 58
Leuze electronic
Configuration 9.1.4 ’Online’ Commands for Querying Statistical Data Query device statistics Command Description
’SR’ Returns the current contents of the given field of the statistical device data memory. Parameter ’00’ to ’19’ Acknowledgement ’ST00XXXXX’ to ’ST19XXXXX’ Description ’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 the number of recorded read processes since the last read enable ’ST14XXXXX’: XXXXX the number of read labels since the last reset ’ST15XXXXX’: XXXXX the number of read labels 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
56
Technical Description BCL 80
Leuze electronic
Page 59
Leuze electronic
Configuration
9.1.5 ’Online’ Commands for Parameter Set Operations Test parameter set Command Description Parameter
’PA’ Tests the given parameter set for validity using a checksum. ’0’ tests the current parameter set. ’1’ tests the customer-specific parameter set (MA 10 only). Acknowledgement all possible acknowledgements are listed below.
Copy parameter set Command Description Parameter Example
’PC’ Copies the given source parameter set into the given target parameter set BCL 80 Stand alone: ’0’ current parameter set. ’2’ parameter set with factory default settings. ’PC20’: Reset to factory default settings Parameter BCL 80 with MA 10: Examples ’0’ current parameter set. ’1’ customer-specific parameter set. ’2’ parameter set with factory default settings. ’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 Acknowledgement all possible acknowledgements are listed below.
Possible acknowledgements TNT 35/7-24V
Acknowledgement Description ’PS0’ valid parameter set ’PS1’ invalid message ’PS2’ invalid message length ’PS3’ invalid type of BCC check sum ’PS4’ invalid BCC check sum ’PS5’ invalid length of data ’PS6’ invalid message parameters ’PS7’ invalid start address in parameter set ’PS8’ invalid CRC check sum of parameter set ’PS9’ invalid type of parameter set
Note! 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).
Leuze electronic
Technical Description BCL 80
57