139
ADAM-4000 Series User Manual
C
ha
pte
r 7
I/O
, R
ela
y &
C
ou
nte
r/F
re
qu
en
cy
4050, 4055, 4056S,
4056SO, 4060, 4068, 4069
7.1.3
#AABB
Name
Digital Data Out command
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 of the output value.
BB
is used to indicate whether all channels will be set or a
single channel will be set. In the last case, BB will also
indicate which channel it is. Writing data (a byte) to all
channels should make both characters to be zero (BB=00).
Writing data (a bit) to a single channel, however, will make
the first character 1and the second character ranging from 0
to B. The second character indicates the channel number.
(data)
is the hexadecimal representation of the digital output
value(s). Two characters are for ADAM-4050, ADAM-4055,
ADAM-4060 and ADAM-4068. Four characters are for
ADAM-4056S and 4056SO.
ADAM-4050, 4055, 4060 and 4068:
When writing to a single channel
(bit), the first character is
always 0. The value of the second character will be either 0 or 1.
When writing to all channels
(byte), both characters are
significant (range 00h-FFh). The digital equivalent of these
two hexadecimal characters represents the value of the channels.
The amount of channels on ADAM-4050, ADAM-4055,
ADAM-4060 and ADAM-4068 differ. The value 7A
representation for 8 channeled ADAM-4050, ADAM-4055
and ADAM-4068 would be the following:
Since the ADAM-4060 only has four output channels, all the
relevant values lie between 00h and 0Fh. The value 0Ah for
the ADAM-4060 would represent the following:
ADAM-4056S and 4056SO:
When writing to a single channel
(bit), the first three
characters are always 0. The value of the last character is
either 0 or 1.
Digital Value:
0 1 1 1 1 0 1 0
ADAM-4050/4055/4068 channel no.
7 6 5 4 3 2 1 0
Digital Value:
0 0 0 0 1 0 1 0
ADAM-4060 channel no.
- - - - 3 2 1 0
Summary of Contents for Adam - 4021
Page 1: ...User Manual ADAM 4000 Series Data Acquisition Modules...
Page 4: ...ADAM 4000 Series User Manual iv...
Page 12: ...ADAM 4000 Series User Manual xii...
Page 13: ...Chapter 1 1 Introduction...
Page 16: ...ADAM 4000 Series User Manual 4...
Page 17: ...Chapter 2 2 Installation Guideline...
Page 33: ...Chapter 3 3 I O Modules...
Page 78: ...ADAM 4000 Series User Manual 66...
Page 79: ...Chapter 4 4 Command Set...
Page 99: ...87 ADAM 4000 Series User Manual Chapter 4 Command Set...
Page 100: ...ADAM 4000 Series User Manual 88...
Page 101: ...Chapter 5 5 Analog Input Module Commands...
Page 127: ...Chapter 6 6 Analog Output Module Commands...
Page 144: ...ADAM 4000 Series User Manual 132...
Page 145: ...Chapter 7 7 I O Relay Counter Frequency...
Page 201: ...Chapter 8 8 Calibration...
Page 206: ...ADAM 4000 Series User Manual 194...
Page 207: ...Appendix A A Technical Specifications...
Page 216: ...ADAM 4000 Series User Manual 204 Figure A 5 ADAM 4024 Function Diagram...
Page 232: ...ADAM 4000 Series User Manual 220 Figure A 14 ADAM 4080 Function Diagram...
Page 233: ...Appendix B B Data Formats and I O Ranges...
Page 244: ...ADAM 4000 Series User Manual 232...
Page 245: ...Appendix C C Technical Diagrams...
Page 246: ...ADAM 4000 Series User Manual 234 C 1 ADAM Dimensions Figure C 1 ADAM Modules Dimensions...
Page 248: ...ADAM 4000 Series User Manual 236 Figure C 3 DIN Rail Mounting...
Page 250: ...ADAM 4000 Series User Manual 238 C 2 3 Piggyback Stack Figure C 6 Piggyback Stack...
Page 251: ...Appendix D D Utility Software...
Page 258: ...ADAM 4000 Series User Manual 246...
Page 259: ...Appendix E E RS 485 Network...
Page 264: ...ADAM 4000 Series User Manual 252...
Page 265: ...Appendix F F Using the Checksum Feature...
Page 268: ...ADAM 4000 Series User Manual 256...
Page 269: ...Appendix G G I O Modbus Mapping Table...
Page 283: ...Appendix H H Changing to Modbus Protocol...
Page 285: ...273 ADAM 4000 Series User Manual Appendix H Changing to Modbus Protocol...