Aa0 -3 – Measurement Computing CB-7080 User Manual
Page 21

CB-7080 & CB-7080D Counter/Timer User's Guide
~AA0
2-3
~AA0
Description:
Reads the module status. The module status will be latched until ~AA1 command is sent. If the
host watchdog is enabled and the host is down, (no ~** command received), the module status will be set to 4.
If the module status=4, all output commands are ignored.
Syntax:
~AA0[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
!AASS[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
SS
2-character HEX status value:
Bit_0, Bit_1 = reserved
Bit_2 = 0: OK,
1: host watchdog time-out
[chk]
2-character checksum. If checksum is disabled, no [chk]
(cr)
0x0D
Examples
:
Status of module 01 is OK:
Command:
~010(cr)
Response:
0100(cr)
Module status=04; host watchdog timed-out; HOST is down now:
Command:
~020(cr)
Response:
0204(cr)