Rtu Framing; Table 5.10 Query Sample; Table 5.11 Response Sample - RLE Technologies LD5200 User Manual

Hide thumbs Also See for LD5200:
Table of Contents

Advertisement

5
Modbus Communication
5.5

RTU Framing

The example below shows a typical Query/Response from the LD5200 module.
Slave
Function
Address
Code
02
04
Table 5.10
Query Sample
Slave
Function
Address
Code
02
04
Table 5.11
Response Sample
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)
102
Starting
Starting
Register
Register
"Msb"
"Lsb"
00
00
Count
Register
Bytes of
Data
Data
Msb Lsb
06
00
00
LD5200 User Guide
Numbers
of
Number of
Registers
Registers
"Lsb"
"Lsb"
00
03
Register
Register
Data
Data
Msb Lsb
Msb Lsb
00
00
00
01
CRC 16
CRC
"Lsb"
"Msb"
B5
A3
CRC 16
CRC 16
"Lsb"
"Msb"
B5
A3
800.518.1519

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LD5200 and is the answer not in the manual?

Table of Contents