4 #aan – Measurement Computing CB-7011 User Manual
Page 25
25
CB-7011/CB-7011D, CB-7018 User’s Manual
2.4 #AAN
Description: Read Analog Input from channel N
Note: The command is for CB-7018/18P only.
Syntax: #AAN[CHK](cr)
#
delimiter character
AA
address of reading module (00 to FF)
N
channel to read, from 0 to 7
Response:
Valid Command:
>(Data)[CHK](cr)
Invalid Command:
?AA[CHK](cr)
Syntax error or communication error may get no re-
sponse.
>
delimiter for valid command
?
delimiter for invalid command
AA
address of response module(00 to FF)
(Data)
analog input value, reference Sec. 1.10 for its format
Example:
Command: #032
Receive: >+02.513
Read address 03 channel 2, get data success.
Command: #029
Receive: ?02
Read address 02 channel 9, return error channel number.
Related Command:
%AANNTTCCFF (Sec. 2.1), $AA2 (Sec 2.7)
Related Topics:
Configuration Tables (Sec. 1.10)