Command Set
4-
36
ADAM 4100 Series User’s Manual
4.6.2
$AA2
Name Configuration Status command
Description Returns the configuration parameters of the digital I/O
module.
Syntax $AA2(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address which is to be accessed.
2 is Configuration Status command.
(cr) is the terminating character, carriage return (0Dh).
This command requests the return of the configuration data
from the digital I/O module at address AA.
Response !AATTCCFF(cr) if the command is 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 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 a digital I/O module.
TT represents the type of code, which is always 40.
CC represents the baud rate code.
FF is a hexadecimal number that equals to an 8-bit
parameter that represents the checksum status and protocol.
Bits 3 through 5 and bit 0, 1, 7 are not used and are being
set to 0. (See Figure 4-3)
Bit 6 is the selection of checksum and bit 2 is the selection
of protocol: (0: advantech, 1: modbus).
(cr) is the terminating character, carriage return (ODh)