| Command |
@AAPN(Data) |
| Description |
Set Preset Count Value of Counter N |
| Syntax |
@AAPN(Data)[CHK](cr)
| @ |
a delimiter character |
| AA |
address of setting module (00 to FF) |
| G |
command for setting preset count value |
| N |
0 = set preset count value of counter 0
1 = set preset count value 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 |
!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 |
@01P000000000 |
| Response |
!01 |
| Description |
Set address 01 preset count value of counter 0 to 0, return success. |
|
| Reference |
@AAGN
|
|