Command |
$AAA |
Description |
Read Gate Mode |
Syntax |
$AAA[CHK](cr)
$ |
a delimiter character |
AA |
address of reading module (00 to FF) |
A |
command for reading gate mode |
[CHK] |
2 characters of Checksum |
(cr) |
Character Return(0x0D) for denote the end of command |
|
Response |
Valid Command |
!AAG[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) |
G |
gate mode:
0 = gate is low active
1 = gate is high active
2 = gate is disabled
|
[CHK] |
2 characters of Checksum |
(cr) |
Character Return(0x0D) for denote the end of response |
|
Example |
Command |
$01A |
Response |
!012 |
Description |
Read address 01 gate mode, return the gate is disabled. |
|
Reference |
$AAAG
|
|