Chapter 6
6-
13
ADAM 4000 Series User’s Manual
$AA2
Name Read Configuration Status command
Description Instruct the analog output mo dule to ret urn its conf iguration
data.
Syntax $AA2(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address for status reading.
2 is the Read Configuration Status command.
(cr) is the terminating character, carriage return (0Dh).
Response !AATTCCFF(cr) if the command is valid.
?AA(cr) if an invalid command was issued.
There is no response if the module detects a syntax or
communication error, or even if the specified address does
not exist.
! delimiter character indicates that a valid command was
received.
? delimiter character indicates that the command was
invalid.
AA (range 00-FF) represents the 2-character hexadecimal
address of an analog output module.
TT represents the type of code, which determines the
output range.
CC represents the baud rate code.
FF is a hexadecimal number that equals to 8-bit parameter
representing the data format, slew rate, and checksum
status.
(cr) is the terminating character, carriage return (0Dh)
Please refer to %AANNTTCCFF Configuration command
(Page 6-3 and 6-4) for TT, CC and FF parameter definition.
Example command: $452(cr)
response: !45300614(cr)
The command asks the analog output module at address
45h to send its configuration data.
The analog output module at address 45h responds with
output range 0 to 20 mA, baud rate 9600, engineering units
as the currently configured data format, slew rate 2 mA per
second, and no checksum checking.
4021