And the response should be:
Figure 6-2
Response Comment Structure
6-3-2 Modbus Function Code Introductions
To full-fill the programming requirement, there is a series of function code standard for user’s
reference…
Code (Hex) Name
Usage
01
Read Coil Status
Read Discrete Output Bit
02
Read Input Status
Read Discrete Input Bit
03
Read Holding Registers
04 Read
Input
Registers
Read 16-bit register. Used to read integer
or floating point process data.
05
Force Single Coil
Write data to force coil ON/OFF
06
Preset Single Register
Write data in 16-bit integer format
08
Loopback Diagnosis
Diagnostic testing of the communication port
15
Force Multiple Coils
Write multiple data to force coil ON/OFF
16
Preset Multiple Registers Write multiple data in 16-bit integer format
Table 6-1
Response Comment Structure
Function Code 01
The function code 01 is used to read the discrete output’s ON/OFF status of ADAM-6000 modules in a
binary data format.
Request message format for function code 01:
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: Read coil number 1 to 8 (address number 00017 to 00024) from ADAM-6000 Modules
01 01 00 17 00 08
Содержание ADAM-6000 series
Страница 21: ...Figure 3 2 Fix ADAM 6000 module on the bracket...
Страница 23: ......
Страница 24: ...Figure 3 4 Secure ADAM 6000 Module to a DIN rail...
Страница 27: ...Figure 3 6 ADAM 6000 I O Module Terminal Block wiring...
Страница 32: ...Figure 4 4 ADAM 6017 Digital Output wiring...
Страница 36: ...Figure 4 8 ADAM 6050 Digital Output Wiring...
Страница 41: ...Figure 4 13 ADAM 6051 Digital Output and Counter Wiring...
Страница 46: ...Figure 4 18 ADAM 6060 Relay Output Wiring...
Страница 75: ...Figure 5 29 Firmware Upgrade for ADAM 6000 I O Series Modules...
Страница 153: ...Appendix A Design Worksheets...