I-7080, I-7080D, I-7080B, I7080BD User Manual (V 2.2) ------------------ 28
2.4 ~AA0
Description
: Read the module status. The module status will be
latched until ~AA1 command is sent. If the host watchdog is
enable and the host is down, the module status will be set to 4. If
the module status=4, all output command will be ignored.
Syntax
: ~AA0[chk](cr)
~ is a delimiter character
AA=2-character HEX module address, from 00 to FF
[chk]=2-character checksum, if checksum disable
no [chk]
(cr)=0x0D
Response
: valid command
!AASS[chk](cr)
invalid command
?AA[chk](cr)
no response
syntax error or communication
error or address error
! is a delimiter character indicating a valid command
? is a delimiter character indicating a invalid command
AA=2-character HEX module address
SS=2-character HEX status value as following:
Bit_0, Bit_1 = reserved
Bit_2 = 0
OK,
1
host watchdog failure
[chk]=2-character checksum, if checksum disable
no [chk]
(cr)=0x0D
Example
:
command: ~010(cr)
response : !0100(cr)
command: ~020(cr)
response : !0204(cr)
Status of module 01 is OK
Module status=04
host watchdog
failure
HOST is down now
7080/7080D