Aa5n, Aa5n -22 – Measurement Computing CB-7080 User Manual
Page 40

CB-7080 & CB-7080D Counter/Timer User's Guide
$AA5N
2-22
$AA5N
Description
: Read the counter status
Syntax
: $AA5N[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
counter is stopped (is disabled)
S= 1
counter is started (enabled)
[chk]
2-character checksum. If checksum is disabled, no [chk]
(cr)
0x0D
Examples
:
Stop Counter 0:
command
$0150(cr)
response
!010(cr)
Start Counter 1:
command
$0151(cr)
response
!011(cr)