Packet communications for the ld5100, 1 function 03: read output registers, Function 03: read output registers – RLE LD5100 User Manual
Page 51: Table 8.2, Read output registers packet structure
www.rletech.com
51
970.484.6510
8
Modbus Communication
8.2.
Packet Communications For The LD5100
This section covers the registers, their names, and a brief description of what they refer to.
8.2.1 Function 03: Read Output Registers
To read the LD5100 parameter values, the master must send a Read Output Registers request
packet. The Read Output Registers request packet specifies a start register and the number of
registers to read. The start register is numbered from zero (40001 = zero, 40002 = one, etc).
Table 8.2 Read Output Registers Packet Structure
Read Registers Request Packet
Read Registers Response Packet
Slave Address (1 byte)
Slave Address (1 byte)
03 (Function code) (1 byte)
03 (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)