EasyManua.ls Logo

Advantech ADAM 4100 - Page 76

Advantech ADAM 4100
149 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...
Command Set
4-
38
ADAM 4100 Series User’s Manual
4.6.3
$AA6
Name Digital Data In
Description This command requests that the specified (AA) module
returns the status of its digital input channels and returns a
feedback value of its digital output channels.
Syntax $AA6(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address of the digital I/O module.
6 is the Digital Data In command.
(cr) is the terminating character, carriage return (0Dh).
Response !(dataOutput)(dataInput)00(cr)
if the command was valid. (ADAM-4150)
!(dataOutput)0000(cr)
if the command was valid. (ADAM-4168)
?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.
! is a
delimiter character indicating that a valid command
was received.
? is a
delimiter character indicating that the command was
invalid.
AA (range 00-FF) represents the responding 2-character
hexadecimal address of the digital I/O module.
(dataOutput) two-character hexadecimal value which either
is the feedback of a digital output channel or a relay.
(dataInput) two-character hexadecimal value representing
the input values of the digital I/O module.
(cr) is the terminating character, carriage return (0Dh).