The text of a manual · part 15 of 17
Operating Instructions: CLV 42x Bar Code Scanner, Standard line: 10 Appendix, pages 120 to 128
Pages 120 to 128 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 120
Chapter 10
Appendix
Operating Instructions CLV 42x bar code scanner a) Dynamic teach-in procedure Configuring the dynamic teach-in procedure: •
Accompanying measure: change the reading pulse for teach-in
1.
Select the DEVICE CONFIGURATION tab.
2.
Click the DYNAMIC option in the TEACH-IN group.
3.
From the ASSIGNMENT SENSOR INPUT 2 drop-down list, choose the MATCHCODE TEACH-IN option.
4.
If necessary proceed as follows to activate the output filter in the CODE COMPARISON group: – Click the CODE #1 ACTIVE checkbox. – Click the FILTER FOR OUTPUT checkbox. – Click the CODE #1 ACTIVE checkbox again. The code comparison is now no longer permanently activated. The output filter, however, remains active.
5.
Click the READING TRIGGER PARAMETERS button.
6.
Click the SERIAL INTERFACE radio button in the READING TRIGGER SOURCE group.
7.
Click the RESULT OUTPUT PARMETERS button.
8.
In the dialog box under RESULT FUNCTIONS, choose the MATCH 1 option for Result 2 ("Result" LED) in the drop-down list.
9.
Select the CODE CONFIGURATION tab.
10. Activate the code type of the match code in the SYMBOLOGIES group. 11. Click the SYMBOLOGY PARAMETERS button. 12. Choose the code type tab and click the FREE radio button in the CODE LENGTH group. 13. Perform a download to the CLV. This is done by clicking The DOWNLOAD PARAMETER dialog box is displayed.
in the toolbar.
14. Confirm the dialog box by selecting the PERMANENT save option. Carrying out the dynamic teach-in procedure 1.
Click in the toolbar. The terminal emulator is launched. The CLV is in Reading mode.
2.
Close the switch to connect the power supply to the "Sensor 2" switching input.
3.
Click PARAMETERIZE under DEVICE MODE. The CLV switches to PARAMETER MODE.
4.
Click READING MODE under DEVICE MODE. The CLV returns to Reading mode and polls the condition of the "Sensor 2" switching input. It also activates code comparison at this time.
– or – As an alternative to steps 3 and 4, switch the power supply to the connection module (CLV) off and on again. The CLV outputs two consecutive tones to indicate that it has switched to Reading mode.
10-28
5.
Open the switch to interrupt the power supply to the "Sensor 2" switching input. The CLV activates teach-in mode for match code 1.
6.
Click the SW-TRIGGER ON button or press [F7]. The CLV starts the reading interval and waits for the match code.
7.
Present the match code.
© SICK AG · Division Auto Ident · Germany · All rights reserved
8 009 981/O078/16-08-2004
Page 121
Operating Instructions
Appendix
Chapter 10
CLV 42x bar code scanner
8.
Click the SW-TRIGGER OFF button or press [F8]. The CLV confirms that the read was successful by emitting a tone and then ends the reading interval. Match code 1 is now stored in the RAM.
9.
Close the switch to reconnect the power supply to the "Sensor 2" switching input. The CLV saves match code 1 (code type, code length, and data content) permanently in the parameter set stored in the EEPROM. It compares every bar code it reads with match code 1 until the power supply is switched off. In doing so, it outputs the result of the comparison via the "Result 2" output and "Result" LED with the predefined pulse length.
10. Keep the switch closed. The CLV will activate teach-in mode again if you open the switch! Replacing the match code: To replace the current match code 1 with a new match code using the teach-in method, simply repeat steps 5 to 9. Checking the programmed match code in the CLV: 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.
The code type and data content of match code 1 are shown in the CODE COMPARISON group on the DEVICE CONFIGURATION tab.
in the toolbar.
Resetting the reading pulse: 1.
Select the DEVICE CONFIGURATION tab.
2.
Click the READING TRIGGER PARAMETERS button.
3.
Click the current option in the READING TRIGGER SOURCE group in the dialog box.
4.
Perform a download to the CLV. This is done by clicking
5.
Confirm the dialog box by selecting the PERMANENT save option. The CLV then uses the reading pulse type that was set before the teach-in procedure.
in the toolbar.
b) Static teach-in procedure Configuring the static teach-in procedure: 1.
Select the DEVICE CONFIGURATION tab.
2.
Click the STATIC WITHOUT PHARMACODE, or STATIC WITH PHARMACODE to read a Pharmacode, in the TEACH-IN group.
3.
If necessary, click the WITH COUNTER RESET option in the COUNTER RESET group.
4.
From the ASSIGNMENT SENSOR INPUT 2 drop-down list, choose the MATCHCODE TEACH-IN option.
5.
If necessary proceed as follows to activate the output filter in the CODE COMPARISON group: – Click the CODE #1 ACTIVE checkbox. – Click the FILTER FOR OUTPUT checkbox. – Click the CODE #1 ACTIVE checkbox again. The code comparison is now no longer permanently activated. The output filter, however, remains active.
6.
8 009 981/O078/16-08-2004
Click the RESULT OUTPUT PARAMETERS button.
© SICK AG · Division Auto Ident · Germany · All rights reserved
10-29
Page 122
Appendix
Chapter 10
Operating Instructions CLV 42x bar code scanner
Note
7.
In the dialog box under RESULT FUNCTIONS, choose MATCH 1 in the drop-down list for Result 2 ("Result" LED).
8.
Perform a download to the CLV. This is done by clicking
9.
Confirm the dialog box by selecting the PERMANENT save option.
in the toolbar.
Before you can use the static teach-in method, the parameter sets in the RAM and EEPROM of the CLV must be identical. This is done with the PERMANENT saving option. If you select the TEMPORARY option instead, the CLV loads the default settings after the teach-in function has been carried out and the power supply switched off. Carrying out the static teach-in procedure: 1.
Click in the toolbar. The terminal emulator is launched. The CLV is in Reading mode.
2.
Close the switch to connect the power supply to the "Sensor 2" switching input.
3.
Click PARAMETERIZE under DEVICE MODE. The CLV switches to Parameter mode.
4.
Click READING MODE under DEVICE MODE. The CLV returns to Reading mode and polls the condition of the "Sensor 2" switching input. It also activates code comparison at this time.
– or – As an alternative to steps 3 and 4, switch the power supply to the connection module (of the CLV) off and on again. The CLV outputs two consecutive tones to indicate that it has switched to Reading mode. 5.
Open the switch to interrupt the power supply to the "Sensor 2" switching input. The CLV activates teach-in mode for match code 1. It starts the reading interval automatically and waits for the match code.
6.
Present the match code. The CLV confirms that the read was successful by emitting a tone and then ends the reading interval. Match code 1 is now stored in the RAM.
7.
Close the switch to reconnect the power supply to the "Sensor 2" switching input. The CLV saves match code 1 (code type, code length and data content) permanently in the parameter set stored in the EEPROM. It compares every bar code it reads with match code 1 until the power supply is switched off. In doing so, it outputs the result of the comparison via the "Result 2" output and "Result" LED with the predefined pulse length. If the CLV was not able to read the match code, the reading interval is terminated when the switch is closed. The previously set code configuration remains intact.
8.
Keep the switch closed. The CLV will activate teach-in mode again if you open the switch!
Replacing the match code: To replace the current match code 1 with a new match code using the teach-in method, simply repeat steps 5 to 7. Checking the programmed match code in the CLV: Proceed as described in steps 1 to 3 in "a) Dynamic teach-in procedure", Page 10-28. Activating/deactivating the code comparison via the "Sensor 2" switching input •
10-30
Prerequisite: assignment of the MATCHCODE TEACH-IN function to the "Sensor 2" switching input
© SICK AG · Division Auto Ident · Germany · All rights reserved
8 009 981/O078/16-08-2004
Page 123
Operating Instructions
Appendix
Chapter 10
CLV 42x bar code scanner
Activating the code comparison function: 1.
Close the switch before switching on the power supply to the CLV.
2.
Switch on the power supply. The CLV activates the code comparison function.
3.
Do not open the switch while the CLV is in operation.
Deactivating the code comparison function: 1.
Switch off the power supply to the CLV.
2.
Open the switch.
3.
Switch on the power supply. The CLV starts Reading mode without the code comparison.
Assigning output functions to the "Result 1", "Result 2" ("Result" LED) switching outputs and beeper CLV can output the result of the code comparison in the following functions: –
No match (code does not match either match code)
–
Match 1 (matches match code 1)
–
Mismatch 1 (does not match match code 1)
–
Match 2 (matches match code 2)*)
–
Mismatch 2 (does not match match code 2)*)
–
Match 1 or 2 (matches match code 1 or 2)
–
Match 1 and 2 (matches match code 1 and 2)*)
*)
only relevant if match code 2 is active
When configuring the teach-in function for match code 1, define the following settings: 1.
Select the DEVICE CONFIGURATION tab.
2.
Click the RESULT OUTPUT PARAMETERS button.
3.
Choose the required option for Result 1, Result 2 and beeper from the RESULT FUNCTIONS drop-down list.
4.
Perform a download to the CLV. This is done by clicking in the toolbar. Confirm the dialog box by choosing the PERMANENT storage option.
10.9.2
Auxiliary input via terminal interface
If the CLV cannot read a bar code in Reading mode (e. g. if there is no bar code on the object), the data content of the bar code can be sent subsequently to the host by using the AUXILIARY INPUT function. In this way, the sequence of reading results can be completed if necessary. The auxiliary input function uses the terminal interface of the CLV exclusively and features two options: • manual entry of the data content via the keyboard of a connected terminal or PC (Terminal Emulation function)
• entry of the bar code using a hand-held reader; forwarding to the CLV via an internal or external decoder of the device
Fig. 10-12 shows the flow of auxiliary input.
8 009 981/O078/16-08-2004
© SICK AG · Division Auto Ident · Germany · All rights reserved
10-31
Page 124
Chapter 10
Appendix
Operating Instructions CLV 42x bar code scanner
Data content + status ST = 7
Data content
Fig. 10-12: Auxiliary input via the terminal interface of the CLV
The CLV sends the data content of the bar code that it receives via the terminal interface to the host in the same format as the other reading results on the host interface. Each string can contain the data content from a bar code with a maximum length of 50 characters. The CLV automatically enters the status ST = 7 if the error status has been enabled for transfer. The values of the other reading diagnosis data in the data string are of no significance. To enable the CLV to receive the data content of the bar code on the terminal interface, you must switch the operating mode on the interface to "auxiliary input". 1.
Connect the PC to the terminal interface of the CLV using a 3-core RS 232 data cable (null modem cable) (CDB 420 or CDM 420: connect the PC to the internal, 9-pin "Aux" plug, see Chapter 5.5.6 Connecting the PC, Page 5-7.)
2.
Start "CLV Setup" on your PC. (See Chapter 10.4.3 Starting "CLV Setup", Page 10-10.)
3.
Choose the AUXILIARY INTERFACE tab.
4.
Choose the AUXILIARY INPUT option from the drop-down list.
5.
Perform a download to the CLV. To do so, click the AUXILIARY INPUT option again with the right mouse button and choose DOWNLOAD PARAMETER in the context menu. CLV-Setup copies the parameter to the CLV temporarily.
The terminal interface then operates temporarily in "Auxiliary Input" mode. Entering bar code using the terminal emulator in CLV Setup
10-32
1.
Click in the toolbar. The terminal emulator window is then displayed. The CLV is in Reading mode.
2.
Click the EXTENDED radio button in the TERMINAL MODE group. The start and stop characters used by the terminal emulator are displayed at the top of the screen, on the left and right of the text input field. Fig. 10-13, Page 10-33 shows the terminal emulator window in extended mode.
3.
Use the drop-down list to set the start and stop characters to NUL.
4.
Enter the data content of the bar code (character string) via the keyboard. Use the backspace key to correct input errors. The data content may not contain control characters.
© SICK AG · Division Auto Ident · Germany · All rights reserved
8 009 981/O078/16-08-2004
Page 125
Operating Instructions
Appendix
Chapter 10
CLV 42x bar code scanner
5.
Press [RETURN] or [ENTER]. The CLV then interprets all further characters as a new data string. CLV Setup sends the character string to the CLV and deletes the entry in the text field. The CLV does not send an echo.
6.
Once the active reading pulse has ended, the CLV sends the data received from the PC to the host via the host interface.
Fig. 10-13: CLV Setup: auxiliary input via the terminal emulator
Entering a bar code using a terminal/PC keyboard 1.
Connect the terminal/PC with Terminal Emulation program to the terminal interface on the CLV (via CDB 420 or CDM 420). See Chapter 5.5.6 Connecting the PC, Page 5-7. For the pin assignment, see Chapter 5.3 Connector pin assignment, Page 5-2.
2.
Set the communication parameters and data output format as shown in Table 10-6.
Parameter
Value
Data transfer rate
9,600 bd
Data bits
8
Parity none
Stop bits
1
Data output format
Data terminator, e.g. 1234 CR
Table 10-6: Communication parameters on the terminal/PC for the auxiliary input
8 009 981/O078/16-08-2004
3.
Enter the data content of the bar code via the keyboard. The terminal sends the individual characters to the CLV immediately. Use the backspace key to correct input errors.
4.
Terminate the data content with the control character <CR>. The CLV then interprets all further characters as a new data string. The CLV ignores other control characters. The data content itself must not contain any control characters.
5.
Once the active reading pulse has ended, the CLV sends the data received from the PC to the host via the host interface.
© SICK AG · Division Auto Ident · Germany · All rights reserved
10-33
Page 126
Chapter 10
Appendix
Operating Instructions CLV 42x bar code scanner
Entering bar codes using a hand-held scanner with integrated decoder 1.
Connect the hand-held scanner with decoder to the terminal interface of the CLV (via CDB 420 or CDM 420). For the pin assignment, see Chapter 5.3 Connector pin assignment, Page 5-2.
2.
Set the data format and communication parameters on the hand-held scanner as shown in Table 10-6.
3.
Read the bar code with the hand-held scanner. Once the active reading pulse has ended, the CLV sends the data received from the PC to the host via the host interface.
If you connect a SICK Hand-held Scanner from the IT 38xx/46xx/48xx/58xx series, set the communication parameters and data output (data and terminator) as shown in Table 10-7. Parameter
Value
Data transmission rate
9,600 bd
Data bits
8
Parity
No
Stop bits
1
Data interface
RS 232
Prefix (Header)
Clear all Prefixes
Suffix (Terminator)
CR
Table 10-7: Communication parameter settings for the SICK Hand-held Scanner from the IT 38xx/46xx/48xx/58xx series
10.9.3
Connection to Profibus DP
See “CMF 400-1x01 Field Bus Gateway for Profibus DP“ Operating Instructions (no. 8 010 462, English version) 10.9.4
Connection to DeviceNet
See “CMF 400-2101 Field Bus Gateway for DeviceNet“ Operating Instructions (order no. 8 010 464, English version) 10.9.5
Connection to Ethernet TCP/IP
See “CMF 400-3101 Field Bus Gateway for Ethernet TCP/IP“ Operating Instructions (order no. 8 010 735, English version) 10.9.6
Buildung up a CAN Scanner Network
See operating instructions "Application of the CAN interface" (order no. 8 009 180, English version)
10-34
© SICK AG · Division Auto Ident · Germany · All rights reserved
8 009 981/O078/16-08-2004
Page 127
Operating Instructions
Appendix
Chapter 10
CLV 42x bar code scanner
10.10 Replacing a CLV (copying the parameter set) There are two methods of replacing a CLV and transferring the current parameter set to the new device: • by using the profile bar codes
• by downloading the parameters from CLV Setup
The parameter set can only be transferred between identical device types (e.g. from one CLV 420 to another CLV 420, etc.). 10.10.1 Transferring the parameter set using the profile bar codes To transfer the parameter set using the profile bar codes, you do not need to connect the device to a PC. The parameter set of the CLV that is to be replaced must be available in the form of archived profile bar codes or at least as a configuration file in CLV Setup. Otherwise, the replacement device must be configured from scratch. The procedure for printing out the profile bar codes is described in Chapter 10.5.2 Profile programming, Page 10-19. 1.
Switch off the power supply of the CDB 420 or CDM 420 connection module (of the CLV).
2.
Disconnect the CLV connector from the CDB 420 or CDM 420 connection module.
3.
Remove the CLV from the bracket. Before doing so, mark the position and alignment on the bracket/station.
4.
Install, align, and connect the replacement device.
5.
Switch on the power supply to the CDB 420 or CDM 420. The "Device Ready" LED of the CLV lights up. The CLV outputs a tone to indicate that it is ready to read the profile bar codes.
6.
Present the first profile bar code within 5 seconds. The CLV confirms that the bar code has been read successfully by outputting a tone via the beeper and waits 10 seconds for the next profile bar code.
7.
Present all of the other profile bar codes consecutively in the printed sequence.
8.
Then allow the final wait time (10 seconds) to elapse. The CLV outputs two consecutive tones to indicate that it has switched to Reading mode.
The new CLV is now ready to use the transferred parameter set. Troubleshooting If the software version on the replacement (new) device is older than the version on the old device (e.g. new device is from warehouse stock), the profile bar codes may contain coded parameters or parameter values that cannot be interpreted by the older software of the replacement device. The CLV, however, reads all of the profile bar codes. But this does not indicate that the CLV can use all the parameters or parameter values. Use the CLV Setup program to check whether the new CLV is functioning correctly. To do so, connect the PC to the terminal interface on the CLV. Check whether all of the parameter settings used are necessary to configure the CLV for the current reading application. If necessary, replace the software version in the new device. If the software version on the new device is more recent than that on the old one, the default settings in the imported parameter set will include parameters that were not contained in the old version.
8 009 981/O078/16-08-2004
© SICK AG · Division Auto Ident · Germany · All rights reserved
10-35
Page 128
Chapter 10
Appendix
Operating Instructions CLV 42x bar code scanner
Upload the parameter set with the CLV Setup program and check whether the new parameters are relevant for configuring the CLV for the current reading application. If necessary, change the parameter values and download the parameter set to the CLV again. Save the new parameter set as a configuration file in CLV Setup and print it out as profile bar codes for archiving purposes. See also Chapter 10.4.10 Dealing with unknown parameters, Page 10-15. 10.10.2 Downloading the parameter set To download the parameter set, you must connect a PC running the CLV Setup software to the replacement device. The parameter set of the CLV that is to be replaced must be available as a configuration file in CLV Setup, otherwise the device must be configured from scratch. 1.
Switch off the power supply of the CDB 420 or CDM 420 connection module (of the CLV).
2.
Disconnect the CLV connector from the CDB 420 or CDM 420.
3.
Remove the CLV from the bracket. Before doing so, mark the position and alignment on the bracket/station.
4.
Install, align, and connect the replacement device.
5.
Connect the PC to the terminal interface of the CLV using a 3-core RS 232 data cable (null modem cable) (CDB 420 or CDM 420: connect the PC to the internal, 9-pin "Aux" plug, see Chapter 5.5.6 Connecting the PC, Page 5-7.).
6.
Switch on the power supply to the CDB 420 or CDM 420. 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.
7.
Switch on your PC and start Windows.
8.
Start "CLV Setup". If the communication parameters on the PC and CLV are identical, CLV Setup uploads the parameter set from the CLV and displays the values on the tabs.
9.
Open the archived parameter set as a configuration file "*.scl" in CLV Setup and download it to the CLV.
10. Confirm the dialog box by choosing the TEMPORARY storage option. 11. Check whether the CLV reads the bar codes correctly. Correct the parameter settings if necessary. 12. Finally, download the tested parameter set to the CLV and save it with the PERMANENT storage option. The parameter set is transferred permanently to the replacement device. 13. Save the modified parameter set as a new configuration file in CLV Setup. Troubleshooting If the software version on the replacement (new) device is older than the version on the old device (e. g. new device is from warehouse stock), the parameter set transferred may contain coded parameters or parameter values that cannot be interpreted by the older software. The new device, however, outputs an error message in CLV Setup for each of these parameters/parameter values when the parameter set is downloaded. Check whether all of the parameter settings used are necessary to configure the CLV for the current reading application. If necessary, replace the software version in the new device.
10-36
© SICK AG · Division Auto Ident · Germany · All rights reserved
8 009 981/O078/16-08-2004