User manual
Planning Your Application Program 
#aaSiBB(data) 
Name  Digital Data Out 
Chapter 6 
Description This command either sets a single digital output 
chan- nel or sets all digital output  
channels simultaneously. 
Syntax #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. 
ADAM-5000/TCP
User’s Manual
6-143










