User Manual
Chapter 5
5-21
ADAM 4000 Series User’s Manual
4011, 4011D, 4012, 4013,
4015, 4015T, 4016
$AA4
Name Read Synchronized Data command
Description Returns th e inp ut v alue t hat was stored in th e add ressed
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 he xadecimal
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 e rror or if the s pecified a ddress does not
exist.
! delimiter character i ndicates a valid command wa s
received.
AA (range 00-FF) represents the 2-character he xadecimal
address of the analog input module that is responding.
(status) will tell yo u if th e d ata (d ata) fro m th e las t
Synchronized Sampling com mand (#**) h as al ready b een
sent. If status = 1, t hen t he data has been sent for the first
time since a Synchronized Sa mpling command was issued.
If st atus = 0, t hen t he data has been se nt at l east once
before.
(data) a value
stored in a special register of the interrogated
module in the configured data format. It has been sampled
by t he m odule aft er a Sy nchronized Sam pling c ommand.
(For possible data fo rmats, see Appendix B, Data Formats
and I/O Ranges)
(cr) represents terminating character,
carriage return (0Dh).