KEYENCE DL-RS1AIB User Manual

RS-232C Communication Unit
DL-RS1A
User's Manual (IB Edition)
Read this manual before using the system in order to achieve maximum performance. Keep this manual in a safe place for future reference.
96098E

Introduction

Symbols

The following symbols alert you to important messages. Be sure to read these messages carefully.
It indicates a hazardous situation which, if not avoided, will result in death or
DANGER
serious injury.
It indicates a hazardous situation which, if not avoided, could result in death
WARNING
or serious injury.
It indicates a hazardous situation which, if not avoided, could result in minor
CAUTION
or moderate injury.
It indicates a situation which, if not avoided, could result in product damage
NOTICE
as well as property damage.

Safety Precautions

General Cautions

At startup and during operation, be sure to monitor the functions and performance of the DL-RS1A for p roper operations.
We recommend that you take substantial safety measures to avoid any damage in the event that a problem occurs.
Do not modify the DL-RS1A or use it in any way other than described in the specifications.
When the DL-RS1A is used in combination with other ins truments, functions and performance may be degraded,
depending on the operating conditions and surrounding environment.
Do not use the DL-RS1A for the purpose of protecting the human body.
Do not change the temperature drastically around the DL-RS1A and other devices including the accessories. Otherwise
condensation may be generated.

Handling Errors

Turn off the power immediately in the following cases. Using the unit in abnormal conditions could cause fire, electric shock, or accident. Contact the nearest KEYENCE office for repair.
NOTICE
If fluids including water, chemicals, or debris enter the unit
If the unit is dropped or the case is damaged
If abnormal smoke or odor is present

Operating Precautions

Important
It indicates cautions and limitations that must be followed during operation.
Point
It indicates additional information on proper operation.
Reference
It indicates tips for better understanding or useful information.
Do not use the DL-RS1A with a voltage other than specified voltage, as this may cause fire, electric shock or equipment failure.
WARNING
Do not disassemble or modify the DL-RS1A. Doing so may cause fire or electric shock.
Be sure to turn off the power to the DL-RS1A and any connected devices before
NOTICE
Installation environment
To use the DL-RS1A correctly and safely, avoid installing it in the following locations. Failure to do so to may cause fire, electric shock, and malfunction.
Locations that are humid, dusty, or poorly ventilated
Locations with a high temperature, such as a place exposed to direct sunlight
Locations where there are flammable or corrosive gases
Location where the unit may be directly subjected to vibration or impact
Locations where water, oil, or chemicals may splash onto the DL-RS1A
Locations where static electricity is easily generated
Noise countermeasures
Isolate the unit from devices that generate high frequency electrical signals, power supply lines, or power lines. Otherwise, noise could cause a malfunction.
connecting or disconnecting the cables. Failure to do so may damage the unit.
Do not turn off the power while setting a parameter. Otherwise, the settings may be partially or completely lost.

Contents

