ET-2200 Series Ethernet I/O Modules
Example: Function 02 (0x02), ReadDIs
Reads the Digital Input value
[Leading 6 bytes]
Command:
01 02 00 00 00 06
[Leading 6 bytes]
Response:
01 02 00 00 00 04
A description of the command and response is as follows:
Command:
Response:
Copyright © 2023 ICP DAS CO., Ltd. All Rights Reserved.
[Leading 6 bytes]
Bytes 00-03
01 02 00 00
Bytes 04-05
00 06
[Request]
Byte 00
01
Byte 01
02
Byte 02-03
00 00
Byte 04-05
00 02
[Leading 6 bytes]
Bytes 00-03
01 02 00 00
Bytes 04-05
00 04
[Response]
Byte 00
01
Byte 01
02
Byte 02
01
Byte 03
03
[Request]
01 02 00 00 00 02
[Response]
01 02 01 03
(Message Number)
(Number of bytes remaining in this frame)
(Net ID)
(Function Code)
(Starting DI Address)
(Number of Points)
(Message Number)
(Number of bytes remaining in this frame)
(Net ID)
(Function Code)
(Byte Count of the Response)
(Value for DI0 to DI1)
-142 -