EasyManua.ls Logo

Advantech Adam 4000 Series - Page 240

Advantech Adam 4000 Series
398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
4-156 ADAM 4000 Series User's Manual
Command Set
4050, 4052, 4053, 4060, 4051, 4055, 4068
Since the ADAM-4060 has only four output channels all the
meaning full values lie between 00h and 0Fh. The value 0Ah
would mean the following for the ADAM-4060:
01111010
digital value:
76543210
00001010
digital value:
- - - - 3210
4050, 4060, 4055, 4068
#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 of the digital I/O module you want to set its 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 also indicates
which channel. 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 0 to 7.
(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), both characters are
significant (range 00h-FFh). The digital equivalent of these two
hexadecimal characters represent the channels values.
The amount of channels on the ADAM-4050, ADAM-4055,
ADAM-4060 and ADAM-4068 differs. The value 7A would
mean the following for the
8 channels on the ADAM-4050,
ADAM-4055 and ADAM-4068:
ADAM-4050/4055/4068
channel no.
ADAM-4060 channel no.

Table of Contents

Related product manuals