4-60 ADAM 4000 Series User's Manual
$AA4
Name Read Synchronized Data
Description Returns the input value that was stored in the addressed
module’s register, after a Synchronized Sampling command #**
was issued.
Syntax $AA4(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address of the analog input module from which data is to be
sent.
4 is the Read Synchronized Data command.
(cr) is the terminating character, carriage return (0Dh).
Response !AA(status)(data)(cr) if the command was 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.
AA (range 00-FF) represents the 2-character hexadecimal
address of the analog input module that is responding.
(status) will tell you if the data (data) from the last Synchronized
Sampling command (#**) has already been sent. If status=1,
then the data has been sent for the first time since a Synchro-
nized Sampling command was issued. If status=0, then the data
has been sent at least once before.
(data) a value
stored in a special register of the interrogated
module in the configured data format. It has been sampled by
the module after a Synchronized Sampling command. (For
possible data formats, see Appendix B, Data Formats and I/O
Ranges)
(cr) represents terminating character,
carriage return (0Dh).
4011, 4011D, 4012, 4013, 4015,
4016, 4019