![background image](http://html1.mh-extra.com/html/advantech/adam-6000-series/adam-6000-series_user-manual_2857302106.webp)
6-3 ADAM-6000 Commands
ADAM-6000 and ADAM-5000/TCP system accept a command/response form with the host computer.
When systems are not transmitting they are in listen mode. The host issues a command to a system
with a specified address and waits a certain amount of time for the system to respond. If no response
arrives, a time-out aborts the sequence and returns control to the host. This chapter explains the
structure of the commands with Modbus/TCP protocol, and guides to use these command sets to
implement user’s programs.
6-3-1 Command Structure
It is important to understand the encapsulation of a Modbus request or response carried on the
Modbus/TCP network. A complete command is consisted of command head and command body. The
command head is prefixed by six bytes and responded to pack Modbus format; the command body
defines target device and requested action. Following example will help you to realize this structure
quickly.
Example
:
If you want to read the first two values of ADAM-6017 (address: 40001~40002), the request command
should be:
Figure 6-1
Request Comment Structure
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...