Advantech Data Acquisition Modules ADAM 4000 User Manual page 241

Advantech data acquisition modules user's manual
Table of Contents

Advertisement

4050, 4051, 4052, 4053, 4055,
4056S, 4056SO, 4060, 4068, 4069
$AA6
Name
Digital Data In command
Description
This command requests the specified (AA) module to
return the status of its digital input channels and feedback
value from its digital output channels.
Syntax
$AA6(cr)
$
AA
address of the module.
6
(cr)
Response
!(dataOutput)(dataInput)00(cr)
if the command was valid.
!(dataInput)0000(cr)
if the command was valid.
!(dataInput)(dataInput) 00 (cr)
if the command was valid.
!(dataOutput)00(cr)
if the command was valid.
!(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.
!
received.
was invalid.
AA
hexadecimal address of the module.
(dataOutput)
either the feedback of a digital output channel or a relay.
For
four-character hexadecimal for representing 12 channel
digital output.
(dataInput)
the input values of the digital I/O module.
(cr)
7-6 ADAM 4000 Series User's Manual
is a delimiter character.
(range 00-FF) represents the 2-character hexadecimal
is the Digital Data In command.
is the terminating character, carriage return (0Dh).
if an invalid command has been issued.
delimiter character indicates that a valid command was
?
delimiter character indicates that the command
(range 00-FF) represents the responding 2-character
two-character hexadecimal value which is
ADAM-4056S
two-character hexadecimal value representing
is the terminating character, carriage return (0Dh).
Digital I/O and Relay Output
Counter/Frequency Command Set
(ADAM-4050)
(ADAM-4052)
(ADAM-4053)
(ADAM-4056S/4056SO)
(ADAM-4060/4068)
and
ADAM-4056SO,
it
is

Advertisement

Table of Contents
loading

Table of Contents