
44
HX-RIO3 Series
A.3.4. 4 (0x04) Read Input Registers
This function code is used to read from 1 to approx. 125 contiguous input registers in a remote device.
The Request PDU specifies the starting register address and the number of registers. The register data
in the response message are packed as two bytes per register, with the binary contents right justified
within each byte. For each register, the first byte contains the high order bits and the second contains the
low order bits.
•
Request
Field name
Example
RTU
Start of Frame
-
t1-t2-t3
Slave Address
0x07
0x07
Function Code
0x04
0x04
Starting Address Hi
0x00
0x00
Starting Address Lo
0x00
0x00
Quantity of Register Hi
0x00
0x00
Quantity of Register Lo
0x02
0x02
Error Check (CRC/LRC) -
0x71, 0xAD
End of Frame
-
t1-t2-t3
•
Response
Field name
Example
RTU
Start of Frame
-
t1-t2-t3
Slave Address
0x07
0x07
Function Code
0x04
0x04
Byte Count
0x04
0x04
Input Register #0 Hi
0x00
0x00
Input Register #0 Lo
0x80
0x80
Input Register #1 Hi
0x00
0x00
Input Register #1 Lo
0x00
0x00
Error Check (CRC/LRC) -
0x9C, 0x6C
End of Frame
-
t1-t2-t3
-
In case of address 0x0000, 0x0001 input register value: 0x0080, 0x0000.
Содержание HX-RIO3 Series
Страница 1: ...1 HX RIO3 Series Version 1 02 MODBUS Programmable I O RIO3 CP3MBT User Manual ...
Страница 2: ...2 HX RIO3 Series DOCUMENT CHANGE SUMMARY REV PAGE REMARKS DATE EDITOR 1 02 All new Jan 21 Faber ...
Страница 36: ...36 HX RIO3 Series 4 Search the file to download using a search button 5 Click a Upload Button ...
Страница 37: ...37 HX RIO3 Series 6 If it finish you can see a below message File Upload Done And click a Reset Adapter button ...