Safety Precautions
General Cautions Handling Errors Operating Precautions
Installation environment
Before Using the Unit
Connecting the Unit to Sensor Amplifiers
Connecting the Unit to External Devices
Communication Specifications
Commands and Responses
Parameters of Commands and Responses
Communication Response Time
Noise countermeasures
Checking the Package Contents ............................................................................ .........2
Part Names and Functions....... ........................................................................................ 2
Mounting the Unit ............................................................................................................. 3
Mounting the unit on the DIN rail.................................................................................................3
Connecting the Unit to Sensor Amplifiers ........................................................................ 4
Available sensor amplifiers .........................................................................................................4
Connecting the DL-RS1A to DIN rail mount sensor amplifiers.................................................... 4
Connecting the unit to panel mount sensor amplifiers................................................................5
Connecting to a large display type sensor amplifier...................................................................5
Communication Terminal Block ....................................................................................... 5
Terminal connection.................................................................................................................... 5
Connection wiring........................................................................................................................6
Optional cable............................................................................................................................. 6
Input circuit diagram ...................................................................................................................6
Communication Specifications.................................. .......................................................7
Sensor Amplifier ID Number Assignments.................................... ...................................7
DIN rail mount sensor amplifiers................................................................................................. 7
Panel mount sensor amplifiers.................................................................................................... 7
Overview of Commands and Responses...................................... ...................................7
Command format.........................................................................................................................7
Response ....................................................................................................................................8
Error response.............................................................................................................................8
Reading.................................... ........................................................................................ 9
Read from the specified sensor amplifier (SR command).......................................................... 9
Read all data from all sensor amplifiers (M0 command) ............................................................9
Read output states and data from all sensor amplifiers (MS command).................................... 9
Read with external input to the DRQ terminal (DRQ read)..........................................................9
Writing ............................................................................................................................ 10
Write to the specified sensor amplifier (SW command)............................................................ 10
Write to all sensor amplifiers (AW command)........................................................................... 10
Communication commands ......................................................................................................10
ID numbers................................................................................................................................10
Data numbers............................................................................................................................11
Relation between the data number 001 to 027 (data requesting the sensor amplifier operation)
and the data number 053 to 061 (data presenting the result of request/execution)................ 15
Error numbers............................................................................................................................16
Communication Response Time and Time Chart ................................................... .......16
SR command.............................................................................................................................16
M0 command and MS command.............................................................................................. 16
DRQ input..................................................................................................................................17
SW command and AW command............................................................................................. 17
Time Frames of Communication Response Time ................................................... .......17
T2 (DL-RS1A data processing time) .........................................................................................17
T3 (Command send time from external device)........................................................................17
96098E
T4 (DL-RS1A command processing time) ................................................................................17
T5 (Response send time from DL-RS1A) ..................................................................................18
Specifications
Troubleshooting
ASCII Code Table
T6 (Sensor amplifier settings change time)...............................................................................18
Performance Specifications ........................................................................................... 19
Communication Specifications.................................. .....................................................19
Dimensions................................................................ ..................................................... 19
When the unit is mounted on the DIN rail..................................................................................19
When the optional fixture (OP-60412) is used...........................................................................19
1

Before Using the Unit

r

Checking the Package Contents

Before using the DL-RS1A, check that the following items are all included.
RS-232C communication unit
DL-RS1A
Instruction manual
All possible care was taken in packaging before shipment. However, in the event of defective broken, or missing items, please contact your nearest KEYENCE office.

Part Names and Functions

6. Read/write setting switch
4. Communication status indicators (green)
D
G
102#345
6
10
2N345
Communication setup switch
1.
6
2
End unit x 2
OP-26751
7. Power indicator (green)
5. Alarm indicator (red)
8. Communication terminal block
2.
Sensor amplifier connector
(for DIN rail mount type)
3.
Sensor amplifier connecto (for panel mount type/ large display type)*
* A sticker is attached as factory default.
Expansion connector cover
Switch protection sticker
(1) Communication setup switches
You can use different ON/OFF combinations to configure the communication settings.
Setting Switch No. Combination
1
2400bit/s 4800bit/s
ON
2
Baud rate
Data bit length
Parity
Important
• Make sure you cycle the power to the unit after modifying the communication settings. The modifications are not applied to the unit until it is powered down and power has been reapplied.
• Place the switch protection sticker supplied with the unit over the switches after you modify the settings.
(2) Sensor amplifier connector (for DIN-rail mount type)
Use this connector to connect DL-RS1A to a DIN-rail mount type sensor amplifier.
(3) Sensor amplifier connector (for panel mount type)
Use this connector to connect DL-RS1A to a panel mount type sensor amplifier. The optional extension cable (OP-35361) must be used for connection.
Point
You cannot connect DL-RS1A simultaneously to a DIN-rail mount type sensor amplifier and a panel mount type sensor amplifier.
(4) Communication status indicators
These indicators show the communication status of DL-RS1A.
Indicator Behavior
SD Lights up in green while data is being transmitted. RD Lights up in green while data is being received.
123 123 123 123 123
* Factory default positions are shown.
Important
3
8 bit* 7 bit
ON4ON
4
* Factory default positions are shown.
None* Even Odd None
5
ON56ON56ON56ON
6
* Factory default positions are shown.
9600bit/s*19200bit/s 38400bit/s
ON ON ONON
Do not use combinations other than those shown above for switches 1, 2, and 3.
4
56
Before Using the Unit
Switch protection sticker
Before Using the Unit

