ICPDAS ET-2268 CR User Manual page 146

Ethernet i/o modules
Table of Contents

Advertisement

ET-2200 Series Ethernet I/O Modules
Example: Function 04 (0x04), Read AIs
Reads the number of the DI channels on the ET-2260
[Leading 6 bytes]
Command:
01 02 00 00 00 06
[Leading 6 bytes]
Response:
01 02 00 00 00 05
A description of the command and response is as follows:
Command:
[Leading 6 bytes]
Bytes 00-03
Bytes 04-05
[Request]
Byte 00
Byte 01
Byte 02-03
Byte 04-05
Response:
[Leading 6 bytes]
Bytes 00-03
Bytes 04-05
[Response]
Byte 00
Byte 01
Byte 02
Byte 03-04
Copyright © 2023 ICP DAS CO., Ltd. All Rights Reserved.
[Request]
01 04 00 64 00 01
[Response]
01 04 02 00 02
01 02 00 00
(Message Number)
00 06
(Number of bytes remaining in this frame)
01
(Net ID)
04
(Function Code)
0064
(Starting AI Address)
00 01
(Number of 16-bit Registers)
01 02 00 00
(Message Number)
00 05
(Number of bytes remaining in this frame)
01
(Net ID)
04
(Function Code)
02
(Byte Count of the Response)
00 02
(Number of DI channels on the ET-2260)
-146 -

Advertisement

Table of Contents
loading

Table of Contents