ET-2200 Series Ethernet I/O Modules
Copyright © 2020 ICP DAS CO., Ltd. All Rights Reserved.
-121 -
Example: Function 06 (0x06), WriteAO
Sets the system timeout to 60 seconds
[Leading 6 bytes]
[Request]
Command:
01 02 00 00 00 06
01 06 01 08 00 3C
[Leading 6 bytes]
[Response]
Response:
01 02 00 00 00 06
01 06 01 08 00 3C
A description of the command and response is as follows:
Command:
[Leading 6 bytes]
Bytes 00-03
01 02 00 00
(Message Number)
Bytes 04-05
00 06
(Number of bytes remaining in this frame)
[Request]
Byte 00
01
(Net ID)
Byte 01
06
(Function Code)
Byte 02-03
0108
(AO Address)
Byte 04-05
003C
(Setsthe system timeout to 60 seconds)
Response:
[Leading 6 bytes]
Bytes 00-03
01 02 00 00
(Message Number)
Bytes 04-05
00 06
(Number of bytes remaining in this frame)
[Response]
Byte 00
01
(Net ID)
Byte 01
06
(Function Code)
Byte 02-03
01 08
(AO Address)
Byte 04-05
003C
(Indicates that the system timeouthas
been set to 60 seconds)