beautypg.com

Rtu framing, Table 4.6, Status flags (register 30001) – RLE 10K V.2.5.a User Manual

Page 34: Table 4.7, Response sample

background image

34

SeaHawk 10K User Guide

800.518.1519

4

Modbus Communication

4.3. RTU

Framing

The example below shows a typical Query/Response from an SeaHawk 10K module.

Slave address 2 responds to Function Code 4 with six bytes of hexadecimal data and ends with

CRC16 checksum.

Register Values:

40001 = 0000 (hex)

40002 = 0000 (hex)

40003 = 0001 (hex)

30009

Version

Firmware version

x.x.x
(If the register reads

301, the firmware

version is 3.0.1)

0-65535

38001

Leak Distance

Leak distance in meters -

float point - displays with a

tenths place decimal value.

This register must be viewed

and displayed as float

inverse.

Meters

0.0-9999.9

38003

Cable Length

Cable length in meters - float

point - displays with a tenths

place decimal value. This

register must be viewed and

displayed as float inverse.

Meters

0.0-9999.9

Register

Name

Description

Units

Range

Table 4.5

Input Registers (continued)

Bit

Description

00

1 = Leak detected

01

1 = Cable break detected

02

1 = Contamination detected

03

1 = Summary alarm

04-15

Spare

Table 4.6

Status Flags (Register 30001)

Slave

Address

Function

Code

Count Bytes

of Data

Register

Data

Msb

Lsb

Register

Data

Msb

Lsb

Register

Data

Msb

Lsb

CRC

16

“Lsb”

CRC

126

“Msb”

02

04

06

00 00

00 00

00 01

B5

A3

Table 4.7

Response Sample