
10
Commands and Responses
Read output states and data from all sensor amplifiers (MS command)
Command
Response
Error 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.
Response
Error response
M S CR LF
M
S
Control
output
Control
output
Control
output
CR LF
Data of the sensor
amplifier with ID:00
,, ,,
Data of the sensor
amplifier with ID:01
…
Data of the sensor
amplifier with the last ID No.
,,
Sensor amplifier with ID:00 Sensor amplifier with ID:01 Sensor amplifier with the last ID No.
ER CR LF
,
MS
,
Error No.
2 ms min.
Input signal
ON
OFF
SG
RD
SD
SG
SG
DRQ
DR
Control
output
Control
output
Control
output
CR LF
Data of the sensor
amplifier with ID:00
,, ,,
Data of the sensor
amplifier with ID:01
…
Data of the sensor
amplifier with the last ID No.
,,
Sensor amplifier with ID:00 Sensor amplifier with ID:01 Sensor amplifier with the last ID No.
Commands and Responses
Writing
External devices such as PLC's use the following communication commands to write data to
DL-RS1A.
Attempting to write data with "read-only" attribute results in a communication error and an
error response (error number: 22).
■ Write to the specified sensor amplifier (SW command)
Command
Response
Error response
* The data length is different depending on the data being written.
■ Write to all sensor amplifiers (AW command)
Command
Response
Error response
* The data length is different depending on the data being written.
SW CR LFID No. Data No.
,,
Setting data*
,
SW CR LFID No. Data No.
,,
ER CR LF
,
SW
,
Error No.
AW CR LFData No.
,
Setting data*
,
AW CR LFData No.
,
ER CR LF
,
AW
,
Error No.
Komentáře k této Příručce