beautypg.com

Packet communications for the ld2100, Function 03: read output registers, Table 5.2 – RLE LD2100 V.2.6 User Manual

Page 69: Read output register packet structure, Table 5.3, Output registers, 1 function 03: read output registers

background image

rletech.com

LD2100 User Guide

69

5

Modbus Communication

5.2. Packet

Communications for the LD2100

This section covers the registers with the name and a brief description of each.

5.2.1 Function 03: Read Output Registers

To read the LD2100 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 5.2 Read Output Register 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)

Cry Checksum (2 bytes)

Table 5.3 Output Registers

Register

Name

Description

Units

Range

40001

Leak Threshold

Trip current for leak

alarm

25-295 uAmps

0-65535

40002

Contamination

Threshold

Trip current for

contamination alarm

20-295 uAmps

0-65535

40003

Re-Alarm Delay

The time that elapses

between when an alarm

is detected and when it is

annunciated

0-24 Hours

0-65535

40004

Latching Alarms

Designate the alarms as

latching or non-latching

0=No, 1=Yes

0-65535

40005

Silence Audible Alarm

Silence the audible

alarm

1=Silenced

0-65535

40006

Reset Alarms

Reset all the alarms

1=Reset

0-65535

40007

Spare

0-65535

40008

Spare

0-65535

40009

Spare

0-65535

40010

Spare

0-65535