beautypg.com

Rtu framing, Table 5.9, Response sample – RLE LD1500 V.3.1 User Manual

Page 42

background image

42

LD1500 User Guide

800.518.1519

5

Modbus Communication

5.3. RTU

Framing

The example below shows a typical Query/Response from a LD1500 module.

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

CRC16 checksum.

Register Values:

40001 = 0000 (hex)

40002 = 0000 (hex)

40003 = 0001 (hex)

Table 5.9 Response Sample

Slave

Address

Function

Code

Count

Bytes of

Data

Register

Data

MSB LSB

Register

Data

MSB LSB

Register

Data

MSB LSB

CRC16

LSB

CRC16

MSB

02

04

06

00

00

00

00

00

01

B5

A3