9 function code 08 - loopback message – Honeywell HC900 User Manual

Page 44

Advertising
background image

36

HC900 Hybrid Controller Communications User Guide

Revision 10

12/07

4.9 Function Code 08 - Loopback Message

Description

Echoes received query message.

Query

Message can be any length up to half the length of the data buffer minus 8 bytes.

Example: 00 08 01 02 03 04

Query message format for function code 08

Slave

Address

(00 for TCP)

Function

Code

Any data, length limited to approximately half

the length of the data buffer

CRC

(RTU)

CRC

(RTU)

TCP Example

00

08

01 02 03 04

RTU Example

01

08

01 02 03 04

CRC

CRC

Response

Example: 00 08 01 02 03 04

Response message format for function code 08

Slave

Address

(00 for TCP)

Function

Code

Data bytes received

CRC

(RTU)

CRC

(RTU)

TCP Example

00

08

01 02 03 04

RTU Example

01

08

01 02 03 04

CRC

CRC

Advertising