Aa7n, Aa7n -25 – Measurement Computing CB-7080 User Manual
Page 43

CB-7080 & CB-7080D Counter/Timer User's Guide
$AA7N
2-25
$AA7N
Description
: Read the overflow flag of counter. You can use the $AA6S command to reset the counter and
clear the overflow flag.
Syntax
: $AA7N[chk](cr)
$
A delimiter character
AA
2-character HEX module address, from 00 to FF
N=0
Counter 0
N=1
Counter 1
[chk]
2-character checksum. If checksum is disabled, no [chk]
(cr)
0x0D
Response
:
Valid response
!AAS[chk](cr)
Invalid response
?AA[chk](cr)
no response
Syntax error, communication error or address error
!
A delimiter character indicating a valid response
?
A delimiter character indicating an invalid response
AA
2-character HEX module address
S=0
no overflow
S=1
overflowed
[chk]
2-character checksum. If checksum is disabled, no [chk]
(cr)
0x0D
Examples
:
Counter 0 has overflowed. Clear the overflow flag:
command:
$0170(cr)
response:
!011(cr)
command:
$0160(cr)
response:
!01(cr)
Counter 1 is OK:
command:
$0171(cr)
response:
!010(cr)