Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 14 of 17

Operating Instructions: CLV 41x Bar Code Scanner, Standard line: 10 Appendix, pages 109 to 117

Pages 109 to 117 of 142, from Operating Instructions: CLV 41x Bar Code Scanner, Standard line

The original document is the PDF (2.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 Sick CLV410, Sick CLV412 and Sick CLV414

Page 109

Appendix

Operating Instructions

Chapter 10

CLV 41x bar code scanner

The CLV then uses the new parameter values. Performing profile programming in the Reading mode 1.

Start the reading pulse: block the light path of the photoelectric switch or close the switch (default setting: block the polling reflector). The "Laser On" LED lights up. The red scan line then appears.

2.

Present the first profile bar code in the printed sequence (or the desired profile bar code from the card). Fold the printout/card in such a way that only one profile bar code is visible at any one time. 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. It copies the new parameter value(s) to the current parameter set in the RAM.

Continue profile programming from Step 3 in Performing profile programming after switching on the power supply, Page 10-18. Note

When the profile bar code is presented to the CLV, note that the changes caused by the new parameter values in the RAM can have an immediate effect on the reading characteristics of the CLV. Under unfavorable conditions, the CLV will only be able to read profile bar codes with great difficulty or not at all. Changes to the active evaluation range of the scan line (min./max. CP-value) and to increase in the scanning frequency via profile bar code must, therefore, be handled with care. When changing the reading pulse type, we recommened that you present the corresponding profile bar code (3 LT ...) last so that reading of further profile bar codes in free-running mode is not interrupted. If the CLV is not able to read any further profile bar codes, it must be corrected accordingly on the tabs via the user interface of CLV Setup. A PC must be connected to the CLV for this purpose. Canceling profile programming ¾

Switch off the power supply of the CLV within 10 seconds of presenting the last profile bar code. The temporary changes to the current parameter set in the RAM are lost. After the power supply has been switched on again, the CLV uses the values from the last parameter set that was stored permanently.

Printing profile bar codes Profile bar codes are created and printed out via the user interface of CLV Setup. It is not necessary to connect a PC to the CLV if the current parameter set of the CLV has been saved as a configuration file "*.scl" in CLV Setup. CLV Setup creates a minimum set of profile bar codes using the parameter values in the tabs and the default settings of the CLV. This comprises: • a standard profile (all codes types active or all code types locked)

• a host interface profile

• a greater or smaller number of profile bar codes depending on the difference between the two above-mentioned profiles and the current setting of the entire parameter set.

CLV Setup prints out the bar codes in a defined sequence. The size, position and number of codes on the page can be set.

8 009 974/O079/01-09-2004

© SICK AG · Division Auto Ident · Germany · All rights reserved

10-19

Page 110

Chapter 10

Appendix

Operating Instructions CLV 41x bar code scanner

1.

Open the configuration file "*.scl" of the current parameter set. CLV Setup displays the parameter values of the CLV on the tabs.

2.

If desired, make any necessary changes to the parameter set. Save the new parameter set in the configuration file "*.scl" under a new name.

3.

In the menu bar, choose PROFILES and CONFIGURE PRINTING. Confirm the print option default settings for the profile bar codes or define new ones (see below).

4.

In the menu bar, choose PROFILES and PRINT PROFILES. CLV Setup determines the required number of bar codes. The PRINT dialog box is then displayed.

5.

Specify the number of printouts. Define the page format if necessary. For this purpose, click the PROPERTIES button. Relatively long profile bar codes must be printed in landscape format!

6.

Confirm the dialog box with "OK". CLV Setup then prints out the profile bar codes.

Defining print options for profile bar codes 1.

In the menu bar, choose PROFILES and CONFIGURE PRINTING. The BARCODE PRINTING OPTIONS dialog box is then displayed.

2.

Choose the desired print options in the BARCODE and PAGE LAYOUT tabs and confirm the dialog box. CLV Setup then asks if the print options are to be saved.

3.

To save the print options, confirm this prompt with "OK". The SAVE SETTINGS AS... dialog box is then displayed.

4.

Enter a file name in the "*.prf" format: Confirm the dialog box with SAVE. CLV Setup saves the print options in a configuration file in the directory CLV.

The default settings of the print options are active when CLV Setup is started. Preprinted profile bar codes The enclosed card no. 8 008 085 ("Configuration Profiles for CLV 41x Bar Code Scanners") contains 12 preprinted profile bar codes. They can be used to parameterize tested settings or to trigger specific functions (e.g. AutoSetup). To print the bar codes as PDF file from the CD ROM („Manuals & Software“), select the “Programming Profile Bar Codes“ folder in the list on the top left of the start page. The individual segments of the card can be folded in such a way that the CLV only reads the desired profile bar code. The profile bar codes are explained in Table 10-3, and the functions of the individual parameters in "CLV Setup Help". Bar code

Function

Profile 1

Default setting of CLV for all parameter values. Code configuration: all code types, except for Pharmacode, enabled for evaluation. Overwrites a code configuration created by AutoSetup!

Profile 2

Only changes configuration of host interface: – Data transfer rate: 38,400 bd – Data format: 8 data bits, no parity, 1 stop bit – Handshake: none

Table 10-3: Functions of preprinted profile bar codes on card no. 8 008 085

10-20

© SICK AG · Division Auto Ident · Germany · All rights reserved

8 009 974/O079/01-09-2004

Page 111

Operating Instructions

Appendix

Chapter 10

CLV 41x bar code scanner

Bar code

Function

Profile 3

Only changes configuration of host interface: – Activation of RS 422/485 interface – SICK network protocol (standard) – Data transfer rate: 38,400 bd – Data format: 7 data bits, parity odd, 1 stop bit – Device number: 99

Profile 4

Only changes configuration of host interface: Reading result is output as soon as evaluation criteria are fulfilled

Profile 5

Only changes configuration of host interface: – Output of error status "ST" in the "Separator" block – Output of CLV: <CR> <LF> in the "terminator" block (jumps to start of new line after each code)

Profile 6

Parameterizes CLV as master in master/slave configuration – No. of slaves: 1 – Timeout: automatic

Profile 7

As profile 6, but no. of slaves: 2

Profile 8

Parameterizes CLV as slave in master/slave configuration

Profile 9

Parameterizes CLV for pass-through mode: output of " / " and device number in header

Profile 10

Starts and ends CLV AutoSetup

Profile 11

Resets the host interface parameters to the default setting temporarily: – Data transfer rate: 9,600 Bd – Data format: 8 data bits, no parity, 1 stop bit

Profile 12

Terminates the temporary default setting of the host interface parameters. Returns the host interface parameters to the previous values

Table 10-3: Functions of preprinted profile bar codes on card no. 8 008 085 (contd.)

8 009 974/O079/01-09-2004

© SICK AG · Division Auto Ident · Germany · All rights reserved

10-21

Page 112

Appendix

Chapter 10

Operating Instructions CLV 41x bar code scanner

10.5

Configuring the CLV with command strings

The CLV can be parameterized and operated via the host interface. Parameters that are not recognized by CLV Setup can also be used by following the conventions for command strings. This enables special devices, for example, to be parameterized and new CLV parameters to be configured which may not be recognized by the CLV Setup program if this is older than the software on the CLV. The CLV Setup user interface is based on the command language. The command language accesses the CLV command interpreter directly. It must be used carefully. The commands sent to the CLV are executed immediately. Parameter values that have been changed by commands are initially only active in the current parameter set in the RAM of the CLV. Using a special command, the modified parameter set must also be copied to the EEPROM so that it is stored permanently. Otherwise, the changes will be lost when the power supply is switched off. The Online mode of the terminal emulator in CLV Setup enables the CLV to be parameterized directly with command strings. Fig. 10-9 contains the initial screen of the terminal emulator with the command field and output window which shows how the PC and CLV communicate with each other. Note

If the CLV does not responds after starting CLV Setup (message “no connection!“ in the status bar on the bottom, right-hand side) CLV Setup could not establish communication via the host interface 2 of the CLV. ¾

To establish the communication carry out the procedure described in Chapter 10.3.3 Starting "CLV Setup", Page 10-8, Troubleshooting.

Entering commands in CLVSetup 1.

Click in the toolbar. The Terminal Emulator window is then displayed. The CLV is in Reading mode.

2.

Click PARAMETERIZE under DEVICE MODE. The CLV cancels Reading mode. The "Device Ready" LED is extinguished. CLV Setup switches the CLV to the Parameter mode by issuing an appropriate command. In the Parameter mode, all commands begin with the number "3".

3.

Enter the desired command in the command field ➀ and press the [Return] key. The command is then sent to the CLV. With a few exceptions, the CLV replies to a command with correct syntax with an echo. Example: Entering "3?LT" causes the CLV to output the parameter values of the reading pulse in encoded form in the output window ➁.

10-22

© SICK AG · Division Auto Ident · Germany · All rights reserved

8 009 974/O079/01-09-2004

Page 113

Appendix

Operating Instructions

Chapter 10

CLV 41x bar code scanner

➀

➁

Fig. 10-9:

4.

Note

CLV Setup: entering commands in the terminal emulator

To return to Reading mode click the READING MODE radio button. The “Device Ready“ LED lights up.

Changes that are made directly to parameter values in the CLV using command strings are only registered and displayed in CLV Setup after the current parameter set has been uploaded from the CLV. A list of command strings is available on request. Outputting command strings for all the parameter settings You can output a list of all the parameter settings configured with CLV Setup in ASCII format. To do so, proceed as follows: 1.

In the menu bar, choose EXPORT PARAMETERS under CLV 41x. Starting from the default settings, CLV Setup collects all the command strings required to parameterize the default configuration and customized settings. The SELECT FILE NAME FOR PARAMETER EXPORT dialog box is displayed.

2.

Enter a file name and click the SAVE button. CLV Setup saves the data as a text file in the directory shown.

You can open this text file using any Windows text editor. If the commands are sent from the host/PLC to the CLV for configuration, note that "3 EEW" has to be sent as the last command to ensure that they are permanently transferred to the CLV (EEProm).

8 009 974/O079/01-09-2004

© SICK AG · Division Auto Ident · Germany · All rights reserved

10-23

Page 114

Chapter 10

Appendix

Operating Instructions CLV 41x bar code scanner

10.6

Calculating parameter values for setting the CLV

10.6.1

Calculating the number of scans

The maximum number of scans possible for a bar code depends on the conveyor velocity v. Line scanner: ladder-type bar code arrangement Line scanner: side reading at object s v = -t lS ls v = -----------------------; n × t scan

1 t scan = --f ls v = --- × f n ls n = --- × f v v

Specifications: Number of scans n = ? Conveyor velocity v = 1.5 m/s Bar length lS = 20 mm (0.8 in) Scanning frequency f = 600 Hz Barcode 100 % readable

0,02 m n = ---------------------- × 600/s 1,5 m/s n=8

Fig. 10-10: Line scanner: calculating the number of scans for ladder-type bar code arrangements

Line scanner: fence-type bar code arrangement Line scanner: side reading at object

Ic s v = -t ( l LH – l c ) 1 v = -----------------------;t = --n × t scan scan f

ILH v Specifications: Number of scans n = ? Conveyor velocity v = 2 m/s Code length with rest zone lC = 150 mm (5.9 in) Reading field height lLH = 400 mm (15.8 in) Scanning frequency f = 600 Hz Bar code 100 % readable, all scans on the code window s = lLH -lC

( l LH – l c ) v = ----------------------- × f n ( l LH – l c ) n = -------------------- × f v ( 0,4 – 0,15 ) m n = -------------------------------------- × 600/ s 2 m/s n = 75

Fig. 10-11: Line scanner: calculating the number of scans for fence-type bar code arrangements

10-24

© SICK AG · Division Auto Ident · Germany · All rights reserved

8 009 974/O079/01-09-2004

Page 115

Appendix

Operating Instructions

Chapter 10

CLV 41x bar code scanner

10.7

Tables

10.7.1

Calculating code length of a bar code

The code length of a bar code is the number of used characters in the printed code including the check digit (if present). This code length must be specified in CLV Setup. If the code type of a bar code is known, the code length can be calculated by counting the bars and gaps. The relevant formulas are provided in Table 10-4. 1.

Count the bars and gaps as specified in Table 10-4. Do not forget to include the start and stop characters.

2.

Calculate the code length using the formula in the table.

3.

Enter the value in CLV Setup as described in column 4 of the table.

Code type

Count

Calculation of code length1) 2)

