RS-232C Units
Note
6-2-13 Reading RS-232C Unit Parameters
292
Buy: www.ValinOnline.com | Phone 844-385-3099 | Email: CustomerService@valin.com
1. When transmitting explicit messages from an OMRON Master Unit, spec-
ify 2 bytes each for the Class ID and the Instance ID. Set 1 byte as the At-
tribute ID for the parameter setting command.
2. The parameters that are set are held internally.
3. To enable the parameters that have been set, the RS-232C PORT RESET
command has been used in the program examples. The parameters can
also be enabled, however, by turning OFF the power to the RS-232C Unit
and then turning it ON again.
Responses
The following responses will be stored if the parameters are set properly.
PARAMETER SET Response
Words
Contents (Hex)
DM 0100
28 01
DM 0101
00 00
DM 0102
00 02
DM 0103
08 90
PORT RESET Response
Words
Contents (Hex)
DM 0450
28 01
DM 0451
00 00
DM 0452
00 02
DM 0453
08 85
With the following example, the port parameters that are set for the RS-232C
Unit are all read for the port when IR 00004 (port 1) or IR 00005 (port 2) turns
ON in the CPU Unit of the Master Unit.
When the RS-232C Unit's PARAMETER READ command is used, the param-
eters that are valid at that time will be read. After setting the parameters, the
RS-232C Unit must be turned OFF and then ON again, or the ports must be
reset for the new parameters to be enabled.
Section 6-2
Meaning
EXPLICIT MESSAGE SEND command
code is 28 01 Hex.
Response code is 0000 Hex (normal
completion).
Number of bytes received (data length
from word DM 0103 onwards) is 2 bytes.
Slave node address is 08.
PARAMETER SET response service
code is 90 Hex.
Meaning
EXPLICIT MESSAGE SEND command
code is 28 01 Hex.
Response code is 0000 Hex (normal
completion).
Number of bytes received (data length
from word DM 0453 onwards) is 2 bytes.
Slave node address is 08.
PORT RESET response service code is
85 Hex.
Need help?
Do you have a question about the DeviceNet CV Series and is the answer not in the manual?