Aa2 -5 – Measurement Computing CB-7080 User Manual
Page 23

CB-7080 & CB-7080D Counter/Timer User's Guide
~AA2
2-5
~AA2
Description:
Reads the status and timer value of host watchdog. When the host watchdog is enabled, the host
must send ~** command to all modules before the timer times-out. When the ~** command is received, the
host watchdog timer is reset and starts counting down. Use ~AA3ETT to enable/disable/setting the host
watchdog timer.
Syntax:
~AA2[chk](cr)
~
A delimiter character
AA
2-character HEX module address, from 00 to FF
[chk]
2-character checksum. If checksum is disabled, no [chk]
(cr)
0x0D
Response
:
Valid response
AASTT[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
Host watchdog is disabled
S=1
Host watchdog is enabled
TT
2-character HEX value, from 00 to FF, unit=0.1 second
[chk]
2-character checksum. If checksum is disabled, no [chk].
(cr)
0x0D
Examples
:
Host watchdog timer of module 01 is disabled
command:
~012(cr)
response:
!01000(cr)
Host watchdog timer of module 02 is enabled and time-out
time = 0.1 x 10 = 1 second
command:
~022(cr)
response:
!0210A(cr)