The text of a manual · part 6 of 17
Operating Instructions: CLV 42x Bar Code Scanner, Standard line: 5 Electrical connection
Pages 41 to 50 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 41
Operating Instructions
Electrical connection
Chapter 5
CLV 42x bar code scanner
5
Electrical connection 5.1
Overview of the connection sequence
•
Connect the CLV to the SICK CDB 420 or CDM 420 connection module
•
Connect the data and function interfaces of the CLV in the module
•
Connect the PC to the connection module (at the terminal interface of the CLV)
•
Connect the power supply to the connection module
5.2
Electrical connections and cables
The electrical connection for the CLV consists of a 15-pin D Sub HD plug. It supplies the following interfaces: • three serial data interfaces (host interface, CAN interface and terminal interface)
• two switching inputs (external reading pulse and multifunctional input)
• two switching outputs (for result status functions, or connecting to a PLC for example)
• power supply Wire all the connections with copper cables with a minimum wire diameter of 0.09 mm2 (approx. 17 AWG)!
5.2.1
Connections/cables for the CDB 420 or CDM 420 connection module
The CDB 420 or CDM 420 connection module is suitable for connecting the CLV to peripherals (distribution function) and the power supply. The module can be used to establish a connection to the host (point-to-point) or to integrate the device in a SICK CAN Scanner Network. The CDM 420 additionally supports the CLV for connecting to a field bus system via an optional module (gateway) Fig. 5-1 shows the connection principle of the CDB 420 or CDM 420 for one CLV. CLV 42x CDB 420 or CDM 420 connection module AUX
Photoelectric switch Reading pulse
HOST/PLC
Path increment Teach-in Match code 1 End of reading interval
“10 to 30 V DC“
PLC
10 to 30 V DC
– – cable if necessary Fig. 5-1:
Block diagram: connection of the CLV to the CDB 420 or CDM 420 connection module
8 009 981/O078/16-08-2004
© SICK AG · Division Auto Ident · Germany · All rights reserved
5-1
Page 42
Electrical connection
Chapter 5
Operating Instructions CLV 42x bar code scanner
Connect and configure the CDB 420 or CDM 420 Connection Module as described in the “CDB 420 Connection Module“ Operating Instructions (order no. 8 010 001, German/English version) respectively in the “CDM 420 Connection Module“ Operating Instructions (order no. 8 010 004, German/English version). Note
Diagramms showing you how to connect the CDB 420 and CDM 420 Connection Modules are also available in the “CLV Connect“ PC program. This software is available on the “Manuals & Software“ CD, which is included in the scope of delivery of the ICR. The software can also be downloaded from the SICK home page (www.sick.de) at “Service& Support/ Downloadpool“. It can be called up using a standard HTML browser (e. g. Internet ExplorerTM).
5.3
Connector pin assignment 6 1
11
5 10
15
Pin
Signal
Function
1
10 to 30 V DC
Power supply
2
RxD (Terminal)
Terminal interface (receiver)
3
TxD (Terminal)
Terminal interface (transmitter)
4
Sensor 2
Switching input, variable function
5
GND
Ground
6
RD+ (RS 422/485)
Host interface (receiver)
7
RD– (RS 422/485); RxD (RS 232)
Host interface (receiver)
8
TD+ (RS 422/485)
Host interface (transmitter)
9
TD– (RS 422/485); TxD (RS 232)
Host interface (transmitter)
10
CAN H
CAN-Bus (IN/OUT)
11
CAN L
CAN-Bus (IN/OUT)
12
Result 1
Switching output, variable function
13
Result 2
Switching output, variable function
14
Sensor 1
Switching input for external reading pulse
15
SensGND
Common ground for all inputs
–
–
Shield
Table 5-1: Pin assignment of the 15-pin D Sub HD plug
5-2
© SICK AG · Division Auto Ident · Germany · All rights reserved
8 009 981/O078/16-08-2004
Page 43
Electrical connection
Operating Instructions
Chapter 5
CLV 42x bar code scanner
5.4
Preparations for electrical connection
5.4.1
Requirements for the host interface
The host interface of the CLV can be operated as an RS 422/485 or an RS 232 interface. Table 5-2 shows the recommended maximum cable lengths as a function of the selected data transfer rate. Interface type
Transfer rate
Distance from host
RS 232 up to 19,200 bd max. 10 m (32.8.ft)
38,400 to 57,600 bd max. 3 m (9.84 ft)
max. 38,400 bd max. 1,200 m (3,937 ft)
max. 57,600 bd max. 500 m (1,640 ft)
RS 422/485
1)
1) with suitable line termination according to specification
Table 5-2: Maximum cable lengths between the CLV and host
To prevent interference, do not lay the cable parallel with power supply and motor cables over long distances, e. g. in cable ducts. 5.4.2
Power supply
The CLV requires a power supply of 10 to 30 V DC (functional extra-low voltage) in accordance with the standard IEC 364-4-41. The functional extra-low voltage can be generated by using a safety isolating transformer pursuant to IEC 742. The CLV has a power consumption of max. 3.5 W (when switching outputs are not connected). The CLV is supplied with 10 to 30 V DC via the CDB 420 or CDM 420 connection module. If an optional CMF 400 field bus gateway or a CMD 400 Connection Module Display is additionally used in the CDM 420, the ICR is supplied with 18 to 30 V DC. If the CMP 400 Power Supply Module is used in the CDM 420, a mains voltage of 100 to 250 V AC/50 to 60 Hz is required. Note
The CLV 42x is UL certificated when a class 2 power supply according to UL 1310 is used. Power-up delay The selected device number (default setting: 1) affects the power-up delay of the device. This is useful if a large number of CLVs (e. g. in the SICK CAN Scanner Network) are supplied from one power source. Table 5-3 contains a list of the available intervals. Device number GN 1; 11; 21; 31
Power-up delay
Device number GN
Power-up delay
0 ms
6; 16; 26
2,000 ms
400 ms
7; 17; 27
2,400 ms
3; 13; 23
800 ms
8; 18; 28
2,800 ms
4; 14; 24
1,200 ms
9; 19; 29
3,200 ms
5; 15; 25
1,600 ms
10; 20; 30
3,600 ms
2; 12; 22
Table 5-3: Power-up delay as a function of the device number GN
Tip
8 009 981/O078/16-08-2004
The device number can be selected on the DEVICE CONFIGURATION tab in the CLV Setup program.
© SICK AG · Division Auto Ident · Germany · All rights reserved
5-3
Page 44
Electrical connection
Chapter 5
Operating Instructions CLV 42x bar code scanner
5.4.3
Non-SICK power pack/connections without the SICK connection module
If a non-SICK power supply unit is used instead of the CDB 420 or CDM 420, it must provide a functional extra-low voltage in accordance with the standard IEC 364-4-41 and a continuous power output of at least 4 W. The output circuit must be reliably electrically isolated from the input circuit. Do do so, use a safety isolating transformer pursuant to IEC 742. The minimum wire cross-section for the power supply (pin 1/pin 5) is 0.15 mm2 (approx. 26 AWG). Use the cable no. 6 010 137 with 15-pin D Sub HD socket and open wire ends to connect the CLV. The color assignment of the wires is shown in Table 5-4. Note
The CLV 42x is UL certificated when a class 2 power supply according to UL 1310 is used. Pin
Signal
Wiring color
1
10 to 30 V DC red
2
RxD (Terminal)
purple
3
TxD (Terminal)
yellow
4
Sensor 2 red/black
5
GND black
6
RD+ (RS 422/485)
light blue
7
RD– (RS 422/485); RxD (RS 232)
blue
8
TD+ (RS 422/485)
turquoise
9
TD– (RS 422/485); TxD (RS 232)
green
10
CAN H gray
11
CAN L pink
12
Result 1 brown
13
Result 2 orange
14
Sensor 1 white
15
SensGND white/black
–
Shield white/green
Table 5-4: Wiring color assignment of cable no. 6 010 137 (open end)
5.5
Making electrical connections
5.5.1
Overview of connection procedure
•
Connect the power supply
•
Connect the host interface
•
Connect the PC (connect the terminal interface)
•
Connect switching input "Sensor 1" and, if necessary, "Sensor 2" as well
•
Connect switching outputs "Result 1" and "Result 2"
5.5.2
5-4
Auxiliaries
•
Tools
•
Digital measuring device (current/voltage measurement)
© SICK AG · Division Auto Ident · Germany · All rights reserved
8 009 981/O078/16-08-2004
Page 45
Operating Instructions
Electrical connection
Chapter 5
CLV 42x bar code scanner
5.5.3
Connecting the power supply
If the CLV is powered via the CDB 420 or CDM 420 connection module, the power supply does not have to be wired separately. 1.
Ensure that the power supply to the CDB 420 or CDM 420 is switched off.
2.
Connect the 15-pin plug on the CLV to the corresponding socket on the CDB 420 or CDM 420 and screw it tightly. The connection cable can be extended by 2 m (6.56 ft) using the extension cable no. 6 010 075.
The data and function interfaces of the CLV are connected to the connection module. – or – External power pack: Connect the power supply to the red wire (pin 1, +10 to +30 V DC) and the black wire (pin 5, GND) of cable no. 6 010 137. (See also Table 5-4.) 5.5.4
Connecting the host interface
RS 232 CLV 42x Host ( )= 9-pin D Sub plug at PC
RS 422 CLV 42x
Fig. 5-2:
Host
Connections of the host interface
Risk of damage to the interface module Electronic components in the CLV may be damaged if the host interface is connected incorrectly. Connect the host interface as shown in Fig. 5-2. Check the connections carefully before you switch on the CLV. Connect the host interface on the CLV to the host using shielded cables (EMC requirements). Ensure that the maximum cable lengths are not exceeded (Table 5-2, Page 5-3).
8 009 981/O078/16-08-2004
© SICK AG · Division Auto Ident · Germany · All rights reserved
5-5
Page 46
Electrical connection
Chapter 5
Operating Instructions CLV 42x bar code scanner
In the default setting, the CLV communicates with the host via the host interface using the values shown in Table 5-5. Parameter
Value
Interface model
RS 422/485
Data transfer rate
9,600 bd
Data bits
8
Parity none
Stop bits
1
Protocol
SICK (start character: STX, stop character: ETX, no request for repeat: none, timeout: 50 ms)
Table 5-5: Communication parameters for the host interface (default setting)
For connecting the host interface via the CDB 420 or CDM 420 Connection Module, see the “CDB 420 Connection Module“ Operating Instructions (order no. 8 010 001, German/ English version) respectively the “CDM 420 Connection Module“ Operating Instructions (order no. 8 010 004, German/English version). Terminating the RS 422 interface The interface can be terminated in the CDB 420 or CDM 420 connection module. See Operating Instructions for the "CDB 420 or CDM 420 connection module". Activating the RS 232 interface The RS 232 interface can be activated with the CLV Setup program: 1.
Choose the HOST INTERFACE tab.
2.
Choose the "RS 232" option from the HARDWARE drop-down list under DATA FORMAT.
3.
Perform a download to the CLV. This is done by clicking The DOWNLOAD PARAMETER dialog window is displayed.
4.
Confirm the dialog window by selecting the PERMANENT save option.
in the toolbar.
The CLV uses the RS 232 version of the host interface. TIP
The communication parameters can be changed, if necessary, on the HOST INTERFACE tab. To do so, change the values under DATA FORMAT and INTERFACE PROTOCOL. 5.5.5
Connecting the CAN interface
For information on the connection and parameterization of the CLV for use in a SICK scanner network or in a CANopen network, see the Operating Instructions "Application of the CAN interface" (no. 8 009 180, English version).
5-6
© SICK AG · Division Auto Ident · Germany · All rights reserved
8 009 981/O078/16-08-2004
Page 47
Electrical connection
Operating Instructions
Chapter 5
CLV 42x bar code scanner
5.5.6
Connecting the PC
The CLV is operated and configured with the"CLV Setup" program. In order to do so, you must connect the device to the PC via the terminal interface (auxiliary interface). Unlike the host interface, the terminal interface has a permanent data format and a fixed data transfer rate. Fig. 5-3 shows how the terminal interface is connected. The cable length is not to exceed 10 m (32.8 ft).
RS 232
PC CLV 42x ( )= 9-pin D Sub plug at PC
Fig. 5-3:
Connections of the terminal interface
1.
Switch off the PC and power supply to the SICK connection module.
2.
Connect the PC to the internal, 9-pin ”Aux" plug of the connection module. Use a 3-core RS 232 data cable (null modem cable) for this purpose, e. g. no. 2 014 054 (RxD and TxD crossed). – or – If a non-SICK connection module is used: Connect the PC as shown in Fig. 5-3.
Tip
8 009 981/O078/16-08-2004
3.
Switch on the PC and power supply to the SICK connection module.
4.
Set the communication parameters (see Chapter 10.4.3 Starting "CLV Setup", Page 10-10).
In the default setting, the terminal interface outputs the reading result in "Reading Diagnosis" mode. You can change the operating mode to "Monitor Host Interface", "Auxiliary Input" or “External Data String Input“ on the AUXILIARY INTERFACE tab in the CLV Setup program.
© SICK AG · Division Auto Ident · Germany · All rights reserved
5-7
Page 48
Electrical connection
Chapter 5
Operating Instructions CLV 42x bar code scanner
5.5.7
Connecting the "Sensor 1" switching input
If a reading procedure is to be triggered on the CLV by an external sensor, the reading pulse sensor must be connected to the "Sensor 1" switching input. The trigger type is selected in the default setting of the CLV. Fig. 5-4 shows the connections for the "Sensor 1" switching input. Table 5-6 contains the characteristic data for this input. Connect the reading pulse sensor as is shown in Fig. 5-4.
CLV 42x
PNP sensor
VS VS
VS
Vi
VS= +10 to +30 V DC
Fig. 5-4:
*) Vimax= 28 V!
Connections of the "Sensor 1" switching input
Switching mode
Current at the input starts the reading interval on the CLV. (default setting: active high, debouncing: max. 30 ms (standard))
Properties
– optodecoupled, non-interchangeable – can be connected to PNP output on a sensor
Electrical values
Low: –1V ≤ Vi ≤ +1 V –0.3 mA ≤ Ii ≤ +0.3 mA
High: +3 V ≤ |Vi| ≤ +28 V +1.4 mA ≤ |Ii| ≤ +18 mA
Table 5-6: Characteristic data of the "Sensor 1" switching input
Tip
You can change the switching mode (polarity, debouncing, response for first pulse after power-up) of the "Sensor 1" switching input on the DEVICE CONFIGURATION tab in the CLV Setup program. Click the READING TRIGGER PARAMETERS button. Edit dialog window. Download all changes to CLV. For connecting the switching input via the CDB 420 or CDM 420 Connection Module, see the “CDB 420 Connection Module“ Operating Instructions (order no. 8 010 001, German/English version) respectively the “CDM 420 Connection Module“ Operating Instructions (order no. 8 010 004, German/English version).
Note
An external pulse is not required for "Percentage Evaluation" mode. 5.5.8
Connecting the "Sensor 2" switching input
The input has the following functions:
5-8
•
Trigger source for teaching in the match code 1
•
Conveyor increment input
•
External trigger source for end of the reading interval
•
Trigger source for switching over the dynamical reading configuration
© SICK AG · Division Auto Ident · Germany · All rights reserved
8 009 981/O078/16-08-2004
Page 49
Electrical connection
Operating Instructions
Chapter 5
CLV 42x bar code scanner
The "Teach-in match code" function is selected in the default setting. The characteristic data is identical to that for the "Sensor 1" input (Table 5-6). Fig. 5-5 shows the connections of the switching input. Connect the sensors as is shown in Fig. 5-5.
CLV 42x
VS
PNP sensor
Switch
VS
VS
Vi
VS= +10 to +30 V DC Fig. 5-5:
*) Vimax= 28 V!
Connections of the "Sensor 2" switching input
For connecting the switching input via the CDB 420 or CDM 420 Connection Module, see the “CDB 420 Connection Module“ Operating Instructions (order no. 8 010 001, German/English version) respectively the “CDM 420 Connection Module“ Operating Instructions (order no. 8 010 004, German/English version). Tip
The function assigned to the "Sensor 2" input can be modified on the DEVICE CONFIGURATION tab in the CLV Setup program. Click the FUNCTION SENSOR 2 drop-down list and choose the required function. Download all changes to CLV. The connections and procedure for teaching in match code 1 are described in Chapter 10.9.1 Triggering the teach-in match code 1 via the "Sensor 2" switching input, Page 10-26. 5.5.9
Connecting the "Result 1" and "Result 2" switching outputs
The two switching outputs can be assigned different functions for outputting result statuses independently of each other. If the assigned event occurs during the reading procedure, the corresponding switching output becomes live at the end of the reading pulse for the selected pulse duration. The pulse duration is identical for both outputs. The "Result" LED is linked to the "Result 2" output and lights up in "Reading" mode for the selected pulse duration and function of the result status display (default setting: "Good Read", 100 ms). Fig. 5-6, Page 5-10 shows an example of how the "Result 1" switching output can be connected. Table 5-7 describes the characteristic data for the outputs. This data is identical for both outputs. Connect the outputs as shown in Fig. 5-6.
8 009 981/O078/16-08-2004
© SICK AG · Division Auto Ident · Germany · All rights reserved
5-9
Page 50
Electrical connection
Chapter 5
Operating Instructions CLV 42x bar code scanner
CLV 42x
VS "Result 1"
Vo
Structure of output Result 2 (pin 13) same as output Result 1
VS= + 10 to +30 V DC Fig. 5-6:
Pulse duration based on setting: – 10 ms to 990 ms – 00: static (to the end of the next reading pulse)
Connections of the "Result 1" switching output
For connecting the switching outputs via the CDB 420 or CDM 420 Connection Module, see the “CDB 420 Connection Module“ Operating Instructions (order no. 8 010 001, German/English version) respectively the “CDM 420 Connection Module“ Operating Instructions (order no. 8 010 004, German/English version). Switching mode
PNP-switching with respect to the power supply VS
Characteristics short-circuit-proof + temperature-protected, not electrically isolated from VS
Function assignment (default setting)
Result 1: "Device Ready (static)", polarity: not inverted Result 2: "Good Read" (100 ms), polarity: not inverted
Electrical values
0 V ≤ Vo ≤ VS
Guaranteed: (VS −1.5 V) ≤ Vo ≤ VS at Io ≤ 100 mA
Table 5-7: Characteristic data of the "Result 1" and "Result 2" switching outputs
Note
If the "Device Ready" function is chosen, the CLV outputs a static pulse in Reading mode.
Tip
The output function, pulse duration (timer) and polarity of the signals can be changed on the DEVICE CONFIGURATION tab in the CLV Setup program. Click the RESULT OUTPUT PARAMETERS button. Edit dialog box. Download all changes to CLV.
Recommendation
5-10
To check the switching functions using a high-impedance digital voltmeter, power the outputs. This prevents incorrect voltage values/switching statuses from being displayed.
© SICK AG · Division Auto Ident · Germany · All rights reserved
8 009 981/O078/16-08-2004