Aa6 - 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,
4056S, 4056SO, 4060, 4068, 4069
7.1.2

$AA6

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents