The text of a manual · part 7 of 17
Operating Instructions: CLV 42x Bar Code Scanner, Standard line: 6 Operation, pages 51 to 59
Pages 51 to 59 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 51
Operating Instructions
Operation
Chapter 6
CLV 42x bar code scanner
6
Operation 6.1
Overview of procedure for starting up the CLV
•
Start up the CLV with the factory default settings (Quick Start). With this configuration, the CLV can be operated without being connected to a PC.
•
Connect the PC. See Chapter 5.5.6 Connecting the PC, Page 5-7 and Chapter 10.4 Installation and operating instructions for the PC-based "CLV Setup" program, Page 10-7.
•
Configure (parameterize) the CLV for the desired application.
6.2
Default settings
Table 6-1, Page 6-2 shows an overview of the factory default settings of the CLV. The default parameters are such that the CLV can be put into operation either straight away or following a few minor adjustments. A PC is not required for startup with the default settings. The default settings of the parameters are stored permanently both in the CLV (ROM) and in the CLV Setup database. They can be loaded into the RAM of the CLV or displayed on the tabs of CLV Setup at any time. Displaying and printing out complete default settings in CLV Setup 1.
Choose FILE and SAVE AS, and enter a file name in the dialog window that appears. CLV Setup saves the current settings in a configuration file "*.scl".
2.
Click in the toolbar. CLV Setup loads the default settings from its internal database and displays them on the tabs.
3.
Click in the toolbar. The PRINT FILE dialog window is then displayed.
4.
If desired, a comment can be entered in the input field for the header of the printout. Confirm the dialog window with "OK". The PRINT dialog window for configuring the printer is then displayed.
5.
Edit the dialog window accordingly and confirm.
CLV Setup prints out all of the default settings in the form of a table. The header contains the company and user names that were entered during the CLV Setup installation routine.
8 009 981/O078/16-08-2004
© SICK AG · Division Auto Ident · Germany · All rights reserved
6-1
Page 52
Chapter 6
Operation
Operating Instructions CLV 42x bar code scanner
6.2.1
Default settings: line/raster scanner CLV 42x
Parameter
Default setting
Active code types
Code 39, 2/5 Interleaved, Code 128
Code length freely assignable (2/5 Interleaved: interval 4 to 50 characters)
Quiet zone
Start/stop ratio, automatic
Min./max. code position
0/100 CP
Multiple read
3
Min./max. no. codes
1
Scanning frequency
700 Hz
Min. reading distance
60 mm (2.36 in)
Reading pulse source
Start: "Sensor 1" switching input (active: high); end: "Sensor 1" switching input
"Sensor 2" switching input
Focus Control 1
"Sensor 1" switching input
Start and end of reading pulse (level: active high), debouncing 20 to 30 ms
Switching outputs
Not inverted; pulse duration: 100 ms
Status output function
Result 1: "Device Ready" (static), Result 2: "Good read"
Beeper
Status output function: "Good read", volume: low
Arrangement to host
Standalone
Output of the reading result
Host interface
Device number
1
Host interface (type)
RS 422/485
Protocol
NAK ; start character: STX, stop character: ETX
Transfer rate
9,600 bd
Data format
8 data bits; no parity; 1 stop bit
Output format
Good Read: Header: blank; Code-Info/Separator: blank; Terminator: blank; No Read: Code-Info/Separator and error string Error string: NOREAD
Output sorting in accordance with code position
Output time
Reading result: end of reading pulse
Test string not activated
Terminal interface Function
Code-Info/Separator: after code
RS 232; 9,600 bd; 8 data bits; no parity; 1 stop bit (values cannot be changed) Reading diagnosis
Table 6-1: Extract: Default parameter settings of the line/raster scanner CLV 42x
6-2
© SICK AG · Division Auto Ident · Germany · All rights reserved
8 009 981/O078/16-08-2004
Page 53
Operating Instructions
Operation
Chapter 6
CLV 42x bar code scanner
6.3
Quick start
A PC need not be connected when the CLV is operated with the factory default settings. Code 39, 2/5 Interleaved, and Code 128 are the default code types enabled (free code lenght, 2/5 Interleaved: interval 4 to 50 characters). 6.3.1
Starting up the line/raster scanner with the factory default settings
1.
Connect the CLV to the SICK CDB 420 or CDM 420 connection module.
2.
Connect the reading pulse sensor (e.g. photoelectric switch, switch) to the "Sensor 1" switching input of the CLV via the CDB 420 or CDM 420. See Chapter 5.5.7 Connecting the "Sensor 1" switching input, Page 5-8.
3.
Switch on the power supply to the CDB 420 or CDM 420. Once the CLV has started, it outputs a tone to indicate that the self-test was successfully completed. Shortly afterwards, it outputs two tones to indicate that it has assumed reading mode. The "Device Ready" LED lights up. The "Result 1" ("Device Ready") output switches.
4.
Start the reading pulse: block the light path of the photoelectric switch or close the switch. The "Laser On" LED lights up. The CLV switches the laser diode on and the red scan line appears.
5.
Present the bar code pattern from Fig. 6-1 to the CLV at the reading distance specified in Table 6-2.
6.
Align the bar code in such a way that the red scan line is almost at a 90° angle to the bars.
7.
End the reading pulse: unblock the light path of the photoelectric switch or open the switch. The "Laser On" LED is extinguished. The CLV switches off the laser diode. The CLV confirms that the bar code was read successfully by outputting a tone via the beeper. The "Result" LED lights up for duration of 100 ms. The "Result 2" (Good read) output switches for the duration of 100 ms.
The CLV can now be operated with the factory default settings. The device can be switched off without the configuration data being lost as no changes have been made to the parameter set.
0
Fig. 6-1:
1
2
3
4
1
2
3
4
5
Bar code pattern (code 39; module width 0.35 mm (13.8 mil); print ratio 2:1)
Device types
Scan procedure
Reading distance
CLV 420
Line/raster scanner approx. 200 mm (7.88 in)
CLV 421
Line/raster scanner approx. 250 mm (9.85 in)
CLV 422
Line/raster scanner approx. 100 mm (3.94 in)
Table 6-2: Reading distances for module width 0.35 mm (13.8 mil), default settings
8 009 981/O078/16-08-2004
© SICK AG · Division Auto Ident · Germany · All rights reserved
6-3
Page 54
Chapter 6
Operation
Operating Instructions CLV 42x bar code scanner
6.4
Configuration (parameterizing)
The CLV is configured locally in accordance with the application at hand. The read, evaluation and output characteristics can be parameterized as required. The factory default settings or an application-specific parameter set of the CLV are in effect before changes are made. The CLV supports four different configuration methods: •
Configuration via the "CLV Setup" program and the CLV Assistant (parameter values are set via the serial interface).
•
Configuration via AutoSetup (reading and code configurations for a bar code are adapted automatically via the optical interface (reading window)), see Chapter 6.4.4 Configuring the CLV with AutoSetup, Page 6-10.
•
Configuration via profile bar codes (parameter values are set via the optical interface (reading window)), see Chapter 10.5 Configuring the CLV with profile bar codes, Page 10-17.
•
Configuration via command strings (parameter values are set via the serial interface), see Chapter 10.6 Configuring the CLV with command strings, Page 10-22.
In Parameter mode, the CLV only outputs a reading result with AutoSetup. 6.4.1
Configuring CLV with the user interface of CLV Setup
To be able to use "CLV Setup", a PC has to be connected and the program installed on it. The procedure for connecting the PC to the CLV is described in Chapter 5.5.6 Connecting the PC, Page 5-7. Installation and startup of "CLV Setup" and operation of the user interface are described in the appendix. See Chapter 10.4 Installation and operating instructions for the PC-based "CLV Setup" program, Page 10-7. Transferring parameter sets between CLV Setup and the CLV Upload When the CLV is being parameterized, CLV-Setup runs in the offline mode. To be able to modify the current parameter set of the CLV, this first has to be loaded to CLV-Setup from the CLV. This procedure is referred to as an upload ("Upload from CLV") during which CLVSetup always loads a complete copy of the current CLV parameter set. This parameter set remains unchanged until it is overwritten by CLV-Setup. With the help of the context menu (right mouse button), only the parameter just edited can be loaded ("Upload parameter") or from version 3.6 all parameters of one tab or one dialog box ("Upload parameters of this view") from the CLV’s memory (RAM). Download Changes made to the current parameter set in CLV-Setup do not take effect until the parameter set has been transferred to the CLV. CLV-Setup always sends a copy of the complete parameter set to the CLV, i. e. all of the existing parameter values in the CLV are overwritten. The procedure for transferring and saving the parameter values in the CLV is referred to as a download ("Download to CLV"). With the help of the context menu (right mouse button), only the parameter just edited ("Download parameter") or from version 3.6 all parameters of one tab or one dialog box ("Download parameters of this view") will be temporarily loaded into the CLV’s memory (RAM). To finish the parametrization done by this way all parameters must be download again to the CLV with the "Permanent" option.
6-4
© SICK AG · Division Auto Ident · Germany · All rights reserved
8 009 981/O078/16-08-2004
Page 55
Operating Instructions
Operation
Chapter 6
CLV 42x bar code scanner
Loading complete parameter set from the CLV (upload) Click in the toolbar. CLV Setup loads the current CLV parameter set from the RAM of the CLV to its database and displays the values on the tabs. The "Device Ready" LED is extinguished during the upload. If the "CLV Setup" program does not recognize the parameters transferred during the upload, it outputs a warning. Unknown parameters can be edited on the EXTRAS tab by following the conventions for command strings. When the parameter set is saved, these parameters are also taken into account. Transferring the complete parameter set to the CLV and saving it (download) 1.
2.
Click in the toolbar. The "Device Ready" LED is extinguished. CLV Setup copies the parameter set to the RAM of the CLV. The DOWNLOAD PARAMETERS dialog window with the save options is then displayed. PERMANENT:
CLV Setup copies the parameter set to the RAM and to the EEPROM of the CLV.
TEMPORARY:
CLV Setup copies the parameter set to the RAM only. The changes are lost when the CLV power supply is switched off.
Confirm the dialog box with the desired save option.
The "Device Ready" LED lights up again. The new parameter set is saved in the CLV, permanentely or temporarily dependent on the selected option. Saving the parameter set in CLV Setup 1.
To save the modified parameter set as a new configuration file in CLV Setup, or to overwrite an existing file, choose FILE and SAVE AS. The SAVE AS dialog window is then displayed.
2.
Enter the file name in the dialog window (file extension "*.scl") and confirm the entry.
The new parameter set is now saved in CLV Setup in the subdirectory "data". 6.4.2
Function of tabs in CLV Setup (overview)
Reading Configuration This tab (and additional dialog windows) are used to set the following: •
Scanning frequency and min. reading distance
•
Quiet zone
•
Adapting the reading function to the quality of the bar code
•
Limitation of the evaluation range of the scan line
•
Activation of dynamical reading configurations
Device Configuration This tab (and additional dialog windows) are used to set the following:
8 009 981/O078/16-08-2004
•
Device number
•
Source of the reading pulse
•
Output time of the reading result referred to the start of the reading pulse
•
Laser timeout
•
Encoder parameters
© SICK AG · Division Auto Ident · Germany · All rights reserved
6-5
Page 56
Operation
Chapter 6
Operating Instructions CLV 42x bar code scanner
•
Output filter
•
Physical arrangement for data output via the host interface (standalone, master/slave)
•
Functional assignment of the "Sensor 2" switching input
•
Functional assignments of the "Result 1" and "Result 2" switching outputs
•
Functional assignment and volume of the beeper
•
Mode for programming match code 1 (teach-in) via the "Sensor 2" switching input
•
Code comparison
Code Configuration This tab (and additional dialog boxes) are used to set the following:
Recommendation
•
Activation of evaluation routines for individual code types
•
Number of identical reads (multiple reads)
•
Minimum and maximum number of bar codes to be read/output
•
Activation of comparison of code position for the separation of identical bar codes
To enhance the reading reliability with fast applications, only activate those code types and code lengths that are actually relevant. Host Interface This tab (and additional dialog boxes) are used to set the following: •
Destination of result output
•
Active physical interface (RS 422/485, RS 232)
•
Data format and transfer rate
•
Data transfer protocol
•
Start and stop characters of the interface protocol
Data Strings This tab (and additional dialog boxes) are used to set the following: •
Data output format of the host or CAN interface
•
Constants and reading diagnosis data in the “Header“, “Code Info/Separator“, “Splitter“ and “Terminator“ blocks
•
Arrangement of the “Code Info/Separator“ blocks in the data string
•
Output format for no reads and contents of the error string
•
Test string function
•
Output sequence and sort criteria for reading more than one bar code per reading pulse
•
Activation and structure of format mask
•
Structure of external data strings which have to be integrated as seperate reading results
Auxiliary Interface This tab is used to set the following: •
Operating mode of the terminal interface
CAN Interface This tab (and additional dialog boxes) are used to set the following:
6-6
•
Operating mode of the CAN interface
•
Data transfer rate
© SICK AG · Division Auto Ident · Germany · All rights reserved
8 009 981/O078/16-08-2004
Page 57
Operation
Operating Instructions
Chapter 6
CLV 42x bar code scanner
•
Type of logical data network of connected CLVs
•
Use of switching inputs/outputs of the CLV as CANopen Digital I/O
Fieldbus Gateway This tab (and additional dialog boxes) are used to set the following: •
Data interface of the CLV to be connected to the gateway in the CDM 420
•
Type of fieldbus
•
Special fieldbus parameters
Extras This tab is used to edit parameters that were not recognized by CLV Setup after an upload. Note
The online "CLV Setup Help" contains a detailed description of the functions of the parameters and their valid entries. See Chapter 10.4.8 Online help – CLV Setup Help, Page 10-14. 6.4.3
Parameterization guide
Overview of parameterization procedure •
Parameterize optical reading characteristics of the scanner
•
Set up reading pulse
•
Parameterize the evaluation characteristics of the decoder
•
Parameterize output characteristics (data, result status)
•
Define the function of the terminal interface
When the CLV is started up for the first time, the factory default settings are in effect. The following parameters must then be set: a) Parameterizing optical reading characteristics
8 009 981/O078/16-08-2004
•
Scanning frequency
READING CONFIGURATION tab
READING PARAMETERS section
•
Min. reading distance
READING CONFIGURATION tab
MINIMUM DISTANCE section
•
Quiet zone
•
Poor quality bar code print READING CONFIGURATION tab CODELABEL QUALITY section. Alternative: Enable Dynamic Reading Configuration READING CONFIGURATION tab DYNAMIC READING CONFIGURATION ACTIVE
•
Limite evaluation range of scan line section
READING CONFIGURATION tab
QUIET ZONE section
READING CONFIGURATION tab
© SICK AG · Division Auto Ident · Germany · All rights reserved
CODE POSITION
6-7
Page 58
Chapter 6
Operation
Operating Instructions CLV 42x bar code scanner b) Parameterizing reading pulse source Action
Settings
1. Reading pulse: choose source for start
DEVICE CONFIGURATION tab READING TRIGGER PARAMETERS button READING TRIGGER SOURCE section – Sensor Input (Active High) or – Sensor Input (Active Low) or – Serial Interface or – Free Running with Timeout or – Reflector Polling
2. Pulse source "Sensor Input 1": Select debouncing and response at first trigger
READING TRIGGER PARAMETERS button DEBOUNCING SENSOR section – Standard or – Fast or – User defined FIRST TRIGGER section – Edge or – Level
3. Pulse source "Serial Interface": choose trigger character
READING TRIGGER PARAMETERS button SERIAL INTERFACE section – Standard Trigger or – Single Character
4. Pulse source "Free Running": choose timeout
READING TRIGGER PARAMETERS button END OF LABEL/FREE RUNNING section – Timeout
5. Pulse source "Continuous Read": choose timeout
READING TRIGGER PARAMETERS button END OF LABEL/FREE RUNNING section – Timeout
6. Reading pulse: choose source for end
READING TRIGGER PARAMETERS button END OF READING INTERVAL section – Generated by Trigger Source or – Timer
7. Pulse source "Sensor Input 1": choose source for end
READING TRIGGER PARAMETERS button ASSIGNMENT OF SENSOR INPUTS section SENSOR 2 listing field – Reading trigger stop (active high) or – Reading trigger stop (active low)
Table 6-3: Guide: parameterizing reading pulse source c) Parameterizing laser timeout Action
Settings
1. Select the duration for the laser timeout
DEVICE CONFIGURATION tab READING TRIGGER PARAMETERS button LASER TIMEOUT section – Duration
2. Deactivate the laser timeout (laser diode is always active when pulsing, regardless of the pulse duration)
LASER TIMEOUT section – Click (deactivate) the ACTIVE checkbox
Table 6-4: Guide: parameterizing laser timeout
6-8
© SICK AG · Division Auto Ident · Germany · All rights reserved
8 009 981/O078/16-08-2004
Page 59
Operating Instructions
Operation
Chapter 6
CLV 42x bar code scanner d) Parameterizing evaluation characteristics •
Activate code types for evaluation and SYMBOLOGY PARAMETERS button
•
Activate code comparison
•
Mode for TEACHING IN match code 1 via the "Sensor 2" switching input CONFIGURATION tab TEACH-IN section
•
Set output time of the reading result DEVICE CONFIGURATION tab PARAMETERS button output for GOOD READ section
CODE CONFIGURATION tab
DEVICE CONFIGURATION tab
SYMBOLOGIES section
CODE COMPARISON section DEVICE
READING TRIGGER
Separation of identical bar codes (same code type/identical contents) No. of bar codes per object
Line/raster scanner
1. Number n = 1
CODE CONFIGURATION tab CODE POSITION section – Deactivate COMPARE!
2. Number n > 1: – Same code type – Contents different or identical
CODE POSITION section – Activate COMPARE! NUMBER OF CODES section – MINIMUM – MAXIMUM
3. Number n > 1: – Code type different – Contents different or identical
CODE POSITION section – Deactivate COMPARE! NUMBER OF CODES section – MINIMUM – MAXIMUM
Table 6-5: Guide: settings to be made for the evaluation of identical bar codes e) Parameterizing output characteristics Result status: •
Define function of result status output of "Result 1" and "Result 2" switching outputs DEVICE CONFIGURATION tab RESULT OUTPUT PARAMETERS button
•
Define function of result status output and volume of beeper DEVICE CONFIGURATION tab RESULT OUTPUT section and READING OUTPUT PARAMETERS button
Main data interface (general): •
Destination of the reading result STRINGS section
•
Filter reading result
DEVICE CONFIGURATION tab
•
Sort reading result
DATA STRINGS tab
•
Masking of the reading result
HOST INTERFACE tab
DESTINATION OF RESULT DATA
ODETTE FILTER section
OUTPUT SEQUENCE SORT section
DATA STRINGS tab
FORMAT MASK section
Host Interface:
8 009 981/O078/16-08-2004
•
Arrangement in the data network
•
Physical interface
•
Communication parameters
•
Protocol
DEVICE CONFIGURATION tab
HOST INTERFACE tab
HOST INTERFACE tab
ARRANGEMENT section
DATA FORMAT section
HOST INTERFACE tab
DATA FORMAT section
INTERFACE PROTOCOL section
© SICK AG · Division Auto Ident · Germany · All rights reserved
6-9