4-56 ADAM 4000 Series User's Manual
$AA6
Name Read Channel Status
Description Asks a specified input module to return the status of all
channels
Syntax $AA6(cr)
AA (range 00-FF) represents the 2-character hexadecimal
address of analog input module of which the channel status
you want to send. The channel status defines whether a
channel is enabled or disabled
(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 error or if the specified address does not exist.
!
delimiter character indicates a valid command was received.
?
delimiter character indicates the command was invalid.
AA (range 00-FF) represents the 2-character hexadecimal
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 repre-
sents the status of channel 4-7, the second word represents the
status of channel 0-3. Value 0 means the channel is disabled,
value 1 means the channel is enabled.
(cr) is the terminating character, carriage return (0Dh).
Example command: $026(cr)
response: !02FF(cr)
The command asks the analog input module at address 02 to
send the status of it input channels. The analog input module
at address 02 responds that all its multiplex channels are
enabled (FF equals 1111 and 1111).
4015, 4017, 4017+, 4018,
4018+, 4018M, 4019