Advantech Data Acquisition Modules ADAM 4000 User Manual page 247

Advantech data acquisition modules user's manual
Table of Contents

Advertisement

4050, 4051, 4052, 4053,
4055, 4060, 4068,
$AA4
Name
Read Synchronized Data command
Description
The addressed digital I/O module is instructed to return the
value that was stored in its register by a Synchronized
Sampling command.
Syntax
$AA4(cr)
$
AA
address of returning data.
4
(cr)
Response
!(status)(dataOutput)(dataInput)00(cr)
if the command was valid.
!(status)(dataInput)0000(cr)
if the command was valid.
!(status)(dataInput)(dataInput)00(cr)
if the command was valid.
!(status)(dataOutput)0000(cr)
if the command was valid.
?AA(cr)
There is no response if the module detects a syntax or
communication error, or even if the specified address does
not exist.
!
?
command.
AA
hexadecimal address of the digital I/O module.
(status)
Synchronized Sampling command (#**) have already been
sent. If (status=1), data have only been sent for the first
time after a Synchronized Sampling command was issued.
If (status=0), then the data have been sent at least once
since no Synchronized Sampling command was issued.
7-12 ADAM 4000 Series User's Manual
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 command has been issued.
is a delimiter character which indicates a valid command.
is a delimiter character which indicates an invalid
(range 00-FF) represents the responding 2-character
will tell you if the data (data) from the last
Digital I/O and Relay Output
Counter/Frequency Command Set
(ADAM-4050)
(ADAM-4052)
(ADAM-4053)
(ADAM-4060/4068)

Advertisement

Table of Contents
loading

Table of Contents