Aagn, Aagn -44 – Measurement Computing CB-7080 User Manual
Page 62

CB-7080 & CB-7080D Counter/Timer User's Guide
@AAGN
2-44
@AAGN
Description
: Read the preset value of counter. The $AA6 command can reset counter to the preset value.
Refer to "
" for more information.
Syntax
: @AAGN[chk](cr)
@
A delimiter character
AA
2-character HEX module address, from 00 to FF
G
N=0
read counter 0
N= 1
read counter 1
[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
(data)
8-character HEX value.
[chk]
2-character checksum. If checksum is disabled no [chk]
(cr)
0x0D
Examples
:
The preset value of counter 0 is 0000FFFF:
command:
@01G0(cr)
response:
!010000FFFF(cr)
The preset value of counter 1 is 00000000:
command:
@02G1(cr)
response:
!0200000000(cr)