Command |
@AA |
Description |
Read digital input/output status |
Syntax |
@AA[CHK](cr)
@ |
a delimiter character |
AA |
address of reading module (00 to FF) |
[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) |
digital input/output status |
[CHK] |
2 characters of Checksum |
(cr) |
Character Return(0x0D) for denote the end of response |
|
Example |
Command |
@01 |
Response |
!0F00 |
Description |
Read digital input/output status of address 01 channel status, response 0F00. |
|
Reference |
$AA6
|
|