Command Set
4-
18
ADAM 4100 Series User’s Manual
4.4.8
$AA6
Name Read Channel Status
Description
Read the status (Enable/disable) of all Channels for Multiplexing
Syntax $AA6(cr)
AA (range 00-FF) represents the 2-character hexadecimal
address where stores the channel status you want to read.
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 or
communication error, or even if the specified address does
not exist.
! is a
delimiter character indicating that a valid command
was received.
? is a
delimiter character indicating that the command was
invalid.
AA (range 00-FF) represents the 2-character hexadecimal
address of an analog input module.
VV are two hexadecimal values which are interpreted as
two binary words (4-bit). The first word represents the
status of channel 4-7, and 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 with all its multiplex
channels enabled (FF equals 1111 and 1111).