Connecting the Unit to Sensor Amplifiers

(5) Alarm indicator
This indicator lights up in red. For information on the actions you should take when an alarm occurs, refer to "Troubleshooting" (page 21). After turning on the power, the alarm indicator lights for the following amount of time, and communication cannot be performed during this time.
No. of connected units Incommunicable time
(6) Read/write setting switch
(7) Power indicator
(8) Communication terminal block
1 to 4 Approx. 2 s
Use this switch to allow or prohibit writing to the sensor amplifiers. (You can only manipulate this switch while the unit is active (turned on).)
Position of the switch Description
R
(Factory default position)
RW
The unit can read data from the sensor amplifiers. However, it cannot write settings to the sensor amplifiers. The unit can both read data from and write settings to the sensor amplifiers.
Lights up in green when the unit has power.
Use the terminals on the terminal block to attach communication cables for connecting the unit with external devices.
SG
RD
SD
SG
SG
DRQ
* Recommended communication cable
KPEV-SP(1P) wire with balanced type twisted shield (strand wire) Nominal cross-section area 0.16mm
Terminal No.
Term inal Description
1SG
2 RD (input) Connects to the SD terminal of an external device via a communication cable. 3 SD (output) Connects to the RD terminal of an external device via a communication cable. 4 SG The terminals for SG (Nos. 1, 4, and 5) are internally short-circuited. 5 SG The terminals for SG (Nos. 1, 4, and 5) are internally short-circuited.
6 DRQ (input)
Point
A terminal cover is attached to the terminal block. The terminal cover must be placed over the ter minal block when you finish connecting the cables.
Reference
The terminals for SG (Nos. 1, 4, and 5) are used in common with the blue wire of the sensor am plifier main unit.
KPEV-SP(1P) wire with balanced type twisted shield (strand wire)
Communication cable
2
Connects to the shielded wire of the communication cable. The terminals for SG (Nos. 1, 4, and 5) are internally shor t-circuited.
When there is a short-circuit between DRQ and SG, the sensor amplifier data is transmitted even without a command from the external device.
To external device
(AWG25) min.
This section describes how to mount a DL-RS1A and connect it to sensor amplifiers.

Mounting the Unit

Mounting the unit on the DIN rail
1 Fit the tab of the lower part of the unit to the
DIN rail. While inserting the unit in the
direction of arrow (1), push the body down in
the direction of arrow (2).
2 To detach the unit, lift the unit in the direction
of arrow (3) while pushing it in the direction
of arrow (1).
When using the mounting bracket (OP-60412), install it as shown in the illustration below.
(3)
(2)
Mounting bracketOP-60412
(1)
3
Connecting the Unit to Sensor Amplifiers
r
A
A

Connecting the Unit to Sensor Amplifiers

