The text of a manual · part 8 of 17
Operating Instructions: CLV 42x Bar Code Scanner, Standard line: 6 Operation, pages 60 to 68
Pages 60 to 68 of 146, from Operating Instructions: CLV 42x Bar Code Scanner, Standard line
The original document is the PDF (3.7 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 Sick CLV420 and Sick CLV422
Page 60
Chapter 6
Operation
Operating Instructions CLV 42x bar code scanner
Function of the CAN interface (alternative): See Operating Instructions "Application of the CAN Interface" (no. 8 009 180, English version) Data Connection to the CMF 400 Fieldbus gateway: •
Choose the fieldbus system for each communication port HOST GATEWAY section and/or AUXILIARY GATEWAY section
•
Communication parameters for the selected fieldbus system
FIELDBUS GATEWAY tab FIELDBUS GATEWAY tab
Data output string of host/CAN interface: •
Select contents of the “Header“, “Code Info/Separator“, “Splitter“ and “Terminator“ blocks DATA STRINGS tab OUTPUT FORMAT section
•
Position of the „Code Info/Separator“ block in data output string CODE INFO/SEPARATOR section
•
Set no read format DATA STRINGS tab ERROR STRING section
•
If necessary, parameterize/activate test string STRING PARAMETERS section
•
If necessary, parameterize the integration of an external data string into the reading result DATA STRINGS tab TEST STRING section
•
Parameterize special functions
DATA STRINGS tab
READING DATA IN CASE OF ERROR section and DATA STRINGS tab
DATA STRINGS tab
EXTERNAL DATA
SPECIALS button f) Parameterizing auxiliary interface •
AUXILIARY INTERFACE tab
6.4.4
Configuring the CLV with AutoSetup
AutoSetup enables the reading and code configurations of the CLV to be adapted automatically to the application at hand. The following conditions must be fulfilled with regard to this: • one bar code (code type, code length)
• fixed reading distance
• conveyor belt off (static reading)
The CLV determines the code type, code length and the most favorable scanning rate for the bar code presented. This takes place in Free Running mode. Once AutoSetup has been completed successfully, the CLV copies the parameter values determined to its parameter set. All other code types and code lengths are then disabled. If AutoSetup was not completed successfully, the parameter set is not changed. The CLV does not read a Pharmacode or any EAN/UPC types in AutoSetup. It does not respond to an external reading pulse. AutoSetup can be activated in three different ways in the CLV: • via the user interface of CLV Setup
• by presenting profile bar code no. 10 (on the card supplied) to the optical interface (reading window). See Chapter 10.5.1 Activating AutoSetup with a profile bar code, Page 10-17.
• via a command string (via the serial interface). See Chapter 10.6 Configuring the CLV with command strings, Page 10-22.
While AutoSetup is running, the CLV outputs the step-by-step changes made to the parameter values in the search mode and the determined diagnosis data via the terminal
6-10
© SICK AG · Division Auto Ident · Germany · All rights reserved
8 009 981/O078/16-08-2004
Page 61
Operating Instructions
Operation
Chapter 6
CLV 42x bar code scanner interface in the form of a list. The list can be displayed, for example, in the terminal emulator of CLV Setup. Once AutoSetup has been completed, appropriate error messages are output for diagnosed malfunctions in the event of a no read. Explanation
AutoSetup procedure 1.
Starting at 400 Hz, the CLV increases its scanning frequency to 1,200 Hz in steps of 100 Hz. It evaluates the reading quality of 100 scans for each step.
2.
The CLV performs verification reads +/– 50 Hz around the scanning frequency with the highest reading quality.
3.
It then copies the optimum scanning frequency, the code type and code length to its parameter set.
Activating AutoSetup via the user interface of CLV Setup In CLV Setup, AutoSetup can be started by choosing the appropriate menu path, via the terminal emulator or as an executable device function (interactively). Due to the better display of the progressing procedure, we recommend starting AutoSetup via the terminal emulator. Preparing AutoSetup: 1.
Switch on the power supply of the CDB 420 or CDM 420 connection module (of the CLV). After the CLV has started, it emits a tone to indicate that the self-test was successful. After a short while, it outputs two consecutive tones to indicate that it has switched to reading mode. The "Device Ready" LED lights up.
2.
Upload the current parameter set from the CLV with CLV Setup (the parameter set initially contains the factory default settings). CLV Setup displays the current values on the tabs.
3.
AutoSetup overwrites important values in the current parameter set of the CLV. Save the existing parameter set as a configuration file "*.scl" in CLV Setup before you change the parameter settings. See Chapter 6.4.1 Configuring CLV with the user interface of CLV Setup, Page 6-4.
Performing AutoSetup:
8 009 981/O078/16-08-2004
1.
Click in the toolbar. The terminal emulator is launched. The CLV is in reading mode.
2.
Present the application-specific bar code to the CLV at the maximum reading distance for the application. Note the limits of the CLV here. See reading field diagrams in Chapter 10.2 Specification diagrams, Page 10-1. To prevent surface reflections, rotate the bar code towards the CLV approximately 15° away from the vertical axis. See Fig. 4-7, Page 4-5.
3.
Click AUTO SETUP under DEVICE MODE. The CLV cancels reading mode. The "Device Ready" LED is extinguished. The CLV then starts AutoSetup. The red scan line appears when the "Laser On" LED lights up.
4.
The CLV then runs AutoSetup and continuously displays the changes to the parameter values in the terminal emulator (Fig. 6-2, Page 6-12).
5.
The CLV confirms that AutoSetup has been completed successfully by outputting two consecutive tones via the beeper and activating the "Result" LED for 100 ms (default setting). To begin with, it only overwrites the appropriate parameter values in the RAM. The CLV returns to reading mode. The "Device Ready" LED lights up. The READING MODE
© SICK AG · Division Auto Ident · Germany · All rights reserved
6-11
Page 62
Chapter 6
Operation
Operating Instructions CLV 42x bar code scanner radio button in the terminal emulator is not, however, displayed as the active device mode again. The CLV only evaluates the presented code type and length the next time a bar code is read. 6.
Perform an upload from the CLV. This is done by clicking in the toolbar. CLV loads the current parameter set from the RAM of the CLV and displays the new values in the tabs.
7.
Perform a download to the CLV. This is done by clicking The DOWNLOAD PARAMETER dialog box is displayed.
8.
Confirm the dialog box by selecting the PERMANENT save option. The CLV saves the changes made to the parameter set permanently in the EEPROM.
9.
Close the terminal emulator.
with: Amp ScanFreq ReadRate CodeType CodeLen CodeStr Fig. 6-2:
in the toolbar.
= amplifier setting = scanning frequency = reading quality = code type = code length = data contents of the bar code
CLV Setup: AutoSetup displayed in the terminal emulator
AutoSetup canceled by the CLV in the event of a no read: If the CLV was not able to execute AutoSetup successfully, it cancels the search mode after the last increase made to the parameter values by outputting a long tone via the beeper. Depending on the reason for AutoSetup being terminated, it outputs one of the following error messages via the terminal Interface: "No valid code found" (no valid bar code found or reading quality less than 75 %) "Cancel AutoSetup" (AutoSetup terminates) – or – "More than one code found" "Cancel AutoSetup" (AutoSetup terminates)
6-12
© SICK AG · Division Auto Ident · Germany · All rights reserved
8 009 981/O078/16-08-2004
Page 63
Operation
Operating Instructions
Chapter 6
CLV 42x bar code scanner
The current parameter set in the CLV does not change. The CLV returns to reading mode. The "Device Ready" LED lights up. Running AutoSetup again: 1.
Click READING MODE under DEVICE MODE. The CLV switches to reading mode.
2.
Click AUTO SETUP under DEVICE MODE again. The CLV then starts AutoSetup.
3.
If AutoSetup is unsuccessful again, check whether the CLV is able to read the bar code correctly (reading distance, tilt, more than one bar code in the reading field).
Terminating AutoSetup prematurely: It is not possible to abort AutoSetup here. To prevent parameter values in the RAM of the CLV from being overwritten, move the bar code away from the reading field and wait for the CLV to output an error message (AutoSetup must not supply invalid settings). Checking parameter values stored in the CLV (after parameters are saved):
Note
1.
Switch the power supply of the connection module (of the CLV) off and on again.
2.
Perform an upload from the CLV. This is done by clicking
3.
Check the values in the READING CONFIGURATION and CODE CONFIGURATION tabs. Only one code type may be active on the CODE CONFIGURATION tab.
in the toolbar.
The CLV does not enter a real value in the parameter set for the parameter "Minimum Bar Width", as it is not able to determine any absolute dimensions. This is why the value displayed on the READING CONFIGURATION tab does not match the actual conditions. Checking the stored read and code configurations: Once AutoSetup has been completed successfully, check the CLV settings as follows:
8 009 981/O078/16-08-2004
1.
Click in the toolbar. The TERMINAL EMULATOR is launched. The CLV is in reading mode.
2.
Click PERCENT EVALUATION under DEVICE MODE. The dialog box for the distance configuration is then displayed.
3.
Confirm the dialog box with "OK". The CLV starts the percentage evaluation and displays the reading quality of each set of 100 scans continuously. See Chapter 6.5.2 Percentage evaluation, Page 6-17.
4.
Present the application-specific bar code at the distance taught in (at the minimum and maximum reading distance if the bar code in the application is in a variable reading range).
5.
Check the reading quality in the terminal emulator. This should be between 70 and 100 %.
© SICK AG · Division Auto Ident · Germany · All rights reserved
6-13
Page 64
Chapter 6
Operation
Operating Instructions CLV 42x bar code scanner
6.5
Operating modes and outputting the reading result
The following CLV operating modes/functions can be selected in CLV Setup: Standard operating mode •
Reading mode
For startup •
Percentage evaluation
•
Adjusting mode
For adapting device to application •
AutoSetup (automatic adaptation to reading conditions): See Chapter 6.4.4 Configuring the CLV with AutoSetup, Page 6-10.
•
Profile programming (configuration): See Chapter 10.5.2 Profile programming, Page 10-19.
•
Parameterization (configuration): See Chapter 6.4.1 Configuring CLV with the user interface of CLV Setup, Page 6-4.
•
Teach-in match code 1/activate match code comparison with "Sensor 2" switching input. See Chapter 10.9.1 Triggering the teach-in match code 1 via the "Sensor 2" switching input, Page 10-26.
•
Show CP-limits
For monitoring purposes/correcting faults •
Displaying and editing operating data
•
Reading diagnosis
•
Monitor host interface
•
Auxiliary input
•
Self-test
6.5.1
Reading mode (standard operating mode)
The CLV performs a self-test after it has been switched on. It is then set to the reading mode and confirms this by outputting two consecutive tones via the beeper. In the default setting, the "Sensor 1" switching input is the (external) trigger source of the reading pulse. The reading result is output by the CLV at the end of the reading pulse via the host interface (default setting) and terminal interface. The reading result of the terminal interface can be displayed in the CLV Setup terminal emulator. The CLV terminal interface must be set to the reading diagnosis mode for this purpose. This mode is selected for the default setting. The reading result of the terminal interface has a fixed, invariable format. The READING MODE can be called up by choosing VIEW in the menu bar or via the terminal emulator.
6-14
© SICK AG · Division Auto Ident · Germany · All rights reserved
8 009 981/O078/16-08-2004
Page 65
Operation
Operating Instructions
Chapter 6
CLV 42x bar code scanner
Displaying the reading result in the terminal emulator 1.
Click in the toolbar. The TERMINAL EMULATOR dialog box is then displayed.
2.
Click READING MODE under DEVICE MODE.
3.
Present the bar code pattern from Fig. 6-1, Page 6-3 to the CLV and activate the reading pulse. The "Laser On" LED lights up. The red scan line then appears. See also Chapter 6.3.1 Starting up the line/raster scanner with the factory default settings, Page 6-3.
4.
Terminate reading pulse. The CLV outputs a tone via the beeper to indicate that the reading result is displayed in the window of the TERMINAL EMULATOR. The "Result" LED lights up for duration of 100 ms (default setting).
Fig. 6-3 shows two examples of reading result output: "good read" and "no read". The reading result comprises the data contents of the bar code(s) and the reading diagnosis data. Fig. 6-4 explains the structure and function of the reading diagnosis data for good read, and Fig. 6-5 for no read. Note
The CLV only outputs several bar codes in the reading result of the host interface if the parameterized minimum and maximum number of bar codes is > 1, and several bar codes have been presented. The number of bar codes to be read/output for each reading interval can be selected on the CODE CONFIGURATION tab in the NUMBER OF CODES group. The reading result of the host interface can also be displayed. Chapter 6.5.7 Monitor host interface, Page 6-21 describes the procedure and the structure of the read result in the default setting.
Fig. 6-3:
8 009 981/O078/16-08-2004
CLV Setup: output of the reading result of the terminal interface in terminal emulator
© SICK AG · Division Auto Ident · Germany · All rights reserved
6-15
Page 66
Operation
Chapter 6
Operating Instructions CLV 42x bar code scanner
Successful read (good tead): TT =__660 ms MG =_26% n =_1 AK = 1 0123412345 C39 _72% ST = 0 CP =_49 CL = 10 CA = __5 CS = 187 CK=_26 DI = F with: 1st line: TT = MG = n = AK = 2nd line: 0123412345 = 3rd line: C39 = _72% = ST = CP = CL = CA = CS = CK = DI =
Fig. 6-4:
Reading interval time Long-term mean value of identification quality Number of recognized codelabels No. of distance configuration used Data content of the bar code ID: Code 39 Identification quality Read status (ST = 0, Good read) Code position Code length (character count) Scanning expenditure Code security Code continuity Decoding direction (F = scanning direction, R = opposite scanning direction)
Reading result of the terminal interface: structure for "good read"
No read: TT =__230 ms MG =__25% n =_0 AK = 1 no code!
with: 1st line: TT MG n AK 2nd line: no code! Fig. 6-5:
Note
= Reading interval time = Long-term mean value of identification quality = Number of recognized codelabels = No. of distance configuration used = No bar codes found!
Reading result of the terminal interface: structure for "no read"
In the reading mode, the CLV does not output the contents of the polling reflector. Triggering the reading pulse via the terminal emulator In the default setting, the "Sensor 1" switching input is the (external) trigger source of the reading pulse. For test purposes the reading pulse can also be triggered directly via the terminal emulator of CLV Setup. To do so, a different trigger source must be selected temporarily in the CLV.
6-16
1.
Choose the DEVICE CONFIGURATION tab.
2.
Click the READING TRIGGER PARAMETERS button. The READING TRIGGER PARAMETERS dialog box is then displayed.
3.
Click SERIAL INTERFACE under READING TRIGGER SOURCE.
4.
Perform a download to the CLV. To do so, click the SERIAL INTERFACE option again with the right mouse button and choose
© SICK AG · Division Auto Ident · Germany · All rights reserved
8 009 981/O078/16-08-2004
Page 67
Operating Instructions
Operation
Chapter 6
CLV 42x bar code scanner
DOWNLOAD PARAMETER in the context menu. CLV-Setup copies the parameter to the CLV temporarily. The serial interface has been activated as the trigger source of the reading pulse and is ready to receive appropriate commands (until the CLV is switched off). 5.
Click in the toolbar. The TERMINAL EMULATOR dialog box is then displayed. The CLV is in reading mode.
6.
Click the SW-TRIGGER ON button or press [F7]. CLV Setup sends a start command to the CLV. The "Laser On" LED lights up. The red scan line then appears.
7.
Present the bar code sample from Fig. 6-1, Page 6-3.
8.
Click the SW-TRIGGER OFF button or press [F8]. CLV Setup sends a stop command to the CLV. The "Laser On" LED is extinguished. The CLV switches off the laser diode. The CLV outputs a tone via the beeper to indicate that the reading result is displayed in the output window of the terminal emulator. The "Result" LED lights up for a duration of 100 ms (default setting).
6.5.2
Percentage evaluation
In the Percentage evaluation mode, the reading quality of bar codes which enter the reading field of the CLV and are not moved (conveyor off) is assessed. The CLV performs 100 scans in “Free Running“ mode and evaluates the reading quality. It outputs the reading result continuously every 2 s via the terminal interface. The reading results can be displayed in the terminal emulator of CLV Setup. The Percentage evaluation mode can be called up by choosing VIEW in the menu bar or via the terminal emulator. 1.
Click in the toolbar. The terminal emulator window is then displayed. The CLV is in reading mode.
2.
Click PERCENT EVALUATION under DEVICE MODE. The dialog box for choosing the distance configuration is then displayed.
3.
Confirm the dialog box with "OK". The "Device Ready" LED is extinguished. The CLV initiates the percentage evaluation and outputs the reading results continuously. An example is shown in Fig. 6-6, Page 6-18.
4.
Present the bar code pattern from Fig. 6-1, Page 6-3 and monitor the reading results in the terminal emulator window.
The behavior of the "Result" LED also indicates the reading quality:
8 009 981/O078/16-08-2004
–
LED is extinguished if reading quality is < 30 %
–
LED flashes twice per second if the reading quality is 30 % to 70 %
–
LED flashes five times per second if the reading quality is 70 % to 90 %
–
LED is lit continuously if the reading quality is > 90 %
© SICK AG · Division Auto Ident · Germany · All rights reserved
6-17
Page 68
Operation
Chapter 6
Operating Instructions CLV 42x bar code scanner
Fig. 6-6:
CLV Setup: display of the percentage evaluation in the terminal emulator
The output format of the reading result is the same as that of the reading mode. Fig. 6-4, Page 6-16 explains the structure and function of the reading diagnosis data. Note
Profile bar codes read by the CLV during the percentage evaluation do not cause any changes to be made to the parameter set and do not, therefore, affect the reading process either. The match code cannot be programmed (taught in) in the percentage evaluation mode. This is entered on the DEVICE CONFIGURATION tab. The match code 1 can also be programmed using the TEACH-IN method. The CLV outputs the data contents of the uncovered polling reflector with the identifier "REPO" in the percentage evaluation mode. 6.5.3
Adjusting mode
The Adjusting mode enables the center of the scan line to be optimally positioned on the bar code. Chapter 4.3.3 Auxiliary functions for adjustment, Page 4-8 describes the procedure for going about this after the Adjusting mode has been called up. The CLV does not output a reading result in this mode. The Adjusting mode can be called up by choosing VIEW in the menu bar, as a DEVICE FUNCTION via CLV 42X (interactively) or via the terminal emulator.
6-18
1.
Click in the toolbar. The terminal emulator window is then displayed. The CLV is in reading mode.
2.
Click ADJUSTING MODE under DEVICE MODE. The "Device Ready" LED is extinguished. The CLV cancels the reading mode and masks the scan line from position CP = 50 to position CP = 100.
3.
Choose READING MODE to exit the Adjusting mode. The CLV returns to reading mode. The "Device Ready" LED lights up.
© SICK AG · Division Auto Ident · Germany · All rights reserved
8 009 981/O078/16-08-2004