M-7026
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
35
2.4 #AAN
Description:
This command is used to read data from Analog Input channel N of a specified
module.
Syntax:
#AAN[CHKSUM](CR)
#
Delimiter character
AA
The address of the module to be read in hexadecimal format (00 to
FF)
N
The Analog Input channel to be read, zero based (0-5)
Response:
Valid Command:
>(Data)[CHKSUM](CR)
Invalid Command:
?AA[CHKSUM](CR)
>
Delimiter character to indicate a valid command
?
Delimiter character to indicate an invalid command
AA
The address of the responding module in hexadecimal format (00 to
FF)
(Data)
The data from the specified Analog Input channel. See Section 1.9.4
for details of the data format.
There will be no response if the command syntax is incorrect, there is a
communication error, or there is no module with the specified address.
Examples:
Command: #032
Response: >+025.13
Reads data from Analog Input channel 2 of module 03 and returns a
response indicating that the command was successful, and that the
Analog Input value is +025.13 (+25.13 mV).
Command: #02F
Response: ?02
Attempts to read data from Analog Input channel 15 of module 02, but
returns a response indicating that the command was unsuccessful
because channel 15 does not exist.
Related Commands:
Section 2.1 %AANNTTCCFF, Section 2.3 #AA, Section 2.10 $AA2, Section
2.18 $AA7CiRrr
Related Topics:
Section 1.9.4 Analog Input Type Codes and Data Format
Summary of Contents for M-7026
Page 8: ...M 7026 User Manual Rev 1 5 Date 2016 03 10 8 1 3 Pin Assignments...
Page 12: ...M 7026 User Manual Rev 1 5 Date 2016 03 10 12 1 5 Block Diagram...
Page 13: ...M 7026 User Manual Rev 1 5 Date 2016 03 10 13 1 6 Application Wiring...
Page 43: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 43 Section 1 8 1 Analog Input Calibration...
Page 47: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 47 Section 5 1 INIT Mode...
Page 90: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 90 Section 5 2 Dual Watchdog Operation...
Page 113: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 113 Section 2 68 AARECi...
Page 127: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 127 Section 2 62 AADODD...
Page 129: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 129 Related Commands Section 2 61 AADI...
Page 141: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 141 Related Commands Section 2 53 AACECi...
Page 180: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 180...
Page 183: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 183...