www.rletech.com
58
970.484.6510
8
Modbus Communication
8.3. RTU
Framing
The example below shows a typical Query/Response from the LD5100 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)
Table 8.12
Query Sample
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 8.13
Response 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
Summary of Contents for LD5100
Page 1: ...Leak Detection LD5100 User Guide...
Page 8: ...970 484 6510 8 rletech com Notes...
Page 11: ...970 484 6510 11 rletech com...
Page 12: ...970 484 6510 12 rletech com Notes...
Page 14: ...970 484 6510 14 rletech com Notes...
Page 24: ...www rletech com 24 970 484 6510 2 Connections and Settings Notes...
Page 30: ...www rletech com 30 970 484 6510 4 4 20mA Output Testing Notes...
Page 48: ...www rletech com 48 970 484 6510 7 EIA 232 Interface Notes...
Page 60: ...www rletech com 60 970 484 6510 A Updating Firmware Notes...
Page 66: ...www rletech com 66 970 484 6510 C Preventive Maintenance Notes...
Page 70: ...www rletech com 70 970 484 6510 D Troubleshooting Notes...