0X04) Read The Input Registers (Read Ai Values) - ICPDAS ET-2268 CR User Manual

Ethernet i/o modules
Table of Contents

Advertisement

ET-2200 Series Ethernet I/O Modules
6.2.4

04(0x04) Read the Input Registers (Read AI values)

This function code is used to read either the input registers or the current analog input value from
the ET-2200 series module. These registers are also used to store the current value for the digital
counter, the number of DI channels and the number of DO channels, etc.
[Request]
Byte
Description
00
Net ID (Station Number)
01
Function Code
02-03
Starting AI Address
Number of 16-bit Registers
04-05
(Channels)
[Response]
Byte
Description
00
Net ID (Station Number)
01
Function Code
02
Byte Count
03~
Register Values
[Error Response]
Byte
Description
00
Net ID (Station Number)
01
Function Code
02
Exception Code
Copyright © 2023 ICP DAS CO., Ltd. All Rights Reserved.
Size
1 Byte
1 to 247
1 Byte
0x04
Refer to Section
Table" to find the address.
2 Bytes
Byte 02 = high byte
Byte 03 = low byte
Word Count
2 Bytes
Byte 04 = high byte
Byte 05 = low byte
Size
1 Byte
1 to 247
1 Byte
0x04
Byte Count of the Response
1 Byte
(n=Points x 2 Bytes)
Register Values
n= 2;
Byte 03 = high byte
Byte 04 = low byte
n Bytes
.......
n= m; Byte m+1 = high byte
Byte m+2 = low byte
Size
1 Byte
1 to 247
1 Byte
0x84
Refer to the Modbus Standard Specifications
1 Byte
for more details.
Value
6.3
or
6.4
"Modbus Register
Value
Value
-145 -

Advertisement

Table of Contents
loading

Table of Contents