EasyManua.ls Logo

Advantech Adam 4000 Series - Page 243

Advantech Adam 4000 Series
398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 4 Command Set 4-159
4050, 4052, 4053, 4060, 4051, 4055, 4068
Chapter 4
$AA4
Name Read Synchronized Data
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)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address of the digital I/O module whos data is to be returned.
4 is the Read Synchronized Data command.
(cr) is the terminating character, carriage return (0Dh).
Response !(status)(dataOutput)(dataInput)00(cr)
if the command was valid. (ADAM-4050)
!(status)(dataInput)0000(cr)
if the command was valid. (ADAM-4052)
!(status)(dataInput)(dataInput)00(cr)
if the command was valid. (ADAM-4053)
!(status)(dataOutput)0000(cr)
if the command was valid. (ADAM-4060/4068)
?AA(cr) if an invalid command has been issued.
There is no response if the module detects a syntax error or
communication error or if the specified address does not exists.
!
delimiter character indicating a valid command was received
?
delimiter character indicating the command was invalid
AA (range 00-FF) represents the 2-character hexadecimal
address of the digital I/O 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 data has been sent for the first time after an Synchronized
Sampling command was issued. If (status=0), then the data has
been sent at least once after a Synchronized Sampling command
was issued.

Table of Contents

Related product manuals