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
Содержание LD5100
Страница 1: ...Leak Detection LD5100 User Guide...
Страница 8: ...970 484 6510 8 rletech com Notes...
Страница 10: ...970 484 6510 10 rletech com C Preventive Maintenance 65 D Troubleshooting 67 E Technical Specifications 71...
Страница 11: ...970 484 6510 11 rletech com...
Страница 12: ...970 484 6510 12 rletech com Notes...
Страница 14: ...970 484 6510 14 rletech com Notes...
Страница 24: ...www rletech com 24 970 484 6510 2 Connections and Settings Notes...
Страница 30: ...www rletech com 30 970 484 6510 4 4 20mA Output Testing Notes...
Страница 48: ...www rletech com 48 970 484 6510 7 EIA 232 Interface Notes...
Страница 60: ...www rletech com 60 970 484 6510 A Updating Firmware Notes...
Страница 66: ...www rletech com 66 970 484 6510 C Preventive Maintenance Notes...
Страница 70: ...www rletech com 70 970 484 6510 D Troubleshooting Notes...