Download Print this page

Advantech ADAM-6000 series User Manual page 109

Ethernet-based data acquisition and control modules
Hide thumbs Also See for ADAM-6000 series:

Advertisement

Response message format for function code 03 or 04:
Station
Function
Address
Code
Example: Analog input #1 and #2 as floating point values where AI#1=100.0 and AI#2=55.32
01 04 08 42 C8 00 00 47 AE 42 5D
Function Code 05
Force a single coil to either ON or OFF. The requested ON/OFF state is specified by a constant in the
query data field. A value of FF 00 hex requests it to be ON. A value of 00 00 hex requests it to be OFF.
And a value of FF FF hex requests it to release the force.
Request message format for function code 05:
Station
Function
Address
Code
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.
Station
Function
Address
Code
Function Code 06
Presets integer value into a single register.
Request message format for function code 06:
Station
Function
Address
Code
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.
Station
Function
Address
Code
Command Body
Byte
Data
Count
Command Body
Coil Address
Coil Address
High Byte
Low Byte
Command Body
Coil Address
Coil Address
High Byte
Low Byte
Command Body
Register Address
Register Address
High Byte
Command Body
Register Address
Register Address
High Byte
Data
Force Data
High Byte
Force Data
High Byte
Preset Data
Low Byte
High Byte
Preset Data
Low Byte
High Byte
...
Force Data
Low Byte
Force Data
Low Byte
Preset Data
Low Byte
Preset Data
Low Byte

Advertisement

loading