![background image](http://html1.mh-extra.com/html/advantech/adam-4100/adam-4100_user-manual_2858272081.webp)
Chapter
4
Chapter 4 Command Set 4-41
4.6.4
#AABB
Name
Digital Data Out
Description
The command either sets a single digital output channel or
sets all digital output channels simultaneously.
Syntax
#AABB(data)(cr)
# is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address for the output.
BB is used to indicate whether a single channel or all the
channels will be set. In the last character of BB also indicates
which channel it is.
1. Writing to all channels (write a byte): both characters
should be equal to zero
(BB=00)
.
2. Writing to a single channel (write a bit):
First character
is 1
, and the second character indicates channel number,
which can range from 0 to B.
(data) is the hexadecimal representation of the digital output
value(s). These two characters are for ADAM-4150 and
4168.
For writing to a single channel
(bit), the first character is
always 0. The value of the second character is either 0 or 1.
For writing to all channels
(byte), both characters are
significant (range 00h-FFh). The decimal equivalent of these
two hexadecimal characters represents the channels’ values.
The value 7A can be converted to the following 8 channels
representations for ADAM-4150 and ADAM-4168:
Digital Value:
0 1 1 1 1 0 1 0
ADAM-4150/4168 channel no. 7 6 5 4 3 2 1 0
Summary of Contents for ADAM 4100
Page 1: ...ADAM 4100 Industrial Grade Data Acquisition Modules User s Manual ...
Page 5: ...Introduction 1 ...
Page 9: ...Installation Guideline 2 ...
Page 24: ...I O Modules 3 ...
Page 25: ......
Page 37: ...Chapter 3 I O Modules 3 13 I O Modules Figure 3 10 Digital Output used with SSR ADAM 4150 ...
Page 40: ...Command Set 4 ...
Page 41: ......
Page 51: ......
Page 105: ...Calibration 5 ...
Page 109: ...5 4 ADAM 4100 Series User s Manual ...
Page 110: ...Utility Software A ...
Page 111: ......
Page 121: ...ADAM 4100 I O Modbus Mapping Table B ...
Page 131: ...Technical Diagrams C ...
Page 134: ...C 4 ADAM 4100 Series User s Manual Appendix C Figure C 3 DIN Rail Mounting ...
Page 136: ...C 6 ADAM 4100 Series User s Manual Appendix C Figure C 5 Panel Mounting ...
Page 138: ...Data Formats and I O Ranges D ...
Page 142: ...RS 485 Network E ...
Page 143: ......
Page 150: ...How to use the Checksum feature F ...
Page 154: ...Changing Configuration to Modbus Protocol G ...