Advantech Data Acquisition Modules ADAM 4000 User Manual page 167

Advantech data acquisition modules user's manual
Table of Contents

Advertisement

4011, 4011D, 4012, 4013,
4015, 4015T, 4016
$AA4
Name
Read Synchronized Data command
Description
Returns the input value that was stored in the addressed
module's register, after a Synchronized Sampling command
#** was issued.
Syntax
$AA4(cr)
$
AA
address of the analog input module from which data is to be
sent.
4
(cr)
Response
!AA(status)(data)(cr)
?AA(cr)
There is no response if the module detects a syntax error or
communication error or if the specified address does not
exist.
!
received.
AA
address of the analog input module that is responding.
(status)
Synchronized Sampling command (#**) has already been
sent. If status = 1, then the data has been sent for the first
time since a Synchronized Sampling command was issued.
If status = 0, then the data has been sent at least once
before.
(data)
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)
is a delimiter character.
(range 00-FF) represents the 2-character hexadecimal
is the Read Synchronized Data command.
is the terminating character, carriage return (0Dh).
if an invalid operation was entered.
delimiter character indicates a valid command was
(range 00-FF) represents the 2-character hexadecimal
will tell you if the data (data) from the last
a value stored in a special register of the interrogated
represents terminating character, carriage return (0Dh).
if the command was valid.
5-21
ADAM 4000 Series User's Manual
5
Chapter

Advertisement

Table of Contents
loading

Table of Contents