ET-2200 Series Ethernet I/O Modules
Copyright © 2020 ICP DAS CO., Ltd. All Rights Reserved.
-106 -
Example: Function 04 (0x04), Read AIs
Reads the number of the DI channels on the ET-2260
[Leading 6 bytes]
[Request]
Command:
01 02 00 00 00 06
01 04 00 64 00 01
[Leading 6 bytes]
[Response]
Response:
01 02 00 00 00 05
01 04 0200 02
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
04
(Function Code)
Byte 02-03
0064
(Starting AI Address)
Byte 04-05
00 01
(Number of 16-bit Registers)
Response:
[Leading 6 bytes]
Bytes 00-03
01 02 00 00
(Message Number)
Bytes 04-05
00 05
(Number of bytes remaining in this frame)
[Response]
Byte 00
01
(Net ID)
Byte 01
04
(Function Code)
Byte 02
02
(Byte Count of the Response)
Byte 03-04
00 02
(Number of DI channels on the ET-2260)
Содержание ET-2200 Series
Страница 20: ...ET 2200 Series Ethernet I O Modules Copyright 2020 ICP DAS CO Ltd All Rights Reserved 20 ET 2251 ET 2254 2254P...
Страница 21: ...ET 2200 Series Ethernet I O Modules Copyright 2020 ICP DAS CO Ltd All Rights Reserved 21 ET 2255 ET 2255U...
Страница 22: ...ET 2200 Series Ethernet I O Modules Copyright 2020 ICP DAS CO Ltd All Rights Reserved 22 ET 2260 ET 2261...
Страница 23: ...ET 2200 Series Ethernet I O Modules Copyright 2020 ICP DAS CO Ltd All Rights Reserved 23 ET 2261 16 ET 2268...