Aa6n, Aa6n -24 – Measurement Computing CB-7080 User Manual
Page 42

CB-7080 & CB-7080D Counter/Timer User's Guide
$AA6N
2-24
$AA6N
Description
: Reset counter 0 or counter 1 to the preset value and clear the overflow flag. Refer to "
" for more information.
Syntax
: $AA6N[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
!AA[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
[chk]
2-character checksum. If checksum is disabled, no [chk]
(cr)=0x0D
Examples
:
Reads preset value of Counter 0.
command:
@01G0(cr)
response:
!0100000000(cr)
Preset value=0xABCD:
command:
$0160(cr)
response:
!01(cr)
Reset counter 1 to preset value 0xABCD:
command
@01G1(cr)
response
010000ABCD(cr)
command:
$0161(cr)
response:
!01(cr)