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 19 of 22

CLV 43x / 44x Bar Code Scanner Operating Instructions: 10 Appendix, pages 157 to 166

Pages 157 to 166 of 194, from CLV 43x / 44x Bar Code Scanner Operating Instructions

The original document is the PDF (5.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 CLV430, Sick CLV431, Sick CLV432, Sick CLV442 and Sick CLV440

Page 157

Operating instructions

Appendix

Chapter 10

CLV 43x/44x Bar Code Scanner

10.6

Configuring the CLV with command strings

The CLV can be parameterized and operated via the terminal interface and 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 can be 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-27 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. 1.

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

2.

Click the PARAMETERIZE radio button in the DEVICE MODE group. The CLV cancels Reading mode. The "Device Ready" LED is extinguished. CLV Setup switches the CLV to the Parameterization 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.

➀

➁

Fig. 10-27: CLV Setup: entering commands in the Terminal Emulator

8 008 568/K949/10-06-2002

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

10-41

Page 158

Appendix

Chapter 10

Operating instructions CLV 43x/44x Bar Code Scanner

Example: Entering "3?LT" causes the CLV to output the parameter values of the reading pulse in encoded form in the output window ➁. 4. Note

Click the Reading Mode radio button to return to the READING MODE. 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.

10-42

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

8 008 568/K949/10-06-2002

Page 159

Operating instructions

Appendix

Chapter 10

CLV 43x/44x Bar Code Scanner

10.7

Calculating parameter values for setting the CLV

10.7.1

Calculating the number of scans (for standard decoders)

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

Calculation for standard decoder!

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 Scanning frequency f = 600 Hz Barcode 100 % readable

0.02 m n = ---------------------- × 600/s 1.5 m/s n=8

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

Line scanner: fence-type bar code arrangement

Calculation for standard decoder!

Line scanner: side reading at object lC

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

Specifications: Number of scans n = ? Conveyor velocity v = 2 m/s Code length with rest zone lC = 150 mm Reading field height lLH = 400 mm Scanning frequency f = 600 Hz Bar code 100 % readable, all scans on the code, 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-29: Line scanner: calculating the number of scans for fence-type bar code arrangements

8 008 568/K949/10-06-2002

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

10-43

Page 160

Chapter 10

Appendix

Operating instructions CLV 43x/44x Bar Code Scanner

Line scanner with oscillating mirror: fence-type bar code arrangement

Line scanner with oscillating mirror: side reading at object l LH l CW

Calculation for Standard decoder 10° lC v

Specifications: Number of scans n = ? Conveyor velocity v = 0.5 m/s Code length with rest zone lC = 100 mm mm Code length under 10°: l CW = 100 ------------------------ = 102 mm cos 10 Reading field height lLH = 500 mm Scanning frequency f = 600 Hz Bar code 100 % readable, all scans on the code Code window s = lLH - lC

1. Dwell time of the bar code in the reading field: s t = -v ( l LH – l CW ) t = ----------------------------v ( 0.5 – 0.102 ) t = ---------------------------------------0.5 m/s

2. Required oscillating mirror frequency: 1 f SW = --t 1 f SW = ---------------------0.796 s f SW = 1.26 Hz t = 796 ms 3. Number of possible scans (Passover calculation): f n = --------f SW

600 Hz n = ---------------------1.26 Hz n = 476

Fig. 10-30: Line scanner with oscillating mirror: calculating the number of scans for fence-type bar code arrangements

10-44

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

8 008 568/K949/10-06-2002

Page 161

Operating instructions

Appendix

Chapter 10

CLV 43x/44x Bar Code Scanner

10.7.2

Calculation of required distances between bar codes when reading several bar codes per object dx

B

C

D

E

A

B

C

D

E

C

D

E dy

A dx

A

B

C

D

E

A

B

SMART decoder: For bar codes with identical code type and identical or varying data content. Distance dx: min. 60 x module width e.g. 30 mm with module width of 0.5 mm Distance dy: 10 x dscan with dscan = vertical distance between two consecutive scan lines e.g. scan line 90° to bar code, scanning frequency 800 Hz, v = 2 m/s V dscan = ____ f

2 000 mm/s dscan = _________________ = 2.5 800 /s dy = 10 x 2.5 mm = 25 mm

Standard decoder: The distances listed above are also required if bar codes of the same name (identical data content and identical code type) are to be read. Requirement for the separation of bar codes of the same name: 1. Correct parameterization of the CODE DISTANCE between bar codes (DEVICE CONFIGURATION tab, EDIT TRACKING) button 2. Activation of code position comparison (CODE CONFIGURATION tab, CODE POSITION group) Bar code lines in the conveyor direction: If the scan line records bar codes with the same name at the same code position, an external incremental sensor for path information is required for the separation of bar codes. Rule of thumb: Area around bar code should be blank!

Fig. 10-31: Required distances between the bar codes on an object

8 008 568/K949/10-06-2002

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

10-45

Page 162

Appendix

Chapter 10

Operating instructions CLV 43x/44x Bar Code Scanner

10.7.3

Calculation of the start position and mirror speed for the forward and return phase of the one-shot function

Line scanner with oscillating mirror Theoretical view: Reading from front (Object moves toward the CLV)

Calculation for standard decoder! Information:

A h0 = max. object height hS = distance of CLV above conveyor level ϕ = oscillation angle α = max. angle of impact on bar code (skew) Start phase 1: point A Start phase 2: point B d d ho hs

Specifications: hS > h0 α ≤ 45° ( α ≤ 30° would be better) Set max. deflection angle: ±20° Determine distances via measurement x1 = distance at start phase 1 x2 = distance at start phase 2

B v x2

Ö x1

(Scan direction on the code level)

1. Focus position for distance configuration

3. Mirror speed ϕ*)

