Advantech Adam 4000 Series User Manual page 193

Data acquisition modules
Hide thumbs Also See for Adam 4000 Series:
Table of Contents

Advertisement

4021
6.1.2
#AA
Name
Description Send a value to the address of analog output module. Then,
Syntax
Response
Example
Analog Data Out command
the analog output module will output this value.
#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).
>(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).
command: #3315.000(cr)
response: >(cr)
The command sends the value 15 mA, which is converted
to engineering units, to the address 33h of the analog output
module. The analog output module responds with an output
value of 15 mA which represents a valid command.
command: #0A+030.00(cr)
response: >(cr)
The module is configured for an output range of 4 to 20 mA
and a percent of span data format. The command sends the
value 8.8 mA (4 mA + 0.30 x 16 mA = 8.8 mA) which is
30% of the span to the address 0Ah of analog output
module. The analog output module responds with an output
value of 8.8 mA which represents a valid command.
command: #1B7FF(cr)
response: >(cr)
179
ADAM-4000 Series User Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents