5050/5051/5052/5055/5056

Command Set

5060/5068/5069 Digital I/O

 

 

 

$aaSiBB(data)

Name

Digital Data Out

Description This command either sets a single digital output channel or sets all digital output channels

Syntax #aaSiBB(data)(cr)

#is a delimiter character.

aa(range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system.

Si identifies the slot (i:0 to 7) of the ADAM-5000 system which contains the module whose output values you want to set.

BBis used to indicate which channel(s) either single or all will be set.

-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 0h to Fh. The ADAM-5056 can range from 0h to Fh, and the ADAM-5055S/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 character is always 0. The value of the second character is either 0 or 1.

-When writing to all channels (byte), the 2 or 4-charac- ters are significant. The digital equivalent of these

6-110

ADAM-5000

Page 175
Image 175
Advantech 5000 Series user manual Command Set 5060/5068/5069 Digital I/O, $aaSiBBdata