h sin α = -----s d

∆x v = ------ ; ∆x = x 1 – x 2 ∆t

⇒ hs d = -----------sin α

∆ϕ ϕ * = -------∆t

2. Oscillation angle ϕ γ = 90°– α

During time ∆t, where the object moves from x1 to x2, the oscillating mirror must also pass through the angle ∆ϕ.

( h s – h0 ) cos ( ϕ + γ ) = ------------------------d

( hs – h0 ) ϕ = arc cos -------------------------- – γ d

∆x ∆ϕ ⇒ ------ = ------v ϕ*

¾ Enter ϕ symmetrically to CW = 50:

v ϕ * = ∆ϕ × ----- mit 1 /s = 2 CW/s ∆x

ϕ 1 CW StartPos 1 = 50 CW + --- × --------------- 2 0.5

Take the following into account when entering the values: – Debounce time of switching input "Sensor 2" (one-shot trigger) – Startup time of oscillating mirror (movement of the object)

ϕ 1 CW StartPos 2 = 50 CW – --- × --------------- 2 0.5

¾ Choose the mirror speed of the return phase depending on the distances between the objects in such a way that the scan line is located in the start position (point A) again.

¾ Check the theoretically obtained values locally and adjust if necessary.

Fig. 10-32: One-shot: Line scanner with oscillating mirror: calculating the number of scans for fence-type bar code arrangements

10-46

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

8 008 568/K949/10-06-2002

Page 163

Appendix

Operating instructions

Chapter 10

CLV 43x/44x Bar Code Scanner

10.8

Auxiliary tables

10.8.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-8. 1.

Count the bars and gaps as specified in Table 10-8. 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-8: Formulas for calculating the code length of a bar code

8 008 568/K949/10-06-2002

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

10-47

Page 164

Chapter 10

Appendix

Operating instructions CLV 43x/44x Bar Code Scanner

10.9

Special applications and procedures

10.9.1

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

In Reading mode, the CLV compares 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" and "Result 2" (“Result“ LED) switching outputs and the beeper. 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-33), the functional assignment of the switching input changed and Teach-in mode selected. CLV 43x/44x

Terminal assignment AMV 40-011/AMS 40-012, -013 Switch S

VS= +10 to +30 V DC

*)Vimax = 28 V!

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

There are two modes for teaching in match code 1:

10-48

•

Dynamic teach-in of match code 1 This method is supported by SMART and standard decoders (Raster scanner only with standard decoder). 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 only uses the standard decoder temporarily. 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 reads to 30. The previous code configuration is kept if a match code is not detected during the teach-in procedure.

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

8 008 568/K949/10-06-2002

Page 165

Operating instructions

Appendix

Chapter 10

CLV 43x/44x Bar Code Scanner

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 (teach-in) as a match code. The Pharmacode in this case must comprise a minimum of 6 characters. Check whether the programmed Pharmacode is correct by uploading it from the CLV using the CLV Setup program! 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

–

Max. reading interval duration

–

Min. reading interval duration

–

No. of no reads

–

No. of match 1 (match code 1)

–

No. of match 2 (match code 2)

–

No. of no matches (neither match code 1 nor 2)

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. Preparing teach-in 1.

Switch off the power supply to the AMV/S 40 Connection Module.

2.

Connect the switch in the AMV/S 40 Connection Module at the "Sensor 2" switching input of the CLV as shown in Fig. 10-33. 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 terminal interface of the CLV. For this purpose, connect the RS 232 data connection cable to the internal 9-pin "Service" plug of the module (see Chapter 5.5.6 "Connecting the PC", Page 5-6).

5.

Switch on the power supply to the AMV/S 40 Connection Module. Once the CLV has started, it outputs an acoustic signal to indicate that the self-test was successfully completed. Shortly afterwards, it outputs two acoustic signals to indicate that it has assumed Reading mode. The "Device Ready" LED lights up. Line scanner with oscillating mirror: In the Reading mode, the CLV deflects (by default) the scan line about the position CW = 50 at a frequency of 1 Hz and a maximum angle of ±20°.

8 008 568/K949/10-06-2002

6.

Start Windows and "CLV Setup" on your PC (see Chapter 10.4.3 "Starting "CLV Setup"", Page 10-29).

7.

Upload the parameter set that was last stored permanently on the CLV. CLV Setup displays the current values on the tabs.

8.

If you have not already done so, save the parameter set as a configuration file "*.scl" in CLV Setup.

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

10-49

Page 166

Chapter 10

Appendix

Operating instructions CLV 43x/44x Bar Code Scanner a) Dynamic teach-in procedure Configuring the dynamic teach-in procedure: •

Accompanying measure: changing 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 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 EDIT READING TRIGGER button.

6.

Click the SERIAL INTERFACE radio button in the MODE group.

7.

Click the EDIT RESULT OUTPUTS button.

8.

In the dialog box under RESULT FUNCTIONS, choose MATCH 1 in the drop-down list for Result 2 ("Result" LED).

9.

Select the CODE CONFIGURATION tab.

10. Raster scanners only: Click the STANDARD radio button in the DECODER group. 11. Activate the code type of the match code in the CODES group. 12. Click the EDIT CODES button. 13. Choose the code type tab and click the FREE radio button in the CODE LENGTH group. 14. Perform a download to the CLV. This is done by clicking The DOWNLOAD PARAMETER dialog box is displayed.

in the toolbar.

15. 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-50

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 008 568/K949/10-06-2002