| Command |
$AA7N |
| Description |
Read and Clear Overflow Flag |
| Syntax |
$AA7N[CHK](cr)
| $ |
a delimiter character |
| AA |
address of readting module (00 to FF) |
| 7 |
command for reading and clearing overflow flag |
| N |
0 = read and clear overflow flag of counter 0
1 = read and clear overflow flag of counter 1
|
| (Data) |
8 hexdecimal digits, from 00000000 to FFFFFFFF |
| [CHK] |
2 characters of Checksum |
| (cr) |
Character Return(0x0D) for denote the end of command |
|
| Response |
| Valid Command |
!AAS[CHK](cr) |
| Invalid Command |
?AA[CHK](cr) |
Syntax error or communication error may get no response.
| ! |
delimiter for valid command |
| ? |
delimiter for invalid command. |
| AA |
address of response module (00 to FF) |
| S |
overflow flag of counter N.
1 = the counter exceeds the maximum counter value, and the overflag is set.
0 = the counter does not exceed the maximum counter value, and the overflag is cleared. |
| [CHK] |
2 characters of Checksum |
| (cr) |
Character Return(0x0D) for denote the end of response |
|
| Example |
| Command |
$0170 |
| Response |
!010 |
| Description |
Read address 01 overflow flag of counter 0, return the counter does not exceed and overflag flag is cleared. |
|
| Reference |
$AA3N
$AA3N(Data)
|
|