Aa4 - Advantech Adam 4000 Series User Manual

Data acquisition modules
Hide thumbs Also See for Adam 4000 Series:
Table of Contents

Advertisement

4050, 4051, 4052, 4053,
4055, 4060, 4068
7.1.4
#**
Name
Description Orders all (analog or digital) input modules to sample their
Syntax
Response
4050, 4051, 4052, 4053,
4055, 4060, 4068
7.1.5

$AA4

Name
Description The addressed digital I/O module is instructed to return the
Syntax
Response
Synchronized Sampling command
input values and store them into a special register.
#**
# is a delimiter character.
** is the Synchronized Sampling command.
The terminating character, in the form of a carriage
return (0Dh), is not required.
The digital I/O modules will not respond to the
Synchronized Sampling command. In order to retrieve the
data, you must execute a Read Synchronized Data
command for every module separately.
Read Synchronized Data command
value that was stored in its register by a Synchronized
Sampling command.
$AA4(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address of returning data.
4 is the Read Synchronized Data command.
(cr) is the terminating character, carriage return (0Dh).
!(status)(dataOutput)(dataInput)00(cr)
if the command was valid. (ADAM-4050)
!(status)(dataInput)00(cr)
if the command was valid. (ADAM-4051)
!(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 or
communication error, or even if the specified address does not exist.
201
ADAM-4000 Series User Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents