| Command |
$AA6N |
| Description |
Clear Counter |
| Syntax |
$AA6N[CHK](cr)
| $ |
a delimiter character |
| AA |
address of reading module (00 to FF) |
| 6 |
command for clearing counter |
| N |
0 = clear counter value of counter 0
1 = clear counter value of counter 1
|
| [CHK] |
2 characters of Checksum |
| (cr) |
Character Return(0x0D) for denote the end of command |
|
| Response |
| Valid Command |
!AA[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) |
| [CHK] |
2 characters of Checksum |
| (cr) |
Character Return(0x0D) for denote the end of response |
|
| Example |
| Command |
$0160 |
| Response |
!01 |
| Description |
Clear address 01 counter 0, return success. |
|
| Reference |
@AAGN
@AAPN(Data)
|
|