Entry in CLV Setup

Code 39

Number of bars

Number – 10 ICode =, - - - - - - - - 5

Calculated code length

2/5 Interleaved

Number of wide elements (bars and gaps)

Number – 1 ICode =, - - - - - - - - 2

Calculated code length

EAN not applicable

13 characters (normal version) 8 characters (short version)

Activate 13-digit Activate 8-digit

UPC not applicable

12 characters (UPC A, normal version) 6 characters (UPC E, short version)

Activate version A Activate version E

Codabar

Number of bars

Number – 8 ICode =, - - - - - - - - 4

Calculated code length

Code 128 (character set A)

Number of bars

Number – 10 ICode =, - - - - - - - - 3

Calculated code length

Code 93

Number of bars plus separator after the stop character

Number – 13 ICode =, - - - - - - - - 3

Calculated code length

EAN 128

Number of bars

Number – 10 ICode =, - - - - - - - - 3

Calculated code length

Pharmacode

Number of bars

Number

Number = code length

1)

Check digit optional with Code 39, 2/5 Interleaved, Codabar. Check digit always integrated in printed bar code with EAN, UPC, Code 128, Code 93, EAN 128 (suppressed automatically when the CLV reading result is output)

2)

With only a few exceptions, every printed character to be decoded corresponds to an ASCII character. With Code 39 extended, Code 93, Code 128 and EAN 128, the number of characters in the data string of the CLV can be larger than the number of characters in the printed code because it comprises several character sets.

