Chapter 4
Chapter 4 Command Set
4-47
4.6.9
$AAC
Description Read the status of all DI/O channels
Syntax $AAC(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address which is to be accessed.
C is the set/read the DI/O status command.
(cr) is the terminating character, carriage return (0Dh)
Response !AAIIIIIIIIIIIIIIOOOOOOOOOOOOOOOO(cr) if the
command was valid.
?AA(cr) if an invalid command has been issued.
There is no response if the module detects a syntax or
communication error, or even if the specified address does
not exist.
! is a delimiter character indicating that valid command was
received.
IIIIIIIIIIIIIIOOOOOOOOOOOOOOOO is defined as te same
$AACIIIIIIIIIIIIIIOOOOOOOOOOOOOOOO
? is a delimiter character indicating that the command was
invalid.
AA (range 00-FF) represents the responding 2-character
hexadecimal address of the digital I/O module.
IIIIIIIIIIIIII is to set the 7 DI channles (every two I characters
mean one channel). Refer command
$AACIIIIIIIIIIIIIIOOOOOOOOOOOOOOOO
OOOOOOOOOOOOOOOO is to set the 8 DO channles
OO=00 DO Mode.
OO=01 Pulse Output Mode.
OO=02 L->H Delay Mode.
OO=03 H->L Delay Mode.