Advantech ADAM 4000 Network Card User Manual


 
Analog Output Module Command Set
6-
6
ADAM 4000 Series User’s Manual
#AA
Name Analog Data Out command
Description Send a value to the address of analog output module. Then,
the analog output module will output this value.
Syntax #AA(data)(cr)
# is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address of an analog output module.
(data) is the value that has to be outputted through the
analog output module. The Range and value depend on the
module’s configured data format. The possible formats are
engineering units or % of FSR or hexadecimal. (Please
refer to Appendix B, Data Formats and I/O Ranges.)
(cr) is the terminating character, carriage return (0Dh).
Response >(cr) if the command was valid.
?AA(cr) if the sent value was out of range. Note that when
the analog output module receives such a value, it will try
to use a value which is close to the one received and within
the module’s configured range.
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.
? delimiter character indicates that the command is invalid.
AA (range 00-FF) represents the 2-character hexadecimal
address of an analog output module.
(cr) is the terminating character, carriage return (0Dh).
4021