Table 10-4: Formulas for calculating the code length of a bar code

8 009 974/O079/01-09-2004

© SICK AG · Division Auto Ident · Germany · All rights reserved

10-25

Page 116

Chapter 10

Appendix

Operating Instructions CLV 41x bar code scanner

10.8

Special applications and procedures

10.8.1

Triggering the teach-in match code 1 via the "Sensor 2" switching input

In Reading mode, the CLV compares up to two match codes with the bar codes it recorded in the reading pulse. The result status of the code comparison is signaled by the corresponding functional assignment via the "Result 1" to "Result 3" switching outputs and the beeper. The "Result“ LED only lights up (until the end of the next reading pulse) to indicate a successful code comparison. The match codes can also be used as output filters for the host interface. In this case, when a good read occurs, the CLV only outputs those bar codes that have the same code type, code length, and data content as the match code(s). A match code can contain max. 50 characters in the range 32 to 137 dec. and must be a code type that can be evaluated by the CLV. Using the "Sensor 2" switching input, the CLV can: • teach in match code 1 via its optical interface (reading window) and store it permanently in the parameter set instead of entering it with the CLV Setup program. The code type, code length, and data content are entered in the parameter set.

• activate the code comparison. The status remains active until the power supply to the CLV is switched off.

Before the match code can be read, a switch must be connected (Fig. 10-12), the functional assignment of the switching input changed and Teach-in mode selected. CLV 41x

