| Command |
$AA5N |
| Description |
Read Counter Status |
| Syntax |
$AA5N[CHK](cr)
| $ |
a delimiter character |
| AA |
address of reading module (00 to FF) |
| 5 |
command for reading counter status |
| N |
0 = read status of counter 0
1 = read status of counter 1
|
| [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 |
counter status
0 = counter stopping
1 = counter not stopping
|
| [CHK] |
2 characters of Checksum |
| (cr) |
Character Return(0x0D) for denote the end of response |
|
| Example |
| Command |
$0150 |
| Response |
!011 |
| Description |
Read address 01 counter status of counter 0, return counter 0 is not stopping. |
|
| Reference |
$AA5NS
|
|