| Command |
$AAAG |
| Description |
Set Gate Mode |
| Syntax |
$AAAG[CHK](cr)
| $ |
a delimiter character |
| AA |
address of setting module (00 to FF) |
| A |
command for setting gate mode |
| 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 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 |
$01A2 |
| Response |
!01 |
| Description |
Set address 01 gate disabled, return success. |
|
| Reference |
$AAA
|
|