| Command |
$AALS |
| Description |
Read latched digital inputs |
| Syntax |
$AALS[CHK](cr)
| $ |
a delimiter character |
| AA |
address of reading module (00 to FF) |
| L |
command for read latched digital inputs |
| S |
1 = latched high status 0 = latched low status |
| [CHK] |
2 characters of Checksum |
| (cr) |
Character Return(0x0D) for denote the end of command |
|
| Response |
| Valid Command |
!(Data)[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) |
| (Data) |
readed latched status |
| [CHK] |
2 characters of Checksum |
| (cr) |
Character Return(0x0D) for denote the end of response |
|
| Example |
| Command |
$01L1 |
| Response |
!2300 |
| Description |
Read latched high digital inputs of address 01, response 2300. |
|
| Reference |
$AAC
|
|