292
RS-232C Units
Section 6-2
Note
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
PORT RESET Response
6-2-13 Reading RS-232C Unit Parameters
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.
Words
Contents (Hex)
Meaning
DM 0100
28 01
EXPLICIT MESSAGE SEND command
code is 28 01 Hex.
DM 0101
00 00
Response code is 0000 Hex (normal
completion).
DM 0102
00 02
Number of bytes received (data length
from word DM 0103 onwards) is 2 bytes.
DM 0103
08 90
Slave node address is 08.
PARAMETER SET response service
code is 90 Hex.
Words
Contents (Hex)
Meaning
DM 0450
28 01
EXPLICIT MESSAGE SEND command
code is 28 01 Hex.
DM 0451
00 00
Response code is 0000 Hex (normal
completion).
DM 0452
00 02
Number of bytes received (data length
from word DM 0453 onwards) is 2 bytes.
DM 0453
08 85
Slave node address is 08.
PORT RESET response service code is
85 Hex.
Buy: www.ValinOnline.com | Phone 844-385-3099 | Email: [email protected]
Содержание CS1W-DRM21
Страница 3: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Страница 7: ...vi Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Страница 11: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Страница 47: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Страница 245: ...228 B7AC Interface Units Section 5 5 Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Страница 315: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Страница 337: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Страница 339: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Страница 371: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Страница 373: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Страница 378: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Страница 379: ...W347 E1 6 Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...