Advantech ADAM-5000/TCP Series Manual page 212

Distributed da&c system based on ethernet
Table of Contents

Advertisement

Planning Your Application Program
#aaSiBB(data)
Name
Description
Syntax
ADAM-5000/TCP
Digital Data Out
This command either sets a single digital output
chan-
nel
or
channels simultaneously.
#aaSiBB(data)(cr)
# is a delimiter character.
aa (range 00-FF) represents the 2-character hexadeci-
mal Modbus network address of the ADAM-5000/
TCP system.
Si identifies the slot i (i:0 to 7) of the ADAM-5000/
TCP system which contains the module whose out-
put values you want to set. BB is used to indicate
which channel(s) either single or all will be set.
Writing to all channels (write a byte): both charac-
ters should be equal to zero (BB=00). Writing to a
single channel (write a bit): first charac- ter is 1,
second character indicates channel number which
can range from 0h to Fh. The ADAM-5055 can
range from 0h to 7h, the ADAM-5056 can range
from 0h to Fh, and the ADAM-5060/5068/5069 can
range from 0h to 7h).
(data) is the hexadecimal representation of the digital
output value(s). When writing to a single channel
(bit) the first char- acter is always 0. The value of the
second character is either 0 or 1.
When writing to all channels (byte) 2 or 4-charac-
ters are significant. The digital equivalent of these
hexadecimal characters represent the channels' val-
ues.
User's Manual
sets
all
digital
6-143
Chapter 6
output

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adam-5000l/tcp

Table of Contents