2.4 #AAN

Description : Read Analog Input from channel N

Syntax : #AAN[CHK](cr)

#delimiter character

AAaddress 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 :

Sec.2.1 %AANNTTCCFF, Sec.2.7 $AA2 Related Topics :

Sec.1.10 Configuration Tables

Note : The command is for I-7018/18P only

Rev:B1.0

I-7011, I-7018 User Manual

25

Page 25
Image 25
B&B Electronics I-7011 user manual #Aan, Syntax #AANCHKcr, Response Valid Command DataCHKcr Invalid Command ?AACHKcr