You use DL-RS1A by connecting it to sensor amplifiers. The connection method varies according to the mounting type of the sensor amplifiers. Before connecting DL-RS1A, you must install the main unit and expansion units of the sensor amplifiers. For information on installing the sensor amplifiers, refer to the user's manual supplied with the sensor amplifiers.
Make sure that the sensor amplifiers are turned off before connecting the RS­232C communication unit DL-RS1A to them. Connecting the unit while the
NOTICE
sensor amplifiers are turned on may damage the unit.
Available sensor amplifiers
Name Type of amplifier Main unit
Thrubeam Laser Detection Sensor
IB Series
*1 The GT-70A Series, GT2 Series, IG Series, IL Series and IB Series can be connected solely. In
addition, two or more models can be used together. The maximum connectable numbers for each model are as follows.
• When connecting 1 model only
DIN-rail mount type IB-1000 IB-1050
Panel mount type IB-1500 IB-1550
Model Maximum connectable number (DL not included)
GT-70A Series 10 units
GT2 Series 15 units
IG Series 4 units IL Series 8 units IB Series 4 units
• When connecting 2 models together
Model Amplifier used together
GT-70A Series
GT2 Series
IG Series
IL Series IB Series 6 units
GT2 Series 10 units
IG Series 6 units IL Series 8 units IB Series 6 units IG Series 6 units IL Series 6 units IB Series 6 units IL Series 6 units IB Series 6 units
• When connecting 3 or more models together
Model
GT-70A Series GT2 Series IL Series 8 units
When using 2 or more models together, the total connection number for each model must be the maximum connectable number or less for connecting one model only. (Examp le) When IB Series and IG Series are used together, sum of the 2 models must be 6 units or
4
Amplifier used
together 1
Other combinations 6 un its
less. In addition, the number of IB Series and IG Series must be 4 or less respectively. (Connectable) IB Series 4 units, IG Series 2 units, Total 6 units (Not connectable) IB Series 5 units, IG Series 1 units, Total 6 units
Expansion unit
Maximum connectable number
Amplifier used
together 2
Max. connectable number
4 units (Main: 1, Expansion: 3, DL-RS1A: 1)
4 units (Main: 1, Expansion: 3, DL-RS1A: 1)
(DL not included)
Maximum connectable number
(DL not included)
Connecting the Unit to Sensor Amplifiers
*2 As for the large display type, GT2-100 Series, up to 11 units of the sensor head can be
connected to 1 amplifier by adding the expansion board to the main unit. GT2-100 Series cannot be used with other models.
Connecting the DL-RS1A to DIN rail mount sensor amplifiers
1 Remove the expansion protective cover from the sensor amplifier that you want to connect to
the DL-RS1A.
2 Mount the DL-RS1A on the DIN rail and connect it to the sensor amplifier.
Make sure there is no space between the unit and the sensor amplifier.
Check that the sensor amplifier connector (for DIN rail mounting) located on the side of DL-RS1A is not installed at an angle as shown in the
NOTICE
illustration to the right. Connecting the unit with its connector installed at an angle to a sensor amplifier may damage the unit.
3 Mount the end units (OP-26751, two units included) on either side of the sensor amplifier and
DL-RS1A unit and tighten the two screws on the top of each end unit.
(You can mount the end units in the same way you mount DL-RS1A.)
End unit
Make sure you firmly insert DL-RS1A all the way into the sensor amplifier. Turning the power on when the unit is not inserted straight or firmly connected
NOTICE
may damage the unit.
Sensor amplifier
Expansion protective cove
Sensor amplifier
DL-RS1
Connector
Sensor amplifier connector
RS-232C communication unit DL-RS1
End unit
Connecting the Unit to Sensor Amplifiers
r
r

Connecting the Unit to External Devices

Connecting the unit to panel mount sensor amplifiers
1 Connect DL-RS1A to the sensor amplifiers using the optional expansion cable (OP-35361).
Remove the
Expansion cable (cable length: 300 mm) (OP-35361)
• Make sure you securely connect the expansion cable while the unit is turned off. Turning the power on when the cable is not inserted straight or firmly
NOTICE
connected may damage the unit.
• Removing or inserting the cable while the power is on may damage the unit.
2 Remove the sensor amplifier connector with pliers (
mounted sensor amplifiers
supplied with the unit.
) from DL-RS1A unit and install the expansion connector cover
Sensor amplifier connector (for DIN rail mounting type)
Connecting to a large display type sensor amplifier
1 Connect the sensor amplifier to the RS-232C Communication Unit DL-RS1A using the optional
expansion cable (OP-35361).
• Turn OFF the power before connecting the expansion cable and connect securely. Diagonal or otherwise improper insertion may damage the equipment.
NOTICE
• Inserting or pulling the cable when the power is turned ON may damage the equipment.
2 Detach the sensor amplifier connector (DIN rail mount type) of the RS-232C Communication
Unit DL-RS1A with pliers and mount the attached expansion connector.
Sensor amplifier connector (for DIN rail mount type)
Detach the protection sticker
Expansion cable (cable length: 300mm)
protection sticke
for DIN rail mounting when using with panel
Expansion connector cove
Detach the protection sticker
Expansion connector cover

Communication Terminal Block

You can connect external devices such as a PC or PLC to the communication terminal block of DL-RS1A via the communication cables.
Terminal connection
KPEV-SP(1P) wire with balanced type twisted shield (strand wire)
SG
RD
SD
SG
SG
DRQ
* Recommended communication cable
KPEV-SP(1P) wire with balanced type twisted shield (strand wire) Nominal cross-section area 0.16mm
Terminal No.
Term inal Description
1SG
2 RD (input) Connects to the SD terminal of an exter nal device via a communication cable. 3 SD (output) Connects to the RD terminal of an external device via a communication cable. 4 SG The terminals for SG (Nos. 1, 4, and 5) are internally short-circuited. 5 SG The terminals for SG (Nos. 1, 4, and 5) are internally short-circuited.
6 DRQ (input)
Point
A terminal cover is attached to the terminal block. The terminal cover must be placed over the ter minal block when you finish connecting the cables.
Reference
The terminals for SG (Nos. 1, 4, and 5) are used in common with the blue wire of the sensor am plifier
main unit.
Connects to the shielded wire of the communication cable. The terminals for SG (Nos. 1, 4, and 5) are internally shor t-circuited.
When there is a short-circuit between DRQ and SG, the sensor amplifier data is transmitted even without a command from the external device.
Communication cable
2
(AWG25) min.
To external device
Crimp-type terminal
Use the Y or round terminal for wiring to the I/O terminal. Use the Y or round terminal with the following dimensions.
Y terminal
Excerpted from dimensions of the Y terminal areas B: Outer size of Y area d: Width of inner Y area
(joint area with screw)
Round terminal
Excerpted from dimensions of the round terminal areas B: Outer diameter d: Inner diameter
(joint area with screw)
Applicable dimension B: 6mm max. d: 3.2mm min.
Applicable dimension B: 6mm max. d: 3.2mm min.
B
B
d
φd
5
Connecting the Unit to External Devices
Connecting the Unit to External Devices
Connection wiring
Refer to the connection wiring diagram shown below when connecting DL-RS1A to an external device such as a PC.
Point
• The length of the communication cable must not exceed 15 m.
Connect the shield wire of the communication cable to the SG terminal of the external device.
• Make sure that the shield wire does not touch other signal wires or the other terminals on the terminal block.
DRQ
SG
RD
SD
SG
SG
DL-RS1A
1
2
3
4
5
6
Shield
External device
(D-sub 9-pin)
RD
SD
DR
ER
RS
CS
SG
Optional cable
An optional cable shown below is used to connect to an external device such as a PC that has a D-sub 9-pin I/O connector.
Part number: OP-81283
39.5
33.2 25
16
Pin layout for D-sub 9-pin connector
5
Front
96
*1 Pin numbers 4 and 6 are connected inside the connector. *2 Pin numbers 7 and 8 are connected inside the connector. *3 Two cables (black and black/white) are connected to the pin number 5.
Pin No. Cable color
1
1-
2 Red/white
3Red
*1
4
-
5 Black, black/white
6*1-
*2
7
-
*2
8
-
9-
5000
50
1
φ7.1
*3
Sample wiring
DL-RS1A
(Communication terminal block)
*1 Insulate either the black or black/white cable that is not used. *2 Connect the shield wire to the SG terminal of DL-RS1A. (Shield wire is connected to the
connector casing.)
Reference
The green and green/white-striped wires are not connected to any of the connector pins.
DRQ
SG
RD
SD
SG
SG
Black, Black/White
1
Red
2
Red/White
3
4
5
6
Shield
1
*
External device
(D-sub 9-pin)
*2
RD
2
3
SD
4
DR
5
SG
6
ER
7
RS
8CS
Input circuit diagram
+5V
6 (DRQ)
Main circuit
(Short-circuit current: 1 mA max.)
* The terminals for SG (Nos. 1, 4, and 5) are connected internally with the blue wire of the sensor
amplifier main unit.
1,4,5 (SG)
*
6
Loading...
+ 16 hidden pages