EasyManua.ls Logo

Advantech ADAM-6000 series - Page 110

Advantech ADAM-6000 series
156 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Function Code 08
Echoes received query message. Message can be any length up to half the length of the data buffer
minus 8 bytes.
Request message format for function code 08:
Command Body
Station
Address
Function
Code
Any data, length limited to approximately half the
length of the data buffer
Example: 01 08 00 02 00 04
Response message format for function code 08:
Command Body
Station
Address
Function
Code
Data bytes received
Example: 01 08 00 02 00 04
Function Code 15 (0F hex)
Forces each coil in a sequence of coils to either ON or OFF.
Request message format for function code 15:
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
Byte
Count
Force Data
High Byte
Force Data
Low Byte
Example: Request to force a series of 10 coils starting at address 00017 (11 hex) in ADAM-6000
module.
01 0F 00 11 00 0A 02 CD 01
The query data contents are two bytes: CD 01 hex, equal to 1100 1101 0000 0001 binary. The
binary bits are mapped to the addresses in the following way.
Bit: 1 1 0 0 1 1 0 1 0 0 0 0 0 0 0 1
Address (000XX): 24 23 22 21 20 19 18 17 - - - - - - 26 25
Response message format for function code 08:
The normal responses return the station address, function code, start address, and requested number of
coil forced.
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
Example: 01 0F 00 11 00 0A

Related product manuals