User Manual
Chapter 5
5-17
ADAM 4000 Series User’s Manual
4015, 4015T, 4017, 4017+, 4018,
4018+, 4018M, 4019+
$AA6
Name Read Channel Status command
Description Asks a s pecified i nput m odule to return the stat us of al l
channels.
Syntax $AA6(cr)
AA (range 00-FF) represents the 2-character he xadecimal
address of analog input module of which the channel status
you want t o s end. Th e cha nnel st atus de fines w hether a
channel is enabled or disabled.
6 is the Read Channel Status command.
(cr) is the terminating character, carriage return (0Dh).
Response !AAVV(cr) if the command is valid.
?AA(cr) if an invalid
operation was entered.
There is no response if the module detects a syntax error or
communication e rror or if the s pecified a ddress does not
exist.
!
delimiter character indic ates a valid comm and was
received.
?
delimiter character indicates the command was invalid.
AA (range 00-FF) represents the 2-character he xadecimal
address of an analog input module.
VV are two hexadecimal values. The values are interpreted
by the module as two binary words (4-bit). The first word
represents th e status of ch annel 4-7 , and th e s econd wo rd
represents t he st atus of c hannel 0-3. Value 0 m eans t he
channel is disabled, value 1 means the channel is enabled.
(cr) is the terminating character, carriage return (0Dh).
Example com mand: $026(cr)
response: !0 2FF(cr)
The command asks t he analog input module at address 02
to sen d th e statu s of it i nput ch annels. The an alog i nput
module at address 02 re sponds t hat all its multiplex
channels are enabled (FF equals 1111 and 1111).