Aabb - Advantech ADAM 4000 Series User Manual

Data acquisition modules
Hide thumbs Also See for ADAM 4000 Series:
Table of Contents

Advertisement

4050, 4055, 4056S,
4056SO, 4060, 4068, 4069
7.1.3

#AABB

Name
Description The command either sets a single digital output channel or
Syntax
Digital Data Out command
sets all digital output channels simultaneously.
#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:
Digital Value:
ADAM-4050/4055/4068 channel no.
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:
Digital Value:
ADAM-4060 channel no.
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.
0 1 1 1 1 0 1 0
7 6 5 4 3 2 1 0
0 0 0 0 1 0 1 0
- - - - 3 2 1 0
139
ADAM-4000 Series User Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents