beautypg.com

4 #aan – Measurement Computing CB-7000 DIO User Manual

Page 33

background image

33

CB-7000 DIO Manual

2.4 #AAN

Description: Read Digital Input Counter from channel N

Command: #AAN[CHK](cr)

#

Delimiter character

AA

Address of reading module (00 to FF)

N

channel to read

Response:

Valid Command:

!AA(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 response module(00 to FF)

(Data)

Digital input counter value in decimal, from 00000 to

65535

Example:

Command: #032

Receive: !0300103

Read Address 03 digital input counter value of channel 2, re-

turn value 103.

Command: #025

Receive: ?02

Read Address 02 digital input counter value of channel 5,

return the channel is not available.

Related Command:

Sec. 2.12 $AACN

Note:

The Command is not for CB-7042/42D/43/43D/66/66D/67/67D.

This manual is related to the following products: