Witam! Posiadam DL-RS1A wraz z czujnikiem odległości serii GT2 firmy KEYENCE. Chciałbym sczytać wartość odległości używając do tego sterownika SIEMENS S7-1200. Problem pojawia się w trakcie konfigurowania bloku odpowiedzialnego za komunikację z modułem DL-RS1A. Próbowałem go konfigurować już na wiele sposobów, jednak mimo tego nadal nie mogę odczytać wartości. Instrukcja do tego czujnika i modułu jest w załączniku. Na dodatek otrzymuję błąd nr 8180 czyli "Invalid value for the port ID". Chciałbym prosić o pomoc w rozwiązaniu tego problemu. http://obrazki.elektroda.pl/3338744300_1339937249.jpg
96078E
RS-232C Communication Unit
DL-RS1A
User's Manual (GT2 Edition)
Read this manual before using the system in order to
achieve maximum performance.
Keep this manual in a safe place for future reference.
Introduction
This manual provides an overview of the RS-232C communication unit DL-RS1A and describes the
functions and procedures of the unit.
Be sure to read this manual carefully to ensure safe performance and function of the unit.
Keep this manual in a safe place for future reference.
Ensure that this manual is passed to the end user.
Safety Precautions
General Cautions
• At startup and during operation, be sure to monitor the functions and performance of the DL-RS1A for proper 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.
Symbols
• When the DL-RS1A is used in combination with other instruments, functions and performance may be degraded,
depending on the operating conditions and surrounding environment.
The following symbols alert you to important messages. Be sure to read these messages carefully.
• 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
DANGER
It indicates a hazardous situation which, if not avoided, will result in death or
serious injury.
WARNING
It indicates a hazardous situation which, if not avoided, could result in death
or serious injury.
CAUTION
It indicates a hazardous situation which, if not avoided, could result in minor
or moderate injury.
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
NOTICE
Important
It indicates a situation which, if not avoided, could result in product damage
as well as property damage.
Operating Precautions
It indicates cautions and limitations that must be followed during operation.
WARNING
Point
Reference
It indicates additional information on proper operation.
• Do not use the DL-RS1A with a voltage other than specified voltage, as this
may cause fire, electric shock or equipment failure.
• 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
connecting or disconnecting the cables. Failure to do so may damage the unit.
It indicates tips for better understanding or useful information.
NOTICE
• Do not turn off the power while setting a parameter. Otherwise, the settings
may be partially or completely lost.
■ 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.
Contents
T4 (DL-RS1A command processing time) ................................................................................ 16
T5 (Response send time from DL-RS1A) .................................................................................. 17
T6 (Sensor amplifier settings change time)............................................................................... 17
Safety Precautions
General Cautions
Handling Errors
Operating Precautions
Specifications
Performance Specifications ........................................................................................... 18
Communication Specifications....................................................................................... 18
Dimensions..................................................................................................................... 18
Installation environment
Noise countermeasures
Before Using the Unit
When the unit is mounted on the DIN rail.................................................................................. 18
When the optional fixture (OP-60412) is used........................................................................... 18
Checking the Package Contents ..................................................................................... 2
Part Names and Functions ............................................................................................... 2
Troubleshooting
Connecting the Unit to Sensor Amplifiers
ASCII Code Table
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
Connecting the Unit to External Devices
Communication Terminal Block ....................................................................................... 5
Terminal connection .................................................................................................................... 5
Connection wiring........................................................................................................................ 6
Optional cable ............................................................................................................................. 6
Input circuit diagram ................................................................................................................... 6
Communication Specifications
Communication Specifications......................................................................................... 7
Sensor Amplifier ID Number Assignments....................................................................... 7
DIN rail mount sensor amplifiers ................................................................................................. 7
Panel mount sensor amplifiers .................................................................................................... 7
Large display type sensor amplifiers (GT2-100N/100P) ............................................................. 7
Commands and Responses
Overview of Commands and Responses......................................................................... 8
Command format......................................................................................................................... 8
Response .................................................................................................................................... 8
Error response............................................................................................................................. 9
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).................................. 10
Read with external input to the DRQ terminal (DRQ read)........................................................ 10
Writing ............................................................................................................................ 10
Write to the specified sensor amplifier (SW command) ............................................................ 10
Write to all sensor amplifiers (AW command) ........................................................................... 10
Parameters of Commands and Responses
Communication commands ...................................................................................................... 11
ID numbers................................................................................................................................ 11
Data numbers............................................................................................................................ 11
Control output............................................................................................................................ 13
Error numbers............................................................................................................................ 14
Communication Response Time
Communication Response Time and Time Chart .......................................................... 14
SR command............................................................................................................................. 14
M0 command and MS command.............................................................................................. 14
DRQ input.................................................................................................................................. 15
SW command and AW command ............................................................................................. 15
Time Frames of Communication Response Time .......................................................... 15
T2 (DL-RS1A data processing time) ......................................................................................... 15
T3 (Command send time from external device)........................................................................ 15
96078E
1
Before Using the Unit
Before Using the Unit
(1) Communication setup switches
You can use different ON/OFF combinations to configure the communication settings.
Checking the Package Contents
Setting
Switch No.
Combination
Before using the DL-RS1A, check that the following items are all included.
1
2400bit/s 4800bit/s
ON
2
Baud rate
ON
1 2 3
9600bit/s*
ON
1 2 3
19200bit/s
38400bit/s
ON
ON
1 2 3
1 2 3
1 2 3
* Factory default positions are shown.
Expansion connector cover
3
Important
Do not use combinations other than those shown above for switches
1, 2, and 3.
End unit x 2
OP-26751
RS-232C communication unit
DL-RS1A
8 bit*
ON
Data bit length
4
Switch protection sticker
Instruction manual
7 bit
ON
4
4
* Factory default positions are shown.
5
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.
None*
ON
Even
ON
Odd
ON
None
ON
Parity
6
5 6
5 6
5 6
5 6
* Factory default positions are shown.
Part Names and Functions
Important
6. Read/write
setting switch
4. Communication
status indicators (green)
• 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.
Switch protection sticker
7. Power indicator (green)
5. Alarm indicator (red)
(2) Sensor amplifier connector (for DIN-rail mount type)
Use this connector to connect DL-RS1A to a DIN-rail mount type sensor amplifier.
8. Communication terminal block
(3) Sensor amplifier connector (for panel mount type / large display type)
G
D
3. Sensor amplifier connector
(for panel mount type/
large display type)*
Point
You cannot connect DL-RS1A simultaneously to a DIN-rail mount type sensor amplifier and
a panel mount type / large display type sensor amplifier.
1
2
3
4
5
6
0
#
Use this connector to connect DL-RS1A to a panel mount type / large display type sensor amplifier.
The optional extension cable (OP-35361) must be used for connection.
* A sticker is attached as factory default.
(4) Communication status indicators
These indicators show the communication status of DL-RS1A.
0
N
Indicator
1
2
3
4
5
6
SD
RD
1. Communication setup switch
2
2. Sensor amplifier connector
(for DIN rail mount type)
Behavior
Lights up in green while data is being transmitted.
Lights up in green while data is being received.
Connecting the Unit to Sensor Amplifiers
Before Using the Unit
This section describes how to mount a DL-RS1A and connect it 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 19).
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
■ Mounting the unit on the DIN rail
Incommunicable time
1 to 5
6 to 10
11 to 15
Mounting the Unit
Approx. 2 s
Approx. 4 s
Approx. 6 s
1
Position of the switch
Description
R
(Factory default position)
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.
Point
(3)
direction of arrow (1), push the body down in
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).)
RW
Fit the tab of the lower part of the unit to the
DIN rail. While inserting the unit in the
(6) Read/write setting switch
Turn the read/write setting switch to the RW side and the key-lock function will be applied to
the sensor amplifier, thus any setting operations conducted by buttons, apart from the
display changeover button, will be disabled.
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
(2)
(1)
of arrow (1).
When using the mounting bracket (OP-60412), install it as shown in the illustration below.
(7) Power indicator
Lights up in green when the unit has power.
(8) Communication terminal block
Use the terminals on the terminal block to attach communication cables for connecting the unit with external devices.
KPEV-SP(1P) wire with balanced
type twisted shield (strand wire)
Communication cable
SG
To external device
RD
Mounting bracket:OP-60412
SD
SG
SG
DRQ
* Recommended communication cable
KPEV-SP(1P) wire with balanced type twisted shield (strand wire)
Nominal cross-section area 0.16mm2(AWG25) min.
Terminal No.
1
2
3
4
5
6
Point
Reference
Terminal
Description
Connects to the shielded wire of the communication cable.
The terminals for SG (Nos. 1, 4, and 5) are internally short-circuited.
RD (input) Connects to the SD terminal of an external device via a communication cable.
SD (output) Connects to the RD terminal of an external device via a communication cable.
SG
The terminals for SG (Nos. 1, 4, and 5) are internally short-circuited.
SG
The terminals for SG (Nos. 1, 4, and 5) are internally short-circuited.
When there is a short-circuit between DRQ and SG, the sensor amplifier data is
DRQ (input)
transmitted even without a command from the external device.
SG
A terminal cover is attached to the terminal block.
The terminal cover must be placed over the terminal block when you finish connecting the cables.
The terminals for SG (Nos. 1, 4, and 5) are used in common with the blue wire of the sensor amplifier
main unit.
3
Connecting the Unit to Sensor Amplifiers
Connecting the Unit to Sensor Amplifiers
■ Connecting the DL-RS1A to DIN rail mount sensor amplifiers
Connecting the Unit to Sensor Amplifiers
1
NOTICE
Name
Type of amplifier
DIN rail mount
High-accuracy digital
contact sensor
GT2 Series *1
Panel mount
Large display type
*2
Sensor amplifier
Expansion protective cover
Make sure that the sensor amplifiers are turned off before connecting the RS232C communication unit DL-RS1A to them. Connecting the unit while the
sensor amplifiers are turned on may damage the unit.
2
■ Available sensor amplifiers
*1
Remove the expansion protective cover from the sensor amplifier that you want to connect to
the DL-RS1A.
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.
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.
Main unit
Expansion unit
GT2-71(M)(C)N
GT2-71(M)(C)P
GT2-75N
GT2-75P
GT2-100N
GT2-100P
GT2-72(C)N
GT2-72(C)P
GT2-76N
GT2-76P
-
Sensor amplifier
Max. connectable number
15 units
(Main: 1, Expansion: 14)
15 units
(Main: 1, Expansion: 14)
1 units*2
(Main: 1)
DL-RS1A
If even one GT-70A Series unit is included, then the maximum connectable number becomes 10
units (main: 1, expansion: 9).
For the large display type sensor amplifier, up to 11 expansion unit sensor heads can be added
to one amplifier by connecting the head expansion board to the main unit.
Connector
NOTICE
3
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
illustration to the right. Connecting the unit with
its connector installed at an angle to a sensor
amplifier may damage the unit.
Sensor amplifier connector
RS-232C communication unit DL-RS1A
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
End unit
NOTICE
4
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
may damage the unit.
Connecting the Unit to External Devices
Connecting the Unit to Sensor Amplifiers
■ Connecting the unit to panel mount sensor amplifiers
1
Connect DL-RS1A to the sensor amplifiers using the optional expansion cable (OP-35361).
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.
Remove the
protection sticker
■ Terminal connection
KPEV-SP(1P) wire with balanced
type twisted shield (strand wire)
Expansion cable (cable length: 300 mm)
(OP-35361)
NOTICE
Remove the sensor amplifier connector with pliers (for DIN rail mounting when using with panel
mounted sensor amplifiers) from DL-RS1A unit and install the expansion connector cover
supplied with the unit.
Sensor amplifier connector
(for DIN rail mounting type)
SD
SG
SG
DRQ
*
Recommended communication cable
KPEV-SP(1P) wire with balanced type twisted shield (strand wire)
Nominal cross-section area 0.16mm2 (AWG25) min.
Expansion connector cover
Terminal No.
■ Connecting to a large display type sensor amplifier
6
Connect the sensor amplifier to the RS-232C Communication Unit DL-RS1A using the optional
expansion cable (OP-35361).
Detach the
protection sticker
Point
Detach the
protection sticker
Expansion cable (cable length: 300mm)
• Turn OFF the power before connecting the expansion cable and connect
securely. Diagonal or otherwise improper insertion may damage the
equipment.
• Inserting or pulling the cable when the power is turned ON may damage the
equipment.
2
Reference
Description
SG
2
3
4
5
1
Terminal
Connects to the shielded wire of the communication cable.
The terminals for SG (Nos. 1, 4, and 5) are internally short-circuited.
RD (input) Connects to the SD terminal of an external device via a communication cable.
SD (output) Connects to the RD terminal of an external device via a communication cable.
SG
The terminals for SG (Nos. 1, 4, and 5) are internally short-circuited.
SG
The terminals for SG (Nos. 1, 4, and 5) are internally short-circuited.
When there is a short-circuit between DRQ and SG, the sensor amplifier data is
DRQ (input)
transmitted even without a command from the external device.
1
NOTICE
To external device
RD
• Removing or inserting the cable while the power is on may damage the unit.
2
Communication cable
SG
• 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
connected may damage the unit.
A terminal cover is attached to the terminal block.
The terminal cover must be placed over the terminal block when you finish connecting the cables.
The terminals for SG (Nos. 1, 4, and 5) are used in common with the blue wire of the sensor amplifier
main unit.
● 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)
B
Applicable dimension
B: 6mm max.
d: 3.2mm min.
d
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)
Expansion connector cover
Round terminal
B
φd
Excerpted from dimensions of the round terminal areas Applicable dimension
B: 6mm max.
B: Outer diameter
d: 3.2mm min.
d: Inner diameter
(joint area with screw)
5
Connecting the Unit to External Devices
Connecting the Unit to External Devices
■ Connection wiring
Sample wiring
Refer to the connection wiring diagram shown below when connecting DL-RS1A to an external
device such as a PC.
DL-RS1A
External device
(D-sub 9-pin)
2
2
2
RD
3
3
SD
SG
RD
1
RD
1
RD
Shield*2
Black, Black/White*1
SG
SD
Shield
SG
DL-RS1A
(Communication terminal block)
External device
(D-sub 9-pin)
4
4
DR
Red
Red/White
SD
3
SD
SG
5
5
SG
4
DR
DRQ
6
6
ER
SG
5
ER
7
RS
DRQ
6
RS
8
CS
SG
CS
SG
Point
*1
*2
• 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.
Insulate either the black or black/white cable that is not used.
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.
■ Input circuit diagram
■ 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.
+5V
Main circuit
Part number: OP-81283
5000
39.5
50
1
φ7.1
6 (DRQ)
1,4,5 (SG)*
(Short-circuit current: 1 mA max.)
*
16
33.2
25
Pin layout for D-sub 9-pin connector
5
1
Front
Pin No.
1
Cable color
-
2
6
Red/white
3
9
Red
4*1
-
5
Black, black/white *3
*1
-
7*2
-
6
8*2
*1
*2
*3
6
-
9
-
Pin numbers 4 and 6 are connected inside the connector.
Pin numbers 7 and 8 are connected inside the connector.
Two cables (black and black/white) are connected to the pin number 5.
The terminals for SG (Nos. 1, 4, and 5) are connected internally with the blue wire of the sensor
amplifier main unit.
Communication Specifications
This section provides the communication specifications of DL-RS1A and describes how to configure the unit.
Communication Specifications
■ Large display type sensor amplifiers (GT2-100N/100P)
DL-RS1A
Communication Specifications
The following table lists the communication specifications for DL-RS1A.
Item
Specifications
Communication method
Synchronization method
Transmission code
Communication speed
Data bit length
Parity check
Stop bit length
Data delimiter
Full duplex
Asynchronous
ASCII
2400, 4800, 9600, 19200, 38400 bit/s (Factory default: 9600 bit/s)
7 or 8 bits (Factory default: 8 bits)
None, even, odd (Factory default: none)
1 bit
Receive: automatically detect CR or CR + LF
Send: fixed to CR + LF
Sensor amplifier
Head expansion
board
GT2-100N/100P
For communication settings, refer to page 2.
Sensor Amplifier ID Number Assignments
ID:00
When the main sensor amplifier that is connected to DL-RS1A supports expansion units, the main
sensor amplifier ID number " 00 " is automatically assigned to the main unit and ID numbers " 01 to 14 "
to the expansion units.
ID:01
ID:02
ID:03
ID:04
ID:05
ID:06
ID:07
ID:08
ID:09
ID:10
Point
You cannot change the assignment of sensor amplifier ID numbers.
■ DIN rail mount sensor amplifiers
ID No. 00
01
02
13
14
Main Exp.
Exp.
Exp.
Exp.
Sensor amplifier
ID:00
ID:10 :ID number 00 to 10
DL-RS1A
■ Panel mount sensor amplifiers
ID No.
Sensor amplifier
00
Main
01
Exp.
02
Exp.
Sensor amplifier
DL-RS1A
13
Exp.
14
Exp.
7
Commands and Responses
Commands and Responses
■ Response
Overview of Commands and Responses
ID No. 00
01
02
13
14
When DL-RS1A successfully receives a command from the external device, it automatically returns a
response based on ASCII codes.
For information on the parameters used in the response, refer to " Parameters of Commands and
Responses " (page 11).
Command or DRQ input
Sample response structure
S
Main Exp.
Exp.
Exp.
Exp.
Sensor amplifier
Response
or
error response
DL-RS1A
External device like PLC or PC
■ Command format
You can send specific commands based on ASCII codes from an external device to DL-RS1A.
For information on the parameters used in the command, refer to " Parameters of Commands and
Responses " (page 11).
Sample command format structure
R
(1)
R
(1)
,
ID No.
(2)
,
Data No.
(3)
CR LF
(4)
(1) With the first two bytes, specify the communication command.
(2) Specify the ID number assigned to the target sensor amplifier using two digits (ASCII characters).
(3) Specify the data number for the data you want to read from or write to the sensor amplifier using
three digits (ASCII characters).
(4) Insert CR or CR + LF as the command delimiter.
Important
Example
You must use commas (,) to separate (1), (2), and (3).
,
Data No.
Data
,
(3)
CR LF
(4)
(5)
When the command format " SR,06,101CRLF " is sent to the GT2-70 Series (ID number: 06)
in operation and the response indicating that the Detection mode is " Peak hold " is received:
Response format :
S
R
,
0 6
,
1 0 1
,
0 6
,
1 0 1
CR LF
(53H) (52H)(2CH)(30H) (36H) (2CH)(31H) (30H) (31H)(0DH)(0AH)
bit
15
ASCII character conversion :
bit
0
Value to store in
data memory (hexadecimal)
Data memory 0
S(53H) R(52H)
→ 5352H
Data memory 1
,(2CH) 0(30H)
→ 2C30H
Data memory 2
6(36H) ,(2CH)
→ 362CH
Data memory 3
1(31H) 0(30H)
→ 3130H
Data memory 4
1(31H) CR(0DH)
→ 310DH
Data memory 5
LF(0AH)
→ 0A00H
From an external device, 11-byte data will be sent to the DL-RS1A.
The last byte of the command you send must be CR (0DH) or LF (0AH). Specifying a value
other than CR or LF results in an error response (error number: 00). For information on the
error responses, refer to " Error numbers " (page 14).
2 CR LF
Peak hold
Value to store in
data memory
(hexadecimal)
→
bit
15
bit
0
S(53H) R(52H)
2C30H →
,(2CH) 0(30H)
362CH →
6(36H) ,(2CH)
3130H
R
,
(53H) (52H) (2CH)(3CH) (36H) (2CH) (31H) (30H) (31H) (2CH) (32H) (0DH) (0AH)
5352H
To read the " Detection mode (data number: 101) " from an expansion unit of an active
GT2-70 Series (ID number: 06):
S
8
(2)
ASCII character conversion :
Command :
Important
ID No.
(1) Contains the same communication command as the received command.
(2) Contains the same ID number as the received command.
(3) Contains the same data number as the received command.
(4) Contains the data that DL-RS1A retrieved from the specified sensor amplifier. Contains maximum
of 10 bytes according to the specified data number (3).
(5) Contains CR + LF as the response delimiter.
Example
S
,
→
1(31H) 0(30H)
312CH →
1(31H) ,(2CH)
320DH →
2(32H) CR(0DH)
0A00H →
LF(0AH)
DL-RS1A sends the response to the external device.
Commands and Responses
Commands and Responses
■ Error response
If DL-RS1A could not receive a command from the external device or if the received command
included an error, it automatically returns an " error response " based on ASCII codes.
For information on the parameters used in the error response, refer to page 11.
R
(1)
,
S
R
(2)
,
Command
Error No. CR LF
(3)
(4)
S
(1) Contains " ER " .
(2) Contains the same communication command as the received command.
(3) Contains a two-digit error number (ASCII characters) indicating the error type.
For information on the error numbers, refer to " Error numbers " (page 14).
(4) Contains CR + LF as the error response delimiter.
Example
External devices such as PLC's use the following communication commands to read data from
DL-RS1A.
Read from the specified sensor amplifier (SR command)
Sample error response structure
E
Reading
An error response indicating an " ID number error " as a response to the command
" SR,06,101CRLF " :
R
S
R
E
R
,
S R
,
6 5
ID No. error
ASCII character conversion :
Value to store
in data memory
4552H →
bit
15
bit
0
Data No.
CR LF
ID No.
,
R
,
Data No.
,
S
,
CR LF
(45H) (52H) (2CH) (53H) (52H) (2CH) (36H) (35H) (0DH) (0AH)
,
Data*
CR LF
Error response
E
Error response :
ID No.
,
Response
R
,
Error No. CR LF
* The data length is different depending on the data being read. (Up to 10 characters)
Read all data from all sensor amplifiers (M0 command)
Command
E(45H) R(52H)
2C53H →
,(2CH) S(53H)
522CH →
M
0
CR LF
R(52H) ,(2CH)
3635H →
6(36H) 5(35H)
0D0AH →
Response
CR(0DH) LF(0AH)
M
0
Data of the sensor
amplifier with ID:00
,
DL-RS1A sends the error response to the external device.
,
Data of the sensor
amplifier with ID:01
……
, ,
Data of the sensor amplifier
with the last ID No.
CR LF
Error response
E
R
,
M
0
,
Error No. CR LF
9
Commands and Responses
Commands and Responses
Read output states and data from all sensor amplifiers (MS command)
Writing
Command
M
S
External devices such as PLC's use the following communication commands to write data to
DL-RS1A.
CR LF
Response
M
S
,
Control
output
Point
,
Data of the sensor
amplifier with ID:00
,
Control
output
Sensor amplifier with ID:00
,
Data of the sensor
amplifier with ID:01
…
,
Sensor amplifier with ID:01
Control
output
,
Data of the sensor
amplifier with the last ID No.
Attempting to write data with " read-only " attribute results in a communication error and an
error response (error number: 22).
CR LF
Sensor amplifier with the last ID No.
■ Write to the specified sensor amplifier (SW command)
Error response
E
R
,
M
S
Command
,
Error No. CR LF
S
W
,
ID No.
,
Data No.
,
Setting data*
ID No.
,
Data No.
CR LF
CR LF
Response
Read with external input to the DRQ terminal (DRQ read)
You can send an input signal (by short-circuiting DRQ (terminal number 6) and SG (terminal number
1, 4, or 5)) from an external device such as a PLC instead of sending a command.
S
W
,
Error response
E
R
Input signal
SG
RD
2 ms min.
A
Control
Data of the sensor
amplifier with ID:00
, output ,
Sensor amplifier with ID:00
R
,
D
R
Data of the sensor
amplifier with ID:01
Sensor amplifier with ID:01
Error No. CR LF
W
…
,
Control
output
,
Data of the sensor
amplifier with the last ID No.
,
Data No.
,
Setting data*
CR LF
Response
CR LF
A
W
Sensor amplifier with the last ID No.
,
Data No.
CR LF
Error response
Error response
E
Control
, output ,
,
Command
Response
R
W
■ Write to all sensor amplifiers (AW command)
OFF
DRQ
D
S
* The data length is different depending on the data being written.
ON
SD
SG
SG
,
,
Error No. CR LF
E
R
,
A
W
,
Error No. CR LF
* The data length is different depending on the data being written.
10
Parameters of Commands and Responses
This section describes the parameters used with various commands and responses.
■ Data numbers
Specify the data number using three digits (ASCII characters).
■ Communication commands
● Read-only data
There are two types of communication commands: read commands and write commands.
Communication
command
Parameters of Commands and Responses
The following table lists the types of data that can only be read from GT2 Series sensor amplifiers.
Point
Attribute
Description
SR
Reads the data for the specified data number from the sensor amplifier with the
specified ID number.
M0
Reads the data that DL-RS1A periodically retrieves from all sensor amplifiers.
Read
MS
SW
Write
AW
Data name
number
000
Reads the control output state and data that DL-RS1A periodically retrieves
from all sensor amplifiers.
Data format *1
Number
of bytes
Attribute *2
Calculation display value
002
Raw value (R.V. value)
003
Peak value during sampling period *3
004
Bottom value during sampling period *3
±***.****
9
R
-199.9999 to +199.9999*5
Writes setting data for the specified data number into the sensor amplifier with
the specified ID number.
005
Control output
**
2
R
0: All control outputs are off
1: Only HIGH output is on
2: Only LOW output is on
3: Error
4: Only GO output
8: HH output is on
16: LL output is on
006
Writes setting data for the specified data number into all sensor amplifiers.
Sensor amplifier error state
*****
5
R
0 to 65535*6
±***.****
9
R
-199.9999 to +199.9999
● Data that can be read with communication commands " M0 " , " MS " , and DRQ input
Type of amplifier
Main unit
Expansion unit
Point
Calculation function ON
Calculation
Reference
dedicated mode
difference display
Calculation
function OFF
Other displays
P.V. values
(comparator values)
P.V. values
(comparator values)
R.V. values
(raw values)
R.V. values
(raw values)
Data range
Comparator value (P.V. value)
001
Reads all of the control output state and data that DL-RS1A periodically
retrieves from all sensor amplifiers when a DRQ input is received.
DRQ input
Writing read-only data results in a communication error (error number: 22).
Data
010*4
011*4
013
R.V. value of expansion unit (ID: 04) on which
calculation result was based
015*4
R.V. value of expansion unit (ID: 05) on which
calculation result was based
016*4
R.V. value of expansion unit (ID: 06) on which
calculation result was based
017*4
R.V. value of expansion unit (ID: 07) on which
calculation result was based
018*4
R.V. value of expansion unit (ID: 08) on which
calculation result was based
019*4
R.V. value of expansion unit (ID: 09) on which
calculation result was based
020*4
R.V. value of expansion unit (ID: 10) on which
calculation result was based
021*4
This parameter is used with communication commands " SR " and " SW " . Specify the ID number of the
target sensor amplifier using two digits (ASCII characters).
Example: Sensor amplifier with the ID number 00 = 00, sensor amplifier with the ID number 07 = 07
R.V. value of expansion unit (ID: 03) on which
calculation result was based
014*4
■ ID numbers
R.V. value of expansion unit (ID: 02) on which
calculation result was based
*4
For information on the data and the calculation function, refer to the manual supplied with
the sensor amplifiers.
R.V. value of expansion unit (ID: 01) on which
calculation result was based
012*4
P.V. values
P.V. values
(comparator values) (comparator values)
P.V. values
P.V. values
(comparator values) (comparator values)
R.V. value of main unit (ID: 00) on which
calculation result was based
R.V. value of expansion unit (ID: 11) on which
calculation result was based
*4
R.V. value of expansion unit (ID:12) on which
calculation result was based
*4
023
R.V. value of expansion unit (ID: 13) on which
calculation result was based
024*4
R.V. value of expansion unit (ID: 14) on which
calculation result was based
022
*1
*2
In the Data format column, " ± " indicates that the value can be either " + " or " - " and " * " signifies a
number from " 0 to 9 " .
R: Indicates that the data type can only be read from the sensor amplifiers.
11
Parameters of Commands and Responses
*3
This data type can only be read when the Detection mode of the sensor amplifiers is " Peak-to-peak " hold.
Reference
*4
Parameters of Commands and Responses
This data type allows you to read the peak and bottom values during the measurement period.
This data type can only be read when the calculation function is used.
The data can only be read from the main unit (ID: 00) when performing a calculation other than
reference difference. DL-RS1A reads the R.V. values of the expansion units (ID: 01 - 14), which
are used in the calculation, from the main unit. (Only the main unit holds the R.V. values.)
When performing reference difference, the data can only be read from the expansion units. (Only
the expansion units hold the R.V. values.) DL-RS1A reads the R.V. value of the main unit and the
expansion units, which are used in the calculation, from the expansion units.
When using the calculation function, the sensor amplifiers can only hold the P.V. values
of the calculation results.
By using these read commands, the R.V. values of the sensor amplifiers on which the
held calculation result was based can be read. Therefore, it is possible to read the R.V.
value of each sensor amplifier without being affected by the response delay.
When the data read from the sensor amplifiers is one of the following values, it is not a
comparator value but has a specific meaning.
● Read/write data
The following table lists the types of data that can be read from and written to GT2 Series sensor amplifiers.
Data
number
Data name
Data format *1
050
Perform preset request
*
051
Bank switching state
*
052
Timing status
*
Reference
*5
Data read from
sensor amplifier
+EEE.EEEE
+999.9999
-999.9999
-999.9998
*6
You can read data number " 006 " to check the error status of the sensor amplifiers.
Convert the five digit number (ASCII characters) read from the sensor amplifiers to a binary
number and check the ON/OFF state of each bit to check the error.
Bit
0
1
2
3
4
5
6
7
8 to 15
Sensor amplifier errors
Overcurrent error (ErC)
Head error (ErH)
EEPROM error (ErE)
Core alarm error (Er.chK)
Self-timing delay error (Er.dLY)
Number of units error (Er.Unit)
Calculation error (Er.CAL)
Calculation only mode error (Er.noH)
Not used
Reset request
*
Initial reset request
*
055
Description
The sensor amplifier is in an error state.
The value exceeds the upper limit of the detection range.
The value is below the lower limit of the detection range.
· In cases such as when using the hold mode, the display
of the P.V. value of the sensor amplifier shows " ------ " .
· When using the GT2-100 Series, the data of the ID out of
the range of the valid ID setting is read.
053
054
Error clear request
*
056
Keylock
*
057
Bar display mode
*
060
061
062
063
064
065
066
067
068
069
070
071
072
073
074
075
076
077
078
079
Bank 0 HH setting*7
Bank 0 HIGH setting
Bank 0 LOW setting
Bank 0 LL setting*7
Bank 0 preset value
Bank 1 HH setting*7
Bank 1 HIGH setting
Bank 1 LOW setting
Bank 1 LL setting*7
Bank 1 preset value
Bank 2 HH setting*7
Bank 2 HIGH setting
Bank 2 LOW setting
Bank 2 LL setting*7
Bank 2 preset value
Bank 3 HH setting*7
Bank 3 HIGH setting
Bank 3 LOW setting
Bank 3 LL setting*7
Bank 3 preset value
Number
Attribute *2
Data range
of bytes
R
0 - 2: Last written value
1
0
1: Perform preset *3
W
0
2: Perform preset reset *3
R
0 - 3: Current active bank
0: Switch to bank 0
1
1: Switch to bank 1
W *4
2: Switch to bank 2
3: Switch to bank 3
0: Timing input OFF or measuring
with self-timing
R
1: Timing input ON or not
1
measuring with self-timing
0: Switch while measuring
W
1: Switch while not measuring
R
0 - 1: Last written value
1
W
0
1: Perform reset *3
R
0 - 1: Last written value
1
W
0
1: Perform initial reset *3
R
0 - 1: Last written value
1
W
0
1: Perform error clear *3
0: Unlock
*5
1
R/W
1: Full key lock
2: Key lock
0: Bar display mode
1
R/W*6
1: OK/NG display mode
±***.****
9
R/W
-199.9999 to +199.9999
±***.****
9
R/W
-199.9999 to +199.9999
±***.****
9
R/W
-199.9999 to +199.9999
±***.****
9
R/W
-199.9999 to +199.9999
For information on each error, refer to " GT2 Series User's Manual " .
Reference
• When the data read from a sensor amplifier is " 00033 " :
100
" 33 " converted to binary number is " 0000 0000 0010 0001 " .
Bit 5: Number of units error
**
2
R/W
Bit 0: Overcurrent error
Therefore, this data indicates that a " number of units error " and an " overcurrent error "
have occurred at the sensor amplifier from which it was read.
• If no error has occurred at the sensor amplifier, the data " 00000 " is returned.
12
Calculation mode*8*9
Calculation setting
101
Detection mode
*
1
R/W
0: Do not use calculation function
Higher digit 1: Use calculation function
2: Calculation dedicated mode
0: Maximum value
1: Minimum value
2: Degree of flatness
3: Average
Lower digit
4: Reference difference
5: Twist
6: Warpage
7: Thickness
0: Standard
1: NG hold
2: Peak hold
3: Bottom hold
4: Peak-to-peak
Initial
value
1
0
0
1
1
1
0
0
+007.0000
+005.0000
+001.0000
-001.0000
+000.0000
+007.0000
+005.0000
+001.0000
-001.0000
+000.0000
+007.0000
+005.0000
+001.0000
-001.0000
+000.0000
+007.0000
+005.0000
+001.0000
-001.0000
+000.0000
0
0
0
Parameters of Commands and Responses
Data
number
Data name
Parameters of Commands and Responses
Data format *1
Number
Attribute *2
of bytes
102
Hold update method
*
1
R/W
103
Response time*8
*
1
R/W
104
Timing type
105
Self-timing level
106
Self-timing delay type
107
User-specified delay time
108
Static hold delay stable determination
109
111
Static hold delay stable range
Measurement increase/decrease
direction
Multiplier
112
Output mode
110
113
Display resolution
114
Hysteresis
115
Simultaneous input setting*9
116
Special output setting
*
1
R/W
±***.****
9
R/W
*
1
R/W
****
4
R/W
*
1
R/W
±***.****
9
R/W
*
1
R/W
***.*
5
R/W
*
1
R/W
*
1
R/W
±***.****
9
R/W
*
1
R/W
*
1
*7
R/W
*7
117
118
Limit output switch (HH) position
Limit output switch (LL) position
±***.****
±***.****
9
9
R/W
R/W*7
120
Select preset data
*
1
R/W
121
Preset memory
*
1
R/W
122
Preset point
*
1
R/W
123
Power-saving function (ECO)
*
1
R/W
124
Jam detection function
*
1
R/W
125
Jam detection position
±***.****
9
R/W
126
Batch setting
*
1
R/W*10
130
*1
*2
*3
Analog range setting
131
132
Free range setting (Hi)
Free range setting (Lo)
*
1
R/W*11
±***.****
±***.****
9
9
R/W*11
R/W*11
Data range
0: Timing
1: Regular update
0: hsp (3.0)
1: 5 ms
2: 10 ms
3: 100 ms
4: 500 ms
5: 1000 ms
0: External timing input
1: Rising edge self-timing
2: Falling edge self-timing
-199.9999 to +199.9999
0: Static hold
1: Delay timer
0000 to 9999
0: Default
1: User
+000.0000 to +199.9999
0: Normal
1: Reversed
000.1 to 100.0
0: N.O.
1: N.C.
0: 0.0001
1: 0.001
2: 0.01
3: ---0.1
+000.0000 to +199.9999
0: Individual input
1: Simultaneous input
0: Not used
1: 5-output
2: Limit output
3: Limit output user setting
4: All GO
5: All limit output
-199.9999 to+199.9999
-199.9999 to+199.9999
0:R.V. value
1:P.V. value
0:YES
1:NO
0:Common for all banks
1:Save for each bank
0:OFF
1:HALF
2:ALL
0:OFF
1:ON
2:USER
-199.9999 to+199.9999
0:Individual
1:Batch
0:Default
1:Free range setting
-199.9999 to+199.9999
-199.9999 to+199.9999
Initial
value
*4
*5
0
3
*6
*7
*8
0
The sensor amplifier cannot be written to in a key lock state.
If the keylock function is used on the main unit when batch input is set, the data cannot be
written to expansion units.
Also, when using the GT2-100*, the data can be written only to ID: 00.
When using the GT2-100*, the data can be written only to ID: 00.
When using the GT2-71MC*, the data cannot be read or written.
When writing data numbers 100 and 103 to the sensor amplifiers using the SW command, it
takes more time to change their settings than usual. To determine the time it takes to change the
settings, add the following values to the T6 (Sensor amplifier settings change time) values
shown in " Time Frames of Communication Response Time " (page 15).
+000.5000
Written data
0
Data number 100: Calculation mode
Calculation mode
Data number 103:
OFF
Response time
Calculation mode
ON
1000
0
+000.0100
0
001.0
0
0
+000.0030
0
0
+000.0000
+000.0000
■ Control output
This parameter is used with communication command " MS " and DRQ input. Specify whether the
control outputs (HH/HIGH/GO/LOW/LL outputs) are on or off using a two-digit value (ASCII
character).
By converting the read two-digit value into binary, the control output status can be checked by
looking at whether each bit is turned on or off.
Bit
Control output status
0
1
2
3
4
0
+000.5000
Sensor amplifier response time + 500 ms
The data number 100, 115 can only be read from and written to the sensor amplifier main unit (ID
number 00).
*10 · When using the GT2-100*, the data can be read or written only to ID: 00.
· When using a unit other than the GT2-100*, the data cannot be read or written.
*11 When using the unit other than the GT2-71MC*, the data cannot be read or written.
0
0
Sensor amplifier response time
*9
0
0
Value added to T6
Sensor amplifier response time + 500 ms
HIGH is on
LOW is on
GO is on
HH is on
LL is on
For more detailed information about each output, refer to the " GT2 Series User's Manual " .
Reference
• When the read data is " 18 " :
When " 18 " is converted into binary, the value becomes " 10010 " .
0
0
+012.0000
+000.0000
In the Data format column, " ± " indicates that the value can be either " + " or " - " . " * " signifies a
number from " 0 to 9 " .
Indicates that the data can only be read from (R), can only be written to (W), or can be both read
from and written to (R/W) the sensor amplifiers.
The command is executed only when the setting of the sensor amplifiers is changed from 0 to 1 or
from 0 to 2. To re-execute the command, you must first change the setting to 0, then change it to 1 or
2.
Bit 0: HIGH
Bit 1: LOW
Bit 2: GO
Bit 3: HH
Bit 4: LL
Therefore, " LL " and " LOW " are turned on in the sensor amplifier where the data is
read. (If all of the control outputs are off, " 00000 " is read.)
13
Communication Response Time
Parameters of Commands and Responses
■ Error numbers
The following table lists the error numbers that are returned as error responses when errors occur in
the communication between DL-RS1A and GT2 Series sensor amplifiers.
Each error number is identified with two digits (ASCII characters).
Error
number
Error name
00
Invalid command
error
02
Communication
timeout error
20
Data length error
21
Number of
parameters error
Problem
An invalid command was
received.
Communication could not be
established between the DL and
the amplifier
Data with the correct length was
not received.
The correct number of
parameters for the command
was not received.
Action
Make sure that the external device has sent
a command listed in " Communication
commands " (page 11).
Check if the GT2-100 is not in the initial reset
process or reflecting the valid ID setting.
Make sure that the external device has sent
either " CR " or " CR + LF " as a data delimiter.
Make sure that the number of parameters
and the positions of the commas used as
data delimiters conform to the command
format shown in " Commands and
Responses " (page 8).
·
22
Parameter error
·
·
65
66
67
This section describes the concept of communication response time and the time chart for the
communication commands.
Point
When sending communication commands consecutively from the external device, wait to send
the next command after reception of the response for the previous command from DL-RS1A
completes.
■ SR command
The SR command directly reads data from a sensor amplifier during T4 (DL-RS1A command
processing time).
Make sure that the external device is
sending a command listed in
" Communication commands " (page 11).
(When using the GT2-100) Check that no
attempt is being made to read the data of
the ID out of the range of the valid ID
setting.
Make sure that DL-RS1A and the external
device have the same communication
settings configured. For information on
configuring DL-RS1A, refer to " (1)
Communication setup switches " (page 2).
Make sure that the sent data specified as the ID
The ID number specified with the
ID number error
number is a 2-digit number (ASCII characters)
command is incorrect.
according to the number of connected units.
Check that each of the sensor amplifiers and
DL-RS1A are securely and properly connected
by referring to " Connecting the Unit to Sensor
The communication could not be
Amplifiers " (page 3).
Expansion line error established due to a problem
Make sure that sensor amplifiers that are
with an expansion line.
supported by DL-RS1A are connected (refer to
page 4).Check if the GT2-100 is not in the initial
reset process or reflecting the valid ID setting.
Change the read/write setting switch to the R/
W position to enable writing to DL-RS1A. For
Write control error
DL-RS1A is not writable.
information on the read/write setting switch,
refer to " Part Names and Functions " (page 2).
Communication
error
29
Communication Response Time and Time Chart
Time chart
· A parameter exceeds its range
of value.
The external device is trying to
write a data type that cannot
be written.
The external device is trying to
read a data type that cannot
be read.
The data format is incorrect.
This section describes the communication response time for each communication command and
various time frames.
External device
DL-RS1A
The commands are only sent and received when a response is returned from DL-RS1A to the
external device within 500 ms.
Take the appropriate action to resolve the problem by referring to " Troubleshooting " (page 19).
T5
T4
T3: Command format send time from external device
T4: DL-RS1A command processing time
T5: Response send time from DL-RS1A
* For the specific values (times) of T3 to T5, refer to
" Time Frames of Communication Response Time " (page 15).
An error was detected with RS232C communication.
Point
T3
■ M0 command and MS command
The M0 and MS commands read the buffered data that DL-RS1A periodically retrieves from the
sensor amplifiers.
Therefore, the latest data detected by the sensors can only be read after T2 (DL-RS1A data
processing time) where DL-RS1A retrieves data from the sensor amplifiers.
Detection
Sensor amplifier
DL-RS1A
External device
T1
T4
T2
T5
T3
T1: Sensor amplifier response time (Refer to the instruction manual of the sensor amplifier.)
T2: DL-RS1A data processing time
T3: Command format send time from external device
T4: DL-RS1A command processing time
T5: Response send time from DL-RS1A
* For the specific values (times) of T2 to T5, refer to
" Time Frames of Communication Response Time " (page 15).
14
Communication Response Time
Communication Response Time
■ DRQ input
The data read in response to a DRQ input is the buffered data that DL-RS1A periodically retrieves
from the sensor amplifiers.
Therefore, the latest data detected by the sensors can only be read after T2 (DL-RS1A data
processing time) where DL-RS1A retrieves data from the sensor amplifiers.
Time Frames of Communication Response Time
This section describes the communication time frames (T2 to T6).
Reference
Time chart
■ T2 (DL-RS1A data processing time)
Detection
↓
Sensor amplifier
The maximum time required is shown for each time frame. However, depending on the
actual environment, it may require more time.
For information on the calculation function, refer to the manual supplied with the sensor amplifiers.
T1
● When calculation function of sensor amplifiers is OFF *
DL-RS1A
T4
T2
T5
Number of connected Data processing time (T2)
sensor amplifiers
GT2 Series
DRQ input
2 ms min.
T1: Sensor amplifier response time (Refer to the instruction manual of the sensor amplifier.)
T2: DL-RS1A data processing time
T4: DL-RS1A command processing time
T5: Response send time from DL-RS1A
* For the specific values (times) of T2 to T5, refer to
" Time Frames of Communication Response Time " (page 15).
■ SW command and AW command
The SW and AW commands are write commands.
Time chart
External device
DL-RS1A
Sensor amplifier
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
7 ms
9 ms
13 ms
15 ms
19 ms
21 ms
25 ms
27 ms
31 ms
33 ms
37 ms
39 ms
43 ms
45 ms
49 ms
Important
With the GT2-100, 50 ms is added
to each value in the table.
* This table also applies to the sensor amplifiers that do not have the calculation function.
T3
T4
T5
T6
T3: Command format send time from external device
T4: DL-RS1A command processing time
T5: Response send time from DL-RS1A
T6: Sensor amplifier setting change time
* For the specific values (times) of T3 to T6, refer to
" Time Frames of Communication Response Time " (page 15).
Point
When reading the data applied by settings written to the sensor amplifier with the SW
command or AW command, using the commands (M0, MS) or DRQ inputs, perform reading
after the above " T2 (DL-RS1A data processing time) " elapses.
● When calculation function of sensor amplifiers is ON
Number of connected Data processing time (T2)
sensor amplifiers
GT2 Series
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
10.5 ms
13.5 ms
19.5 ms
22.5 ms
28.5 ms
31.5 ms
37.5 ms
40.5 ms
46.5 ms
49.5 ms
55.5 ms
58.5 ms
64.5 ms
67.5 ms
73.5 ms
Important
With the GT2-100, 75 ms is added
to each value in the table.
■ T3 (Command send time from external device)
Refer to the manual supplied with the external device connected to DL-RS1A.
15
Communication Response Time
Communication Response Time
● Write commands
■ T4 (DL-RS1A command processing time)
The processing time varies according to the command sent from the external device.
Communication command
● Read commands
Communication command
SR
M0/MS/DRQ input
Number of connected
sensor amplifiers
Command processing time (T4)
GT2 Series
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
1 to 10
11 to 15
14 ms
15 ms
17 ms
18 ms
20 ms
21 ms
23 ms
24 ms
26 ms
27 ms
29 ms
30 ms
32 ms
33 ms
35 ms
4 ms
6 ms
SW
AW
Important
In regards to the GT2-1000, when using the SR command, 25 ms will be added to the graph/
table values.
Number of connected
sensor amplifiers
Command processing time (T4)
GT2 Series
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
14 ms
15 ms
17 ms
18 ms
20 ms
21 ms
23 ms
24 ms
26 ms
27 ms
29 ms
30 ms
32 ms
33 ms
35 ms
57.5 ms
58.5 ms
60.5 ms
61.5 ms
63.5 ms
64.5 ms
66.5 ms
67.5 ms
69.5 ms
70.5 ms
72.5 ms
73.5 ms
75.5 ms
76.5 ms
78.5 ms
Important
In regards to the GT2-1000, when using the SR command, 25 ms will be added to the graph/
table values.
16
Communication Response Time
Communication Response Time
■ T5 (Response send time from DL-RS1A)
■ T6 (Sensor amplifier settings change time)
The time required to send a response varies depending on the communication speed, data bit
length, and number of bytes.
For information on the communication settings, refer to page 2.
The response time can be calculated using the following formula:
T5 = (number of bytes) x (data bit length + 4) / (communication speed)
For information on the calculation function, refer to the manual supplied with the sensor amplifiers.
● When calculation function of sensor amplifiers is OFF *
T6 = 0 ms for SW and AW commands; the sensor amplifiers complete modifying their settings during
the T4 period.
* This table also applies to the sensor amplifiers that do not have the calculation function.
● When calculation function of sensor amplifiers is ON
● Number of bytes for different commands
SW and AW commands both require the processing time shown below.
SR command : (number of bytes in the read data) + 12
M0 command : {(number of bytes in the read data) + 1} number of connected sensor amplifiers + 4
MS command : {(number of bytes in the read data) + 3} number of connected sensor amplifiers + 4
DRQ input
: {(number of bytes in the read data) + 3} number of connected sensor amplifiers + 4
SW command : 11
AW command : 8
* For information on the number of bytes in the write data and the number of bytes in the read data,
refer to " Parameters of Commands and Responses " (page 11).
Number of connected sensor amplifiers
Settings change time (T6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
7 ms
9 ms
13 ms
15 ms
19 ms
21 ms
25 ms
27 ms
31 ms
33 ms
37 ms
39 ms
43 ms
45 ms
49 ms
Sample calculation
Number of bytes
Data length
Communication speed
Response time
21
114
21
114
8 bit
8 bit
7 bit
7 bit
9600 bps
9600 bps
38400 bps
38400 bps
26 ms
143 ms
6 ms
33 ms
Important
With the GT2-100, 50 ms is added to each value in the table.
17
Specifications
Specifications
Performance Specifications
Dimensions
The following table shows the performance specifications for DL-RS1A.
Item
Current consumption
Number of connectable
sensor amplifiers
Ambient
temperature
Relative
humidity
Vibration
Environmental
Material
Weight
Accessories
22.5
Varies depending on the model*
2 communication status indicators (green), alarm indicator (red), power indicator
(green)
Indicators
43.8
37.2
Power supply voltage
Specifications
DL-RS1A
20 to 30 VDC, including 10% ripple (P-P). Class2
(Supplied from the connected sensor amplifier)
25 mA max.
(48.2)
Model
■ When the unit is mounted on the DIN rail
-10 to +55°C (No freezing)
35 to 85% RH (No condensation)
21.1
10 to 55 Hz, compound amplitude 1.5 mm, 2 hours for each of XYZ axes
Main unit housing: polycarbonate
Approx. 53 g
Instruction manual, 2 end units, expansion connector cover, switch protection
sticker
* The number of connectable sensor amplifiers varies depending on the model to be connected.
35.4
70
Unit:mm
■ When the optional fixture (OP-60412) is used
• When configured with the GT2-70 Series units: Up to 15 units (including the master unit)
• GT2-100 (large display type): 1 unit (up to 11 sensor heads can be added to one sensor amplifier by connecting
Communication Specifications
5
51.3
43.8
37.2
the head expansion board)
The following table shows the communication specifications for DL-RS1A.
Item
Specifications
Transmission code
ASCII
2400, 4800, 9600, 19200, 38400 bit/s
(Factory default: 9600 bit/s)
7 or 8 bits (Factory default: 8 bits)
None, even, odd (Factory default: none)
1 bit
Receive: automatically detect CR or CR + LF
Send: fixed to CR + LF
Communication speed
(Baud rate)
Data bit length
Parity check
Stop bit length
Data delimiter
18
31.4
15
2-φ3.4
70
Full duplex
Asynchronous
2-(4.4x3.4)
22.5
Communication method
Synchronization method
15
28.5
35.5
Unit:mm
Problem
Cause
ASCII Code Table
Action
Power is not
Make sure that the voltage of the power supplied to the
supplied.
sensor amplifier main unit is 20 to 30 VDC.
DL-RS1A is not
The power indicator (POWER)
properly inserted to
Reconnect the unit following the instructions in " Connecting
does not light up.
the expansion
the Unit to Sensor Amplifiers " (page 3).
connector of the
sensor amplifier.
DL-RS1A is
Make sure that the unit is connected to an appropriate
connected to a
The alarm indicator lights up
sensor amplifier model (refer to " Available sensor amplifiers "
sensor amplifier that
before communication starts.
(page 4)).Reconnect the unit following the instructions in
does not support DL " Connecting the Unit to Sensor Amplifiers " (page 3).
RS1A.
The RD terminal of
DL-RS1A is not
The communication status
Check the connection wiring by referring to " Connecting the
connected to the
indicator (RD) of DL-RS1A does
Unit to External Devices " (page 5).
SD terminal of the
not flash when you send a
external device.
command from an external
No communication
device.
Make sure that communication commands are sent out from
data is sent from the
the external device.
external device.
The alarm indicator lights up
while data is transmitted.
Make sure that DL-RS1A and the external device have the
Communication
same settings specified for communication speed, data bit
The communication status
settings are
length, and parity check.
indicator (RD) of DL-RS1A
For information on configuring DL-RS1A, refer to " Part
flashes but the communication incorrect.
Names and Functions " (page 2).
status indicator (SD) does not
flash while data is transmitted.
The communication status
Lower the communication speed. Use a shielded cable for
indicator (SD) of DL-RS1A
Proper
the communication cable (refer to " Connecting the Unit to
flashes while data is
communication is
transmitted, but the data cannot
External Devices " (page 5)). Modify the connection wiring so
not established.
be retrieved by an external
that noise does not enter the communication cable.
device.
A communication error
response is returned from DL- For cause and action, refer to page 14.
RS1A while data is transmitted.
The following table lists the ASCII codes.
High-order 4 bits
2
3
L
S
0 @ P ` p
D
C
1
! 1
A Q a
D
” 2
B R
b
r
D
C
3
# 3
C S
c
s
E
D
O
C
T
4
N
N
A
Q
K
A
S
C
Y
K
N
B
E
E
T
L
B
B CA
S
N
$ 4
D
T
d
t
E
% 5
E U
e
u
& 6
F
f
v
0
0
N
1
S
2
S
3
E
4
5
Low-order 4 bits
Troubleshooting
6
7
8
U
L
O
1
D
E
H
T
C
2
X
T
X
P
4
5
V
6
7
8
9
q
’ 7 G W g w
( 8 H X
9 HT EM ) 9 I Y
S
A LF UB
: J Z
h
x
i
y
j
z
B VT SC + ; K [ k {
C FF → , < L \ l |
D CR ← ー = M ] m }
E S ↑ . > N ^ n ~
E
O
F SI ↓ / ?
O _ o
D
E
L
19
WARRANTY
KEYENCE products are strictly factory-inspected. However, in the event of a failure,
contact your nearest KEYENCE office with details of the failure.
Revision History
Date of printing
Version
February 2010
First edition
Revision contents
Released for each model.
1. WARRANTY PERIOD
The warranty period shall be for one year from the date that the product has been delivered
to the location specified by the purchaser.
2. WARRANTY SCOPE
(1) If a failure attributable to KEYENCE occurs within the abovementioned warranty period,
we will repair the product, free of charge. However, the following cases shall be excluded
from the warranty scope.
• Any failure resulting from improper conditions, improper environments, improper handling,
or improper usage other than described in the instruction manual, the user’s manual,
or the specifications specifically arranged between the purchaser and KEYENCE.
• Any failure resulting from factors other than a defect of our product, such as the
purchaser’s equipment or the design of the purchaser’s software.
• Any failure resulting from modifications or repairs carried out by any person other than
KEYENCE staff.
• Any failure that can certainly be prevented when the expendable part(s) is maintained
or replaced correctly as described in the instruction manual, the user’s manual, etc.
• Any failure caused by a factor that cannot be foreseen at a scientific/technical level at
the time when the product has been shipped from KEYENCE.
• Any disaster such as fire, earthquake, and flood, or any other external factor, such as
abnormal voltage, for which we are not liable.
(2) The warranty scope is limited to the extent set forth in item (1), and KEYENCE assumes no
liability for any purchaser’s secondary damage (damage of equipment, loss of opportunities,
loss of profits, etc.) or any other damage resulting from a failure of our product.
3. PRODUCT APPLICABILITY
KEYENCE products are designed and manufactured as general-purpose products for general
industries. Therefore, our products are not intended for the applications below and are not
applicable to them. If, however, the purchaser consults with us in advance regarding the
employment of our product, understands the specifications, ratings, and performance of the
product on their own responsibility, and takes necessary safety measures, the product may
be applied. In this case, the warranty scope shall be the same as above.
• Facilities where the product may greatly affect human life or property, such as nuclear
power plants, aviation, railroads, ships, motor vehicles, or medical equipment
• Public utilities such as electricity, gas, or water services
• Usage outdoors, under similar conditions or in similar environments
Copyright (c) 2010 KEYENCE CORPORATION. All rights reserved.
189031E 1020-1 96078E Printed in Japan