KEYENCE DL-RS1A/IG User Manual
Page 18
16
Parameters of Commands and Responses
■
Control outputs (Judgment outputs)
This parameter is used with communication command "MS" and DRQ input. For the IG Series, specify
the ON/OFF state of the judgment output (HIGH/LOW/GO judgment output) and edge check output
using two digits (ASCII character).
Convert the two 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 judgment output status.
When the data read from a sensor amplifier is "12":
"12" converted to binary number is "1100".
Bit
Judgment output
0
0: HIGH judgment output OFF, 1: HIGH judgment output ON
1
0: LOW judgment output OFF, 1: LOW judgment output ON
2
0: GO judgment output OFF, 1: GO judgment output ON
3
0: Edge check output OFF, 1: Edge check output ON
Reference
Bit 3: Edge check output ON
Bit 0: HIGH judgment output OFF
Bit 2: GO judgment output ON
Bit 1: LOW judgment output OFF
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 with the IG Series.
Each error number is identified with two digits (ASCII characters).
The commands are only sent and received when a response is returned from DL-RS1A to the
external device within 1 sec.
Take the appropriate action to resolve the problem by referring to "Troubleshooting" (page 21).
Error
number
Error name
Problem
Action
00
Invalid command
error
An invalid command was
received.
Make sure that the external device has
sent a command listed in
"Communication commands" (page 10).
20
Data length error
Data with the correct length was
not received.
Make sure that the external device has sent
either "CR" or "CR + LF" as a data delimiter.
21
Number of
parameters error
The correct number of parameters
for the command was not
received.
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 7).
22
Parameter error
·
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.
Make sure that the external device is
sending a command listed in
"Communication commands" (page 10).
29
Communication error
An error was detected with
RS-232C communication.
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).
65
ID number error
The ID number specified with the
command is incorrect.
Make sure that the sent data specified as
the ID number is a 2-digit number (ASCII
characters) according to the number of
connected units.
66
Expansion line error
The communication could not be
established due to a problem with
an expansion line.
Check that each of the sensor amplifiers
and DL-RS1A are securely and properly
connected by referring to "Connecting
the Unit to Sensor Amplifiers" (page 3).
Make sure that sensor amplifiers that are
supported by DL-RS1A are connected
(refer to page 4).
67
Write control error
DL-RS1A is not writable.
Change the read/write setting switch to
the R/W position to enable writing to DL-
RS1A. For information on the read/write
setting switch, refer to "Part Names and
Functions" (page 2).
Point