![Advantech ADAM-6000 series User Manual Download Page 151](http://html1.mh-extra.com/html/advantech/adam-6000-series/adam-6000-series_user-manual_2857302151.webp)
Syntax #aabb(data)(cr)
#
is a delimiter character.
aa
(range 00-FF) represents the 2-character hexadecimal Modbus network address of
the ADAM-6000 module. (Always 01)
bb
is used to indicate which channel(s) you want to set.
Writing to all channels (write a byte): both characters should be equal to zero
(BB=00)
.
Writing to a single channel (write a bit): first character is 1, second character indicates
channel number which can range from 0h to Fh.
(data)
is the hexadecimal representation of the digital output value(s).
When writing to a single channel
(bit) the first character is always 0. The value of
the second character is either 0 or 1.
When writing to all channels
(byte) 2 or 4-characters are significant. The digital
equivalent of these hexadecimal characters represent the channels' values.
Response >(cr)
if the command was valid.
?aa(cr)
if an invalid command has been issued.
There is no response if the module detects a syntax error or communication error or if
the specified address does not exist.
>
delimiter character indicating a valid command was received.
?
delimiter character indicating the command was invalid.
aa
(range 00-FF) represents the 2-character hexadecimal Modbus network address of
an ADAM-6000 module that is responding.
(cr)
is the terminating character, carriage return (0Dh)
Example
command:
#151201(cr)
response:
>(cr)
An output bit with value 1 is sent to channel 2 of a digital output module at
address 01h. Channel 2 of the digital output module is set to ‘ON’.
command:
#010012(cr)
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...