www.rletech.com
53
970.484.6510
8
Modbus Communication
8.2.2 Function 04: Read Input Registers
To read the LD5100 input values, the master must send a Read Input Registers request packet.
The Read Input Registers request packet specifies a start register and the number of registers
to read. The start register is numbered from zero (30001 = zero, 30002 = one, etc).
Table 8.4
Read Input Registers Packet Structure
Read Registers Request Packet
Read Registers Response Packet
Slave Address (1 byte)
Slave Address (1 byte)
04 (Function code) (1 byte)
04 (Function code) (1 byte)
Start Register (2 bytes)
Byte count (1 byte)
# of registers to read (2 bytes)
First register (2 bytes)
Crc Checksum (2 bytes)
Second register (2 bytes)
…
Crc Checksum (2 bytes)
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...