5 rtu framing, Rtu framing, Table 5.10 – RLE LD5200 V.2.3 User Manual
Page 100: Query sample, Table 5.11, Response sample
![background image](https://www.manualsdir.com/files/802966/content/doc100.png)
100
LD5200 User Guide
800.518.1519
5
Modbus Communication
5.5 RTU
Framing
The example below shows a typical Query/Response from the LD5200 module.
Slave address 2 responds to Function Code 4 with 6 bytes of hexadecimal data and ends with
CRC16 checksum
Register Values:
40001 = 0000 (hex)
40002 = 0000 (hex)
40003 = 0001 (hex)
Slave
Address
Function
Code
Starting
Register
“Msb”
Starting
Register
“Lsb”
Numbers
of
Registers
“Lsb”
Number of
Registers
“Lsb”
CRC 16
“Lsb”
CRC
“Msb”
02
04
00
00
00
03
B5
A3
Table 5.10
Query Sample
Slave
Address
Function
Code
Count
Bytes of
Data
Register
Data
Msb Lsb
Register
Data
Msb Lsb
Register
Data
Msb Lsb
CRC 16
“Lsb”
CRC 16
“Msb”
02
04
06
00
00
00 00
00 01
B5
A3
Table 5.11
Response Sample