Aapn(data), Aapn(data) -45 – Measurement Computing CB-7080 User Manual
Page 63

CB-7080 & CB-7080D Counter/Timer User's Guide
@AAPN(data)
2-45
@AAPN(data)
Description
: Set the preset value of counter. The $AA6 command can reset counter to preset value. Refer to
" for more information.
Syntax
: @AAPN(data)[chk](cr)
@
A delimiter character
AA
2-character HEX module address, from 00 to FF
P
N=0
Counter 0
N=1
Counter 1
(data)
8-character HEX value.
[chk]
2-character checksum. If checksum is disabled, no [chk]
(cr)
0x0D
Response
:
Valid response
!AA(data)[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
:
The preset value of counter 0 is FFFF0000h:
command:
@01P0FFFF0000(cr)
response:
!01(cr)
The preset value of counter 1 is 0000FFFFh:
command:
@02P10000FFFF(cr)
response:
!02(cr)