B&B Electronics I-7011 user manual #Aan, Syntax #AANCHKcr

Page 25

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

Image 25
Contents Copyright WarrantyTrademark Table of Contents @AADOData High/Low Alarm More Information IntroductionPin Assignment RevB1.0 7011/I-7011D Specifications7011P/I-7011PD 7018P 7018Block Diagram Wire Connection Page Jumper Setting Default SettingQuick Start Don’t Perform Calibrate Until You Really Understand CalibrationBaudrate Setting CC Analog Input Type Setting TT Configuration TablesData Format Setting FF Type Input Range Data Format +F.S Zero Code Analog input type and data format tableRevB1.0 Type Input Range Data Format +F.S Zero Code Command Sec.2.19 Syntax %AANNTTCCFFCHKcr Related CommandAACHKcr ?AACHKcrExample Syntax #**CHKcrSyntax #AACHKcr #AA#AAN Response Valid Command DataCHKcr Invalid Command ?AACHKcrSyntax #AANCHKcr Syntax $AA0CHKcr $AA0Syntax $AA1CHKcr $AA1Syntax $AA2CHKcr $AA2AATTCCFFCHKcr FF data format of module reference Sec.1.10 ExampleSyntax $AA3CHKcr $AA3Syntax $AA4CHKcr $AA4AASDataCHKcr Data synchronized data, format reference Sec.1.10 ExampleSyntax $AA5VVCHKcr 10 $AA5VVSyntax $AA6CHKcr 11 $AA6AAVVCHKcr Syntax $AA8CHKcr 12 $AA8AAVCHKcr Syntax $AA8VCHKcr 13 $AA8V14 $AA9Data Related Command Sec.2.8 $AA3Syntax $AA9DataCHKcr AA address of response module 00 to FF ExampleSyntax $AABCHKcr 15 $AABAASCHKcr Syntax $AAFCHKcr 16 $AAFAADataCHKcr Syntax $AAMCHKcr 17 $AAMSyntax $AAZDataCHKcr 18 $AAZData19 ~AAOData Read address 01 module name, return 7018. Related CommandSyntax ~AAODataCHKcr Syntax ~AAEVCHKcr 20 ~AAEVRelated Topic Syntax @AADICHKcr 21 @AADIAASOOIICHKcr Level. ExampleHigh 22 @AADOData Syntax @AAEATCHKcr 23 @AAEAT24 @AAHIData 25 @AALOData 26 @AADA Related Command Sec.2.23 @AAEAT Related TopicSyntax @AADACHKcr Syntax @AACACHKcr 27 @AACA28 @AARH Read address 01 high alarm, return +2.5000. Related CommandSyntax @AARHCHKcr 29 @AARL 30 @AARE Read address 01 event counter, return 1234. Related CommandSyntax @AARECHKcr Syntax @AACECHKcr 31 @AACEDescription Host OK 32 ~Syntax ~**CHKcr Response No response. Example33 ~AA0 Host watchdog timeout flag, 0=Clear, 1=Set ExampleSyntax ~AA0CHKcr AASSCHKcrSyntax ~AA1CHKcr 34 ~AA1Syntax ~AA2CHKcr 35 ~AA2Syntax ~AA3EVVCHKcr 36 ~AA3EVVSyntax ~AA4CHKcr 37 ~AA4AAPPSSCHKcr SS Safe Value, data format is same as PP ExampleSyntax ~AA5PPSSCHKcr 38 ~AA5PPSSModule Status INIT* pin OperationDigital Input and Event Counter Dual Watchdog OperationDigital Output Dual Watchdog = Module Watchdog + Host WatchdogThermocouple Measurement High/Low Alarm