beautypg.com

3 function 06: preset single register, Function 06: preset single register, Table 5.9 – RLE LD2000 User Manual

Page 57: Status flags (even registers 30012-30040), Table 5.10, Preset single register packet structure

background image

www.rletech.com

57

970.484.6510

5

Modbus Communication

5.2.3 Function 06: Preset Single Register

To set a LD2000 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).

14

1 = MBZ15

15

1 = MBZ16

Table 5.9 Status Flags (Even Registers 30012-30040)

Bit

Description

00

1= Leak Alarm

01

1 = Cable Break

02

1 = Contamination Alarm

07

1 = Communication Loss

Table 5.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)

Table 5.8 Status Flags (Register 30011) (continued)

Bit

Description