beautypg.com

4 #aan – Measurement Computing CB-COM-7012 User Manual

Page 27

background image

27

CB-7012, CB-7014, CB-7017 User’s Manual

2.4 #AAN

Description: Read Analog Input from channel N

Note: This command is for CB-7017/17F only.

Syntax: #AAN[CHK](cr)

#

Delimiter character

AA

Address for module (00 to FF)

N

channel to read, from 0 to 7

Response:

Valid Command:

>(Data)[CHK](cr)

Invalid Command:

?AA[CHK](cr)

Syntax or communication error may get no response.

>

Delimiter for valid command

?

Delimiter for invalid command

AA

Address of responding module (00 to FF)

(Data)

analog input value; see Sec. 1.10 for its format

Example:

Command: #032

Receive: >+02.513

Read Address 03 channel 2, get data successfully.

Command: #029

Receive: ?02

Read Address 02 channel 9, return error channel number.

Related Command:

Sec. 2.1 %AANNTTCCFF, Sec. 2.7 $AA2

Related Topics:

Sec. 1.10 Configuration Tables

This manual is related to the following products: