![background image](http://html1.mh-extra.com/html/advantech/adam-6000-series/adam-6000-series_user-manual_2857302108.webp)
Response message format for function code 01:
Command Body
Station
Address
Function
Code
Byte
Count
Data Data
…
Example: Coils number 2 and 7 are on, all others are off.
01 01 01 42
In the response the status of coils 1 to 8 is shown as the byte value 42 hex, equal to 0100 0010
binary.
Function Code 02
The function code 02 is used to read the discrete input’s ON/OFF status of ADAM-6000 in a binary data
format.
Request message format for function code 02:
Command Body
Station
Address
Function
Code
Start Address
High Byte
Start Address
Low Byte
Requested Number
of Input High Byte
Requested Number
of Input Low Byte
Example: Read coil number 1 to 8 (address number 00001 to 00008) from ADAM-6000 modules
01 01 00 01 00 08
Response message format for function code 02:
Command Body
Station
Address
Function
Code
Byte
Count
Data Data
…
Example: input number 2 and 3 are on, all others are off.
01 01 01 60
In the response the status of input 1 to 8 is shown as the byte value 60 hex, equal to 0110 0000
binary.
Function Code 03/04
The function code 03 or 04 is used to read the binary contents of input registers
Request message format for function code 03 or 04:
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
Example: Read Analog inputs #1 and #2 in addresses 40001 to 40002 as floating point value from
ADAM-6017 module
01 04 00 01 00 02
Summary of Contents for ADAM-6000 series
Page 21: ...Figure 3 2 Fix ADAM 6000 module on the bracket...
Page 23: ......
Page 24: ...Figure 3 4 Secure ADAM 6000 Module to a DIN rail...
Page 27: ...Figure 3 6 ADAM 6000 I O Module Terminal Block wiring...
Page 32: ...Figure 4 4 ADAM 6017 Digital Output wiring...
Page 36: ...Figure 4 8 ADAM 6050 Digital Output Wiring...
Page 41: ...Figure 4 13 ADAM 6051 Digital Output and Counter Wiring...
Page 46: ...Figure 4 18 ADAM 6060 Relay Output Wiring...
Page 75: ...Figure 5 29 Firmware Upgrade for ADAM 6000 I O Series Modules...
Page 153: ...Appendix A Design Worksheets...