Advantech ADAM 4000 Network Card User Manual


 
Analog Output Module Command Set
6-
14
ADAM 4000 Series User’s Manual
$AA6
Name Last Value Readback command
Description The analog output module is instructed to return the latest
output value that it has received from the Analog Data Out
command. If the module hasn’t received any Analog Data
Out commands since startup, it
will return to its Start-up
Output value.
Syntax $AA6(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address whose
value you want to return.
6 is the Last Value Readback command.
(cr) is the terminating character, carriage return (0Dh).
Response !AA(data)(cr) if the command was valid.
?AA(cr) if an invalid command was 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 2-character hexadecimal
address of the analog output module.
(data) is the value that is returned by the analog output
module. The format of the data depends on the module’s
configured data format.
(cr) is the terminating character, carriage return (0Dh).
Example command:
$0A6(cr)
response:
!0A03.000(cr)
The command requests the analog output module at address
0Ah to return the last output value that it has received from
an Analog Out command.
The analog output module returns the value 3.000 mA.
4021