B&B Electronics ADAM-6066 - Manual User Manual

Page 131

Advertising
background image

121

Chapter 6

Example: Force coil 3 (address 00003) ON in ADAM-6000 module
01 05 00 03 FF 00
Response message format for function code 05:
The normal response is an echo of the query, returned after the coil state
has been forced.

Function Code 06
Presets integer value into a single register. Request message format for
function code 06:

Example: Preset register 40002 to 00 04 hex in ADAM-6000 module
01 06 00 02 00 04

Response message format for function code 06:
The normal response is an echo of the query, returned after the coil state
has been preset.

Command Body

Station

Address

Function

Code

Coil

Address

High Byte

Coil

Address

Low Byte

Force Data

High Byte

Force Data

Low Byte

Command Body

Station

Address

Function

Code

Register

Address

High Byte

Register

Address

Low Byte

Preset

Data High

Byte

Preset Data

Low Byte

Command Body

Station

Address

Function

Code

Register

Address

High Byte

Register

Address

Low Byte

Preset

Data High

Byte

Preset Data

Low Byte

Advertising