Switch S Vin

VS = 5 to 30 V DC

*)Vinmax = 28 V!

Fig. 10-12: "Sensor 2" configuration for triggering the teach-in match code 1

There are two modes for teaching in match code 1:

10-26

•

Dynamic teach-in of match code 1 The code type that corresponds to the match code must be activated for the evaluation in the CLV. The CLV must be pulsed manually so that it can read the match code. After the teach-in procedure has been successfully completed, the CLV still continues to output bar codes of all the code types that were previously enabled.

•

Static teach-in of match code 1 with/without Pharmacode The CLV can also read a match code whose code type is implemented, but not yet enabled for evaluation. A reading pulse starts automatically at the start of the teach-in procedure. The CLV terminates the reading pulse once the teach-in procedure has been successfully completed. In Reading mode, it only outputs bar codes which match the code type and length of match code 1. All other code types are locked. To ensure that the match code is read reliably, the CLV temporarily sets the number of multiple

© SICK AG · Division Auto Ident · Germany · All rights reserved

8 009 974/O079/01-09-2004

Page 117

Appendix

Operating Instructions

Chapter 10

CLV 41x bar code scanner reads to 30. The previous code configuration is kept if a match code is not detected during the teach-in procedure. Since the CLV can essentially interpret every code as a Pharmacode, the "static with Pharmacode" variant should only be activated if this code is actually to be programmed (taught-in) as a match code. The Pharmacode in this case must comprise a minimum of 4 characters. Check whether the programmed Pharmacode is correct by uploading it from the CLV using the CLV Setup program! Resetting the counters: With static teach-in, the CLV can optionally reset the daily operating data for each newly taught-in match code 1. This includes the following counters: – daily operating hours

– no. of reading intervals

– no. of good reads

Additionally there are two counters which will be not lost if the CLV is switched off: – no. of good reads

– no. of no reads

Both 8-digit counters can only be queried by the command string <Start>4?CC<Stop>. They are not represented in CLV Setup. Once match code 1 has been programmed, the code comparison can also be activated with the CLV Setup program (either temporarily or permanently, depending on the download option). Activating the function with the program has a higher priority than with the "Sensor 2" switching input. In this case, the switch must be open when the power supply to the CLV is switched on. Match code 2 can only be defined and activated using the CLV Setup program or command strings, irrespective of the teach-in procedure. Note

If match code 1 is set using the teach-in method, it must not be modified with CLV Setup (or command strings) until the CLV is switched off again. The method used to set the match code cannot be mixed. This does not affect match code 2. Preparing for teach-in:

8 009 974/O079/01-09-2004

1.

Switch off the power supply to the CDB 410 or CDM 410 connection module.

2.

Connect the switch in the CDB 410 or CDM 410 connection module at the "Sensor 2" switching input of the CLV as shown in Fig. 10-12. Connect the "SensGND" and "GND" signals.

3.

Open the switch! ("Sensor 2" switching input must be at zero current).

4.

Connect the PC to the host interface 2 (RS 232) of the CLV. For this purpose, connect a 3-core RS 232 data cable (null modem cable) to the internal 9-pin "Aux" plug of the module. See Chapter 5.5.5 Connecting the PC to the host interface 2 (RS 232), Page 5-7. Temporarily disconnect any existing electrical data connection to the host!

5.

Switch on the power supply to the CDB 410 or CDM 410 connection module. 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.

© SICK AG · Division Auto Ident · Germany · All rights reserved

10-27