
IM-P198-02
MI Issue 5
75
Modbus RTU read example:
Read float123.456 from holding register 40984.
Command: (from Master)
Field name
Hex value
Slave address
01
Function
03
Address byte Hi
A0
Address byte Lo
18
Bytes to read Hi byte
00
Bytes to read Lo byte
02
CRC Hi byte
66
CRC Lo byte
0C
Response: (from RIM10)
Field name
Hex value
Slave address
01
Function
03
Byte
Count 04
Data Hi (40984)
E9
Data Lo (40984)
79
Data Hi (40985)
42
Data Lo (40985)
F6
CRC Hi byte
AF
CRC Lo byte
50
The returned 4 bytes will be in the order:
0xF6 0x42 0x79 0xE9
To get the correct value of 123.456, the bytes must be re-ordered as:
0x42 0xF6 0xE9 0x79
Содержание RIM10 Series
Страница 2: ...IM P198 02 MI Issue 5 2...
Страница 78: ...IM P198 02 MI Issue 5 78 Appendix B Web page screen shots Fig 86 Fig 88 Fig 87...
Страница 90: ...IM P198 02 MI Issue 5 90...
Страница 91: ...IM P198 02 MI Issue 5 91...
Страница 92: ...IM P198 02 MI Issue 5 92...