3 function 06: preset single register, Function 06: preset single register, Table 8.8 – RLE LD5100 User Manual
Page 56: Status flags (register 30011), Table 8.9, Status flags (register 30012 - 30033), Table 8.10, Preset single register packet structure
www.rletech.com
56
970.484.6510
8
Modbus Communication
8.2.3 Function 06: Preset Single Register
To set the LD5100 parameter value, the master must send a Preset Single Register request
packet. The Preset Single Register request packet specifies a register and the data to write to
that register. The register is numbered from zero (40001 = zero, 40002 = one, etc).
Table 8.8 Status Flags (Register 30011)
Bit
Description
00
1 = Not enabled
01
1 = Enabled, b1=MBZ2
02
1 = MBZ3
03
1 = MBZ4
04
1 = MBZ5
05
1 = MBZ6
06
1 = MBZ7
07
1 = MBZ8
08
1 = MBZ9
09
1 = MBZ20
10
1 = MBZ11
11
1 = MBZ12
Table 8.9 Status Flags (Register 30012 - 30033)
Bit
Description
00
1= Leak Detected
01
1 = Cable Break
02
1 = Contamination
07
1 = Communication Loss
Table 8.10 Preset Single Register Packet Structure
Preset Register Request Packet
Preset Register Response Packet
Slave Address (1 byte)
Slave Address (1 byte)
06 (Function code) (1 byte)
06 (Function code) (1 byte)
Register (2 bytes)
Register (2 byte)
Data (2 bytes)
Data (2 bytes)
Crc Checksum (2 bytes)
Crc Checksum (2 bytes)