Advantech Adam 4000 Series User Manual page 140

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

Advertisement

4011, 4011D, 4012, 4013, 4015, 4015T, 4016,
4017, 4017+, 4018, 4018+, 4018M, 4019+
5.1.5
#AA
Name
Description The command will return the input value from a specified
Syntax
Response
Example
Example
under
over
ADAM-4000 Series User Manual
Analog Data In command
(AA) module in the currently configured data format.
#AA(cr)
# is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address of an analog input module.
(cr) is the terminating character, carriage return (0Dh).
>(data)(cr)
There is no response if the module detects a syntax error or
communication error or if the specified address does not exist.
> is a delimiter character.
(data) is the input value in the configured data format of
the interrogated module.
(For data formats, see Appendix B).
(cr) is the terminating character, carriage return (0Dh).
command: #21(cr)
response: >+7.2111+7.2567+7.3125+7.1000
+7.4712+7.2555+7.1234+7.5678 (cr)
The command interrogates the analog input module at
address 21h for its input values of all channels.
The analog input module responds with channels from 0 to
7 with +7.2111 volts, +7.2567 volts, +7.3125 volts,
+7.1000 volts, +7.4712 volts, +7.2555 volts, +7.1234 volts
and +7.5678 volts.
command: #DE(cr)
response: >FF5D(cr)
The analog input module at address DEh has an input value
of FF5D. (The configured data format of the analog input
module is two's complement)
Two's complement
0000
FFFF
% of Span
-0000
+9999
126
Engineering units
-0000
+9999

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents