B&B Electronics ADAM-6066 - Manual User Manual

Page 133

Advertising
background image

123

Chapter 6

Response message format for function code 08: The normal responses
return the station address, function code, start address, and requested
number of coil forced.

Example: 01 0F 00 11 00 0A

Function Code 16 (10 hex)
Preset values into a sequence of holding registers. Request message for-
mat for function code 16:

Example: Preset constant #1 (address 40009) to 100.0 in ADAM-6000
module.
01 10 00 09 00 02 04 42 C8 00 00

Response message format for function code 08: The normal responses
return the station address, function code, start address, and requested
number of registers preset.

Example: 01 10 00 09 00 02

Command Body

Station

Address

Function

Code

Start

Address

High Byte

Start

Address

Low Byte

Requested

Number of

Coil High

Byte

Requested

Number of

Coil Low

Byte

Command Body

Station

Address

Function

Code

Start

Address

High Byte

Start

Address

Low Byte

Requested

Number of

Register

High Byte

Requested

Number of

Register

Low Byte

Byte

Count

Data

Command Body

Station

Address

Function

Code

Start

Address

High Byte

Start

Address

Low Byte

Requested

Number of

Register High

Byte

Requested

Number of

Register Low

Byte

Advertising