Command |
$AA5NS |
Description |
Start/Stop Counter |
Syntax |
$AA5NS[CHK](cr)
$ |
a delimiter character |
AA |
address of reading module (00 to FF) |
5 |
command for starting/stopping counter |
N |
0 = start/stop counter 0
1 = start/stop of counter 1
|
S |
0 = stop counter
1 = start counter
|
[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 |
$01501 |
Response |
!01 |
Description |
Start address 01 counter 0, return success. |
|
Reference |
$AA5N
|
|