Command |
$AA6 |
Description |
Read channel enable/disable status |
Syntax |
$AA6[CHK](cr)
$ |
a delimiter character |
AA |
address of reading module (00 to FF) |
6 |
command for reading channel enable/disable status |
[CHK] |
2 characters of Checksum |
(cr) |
Character Return(0x0D) for denote the end of command |
|
Response |
Valid Command |
!AAVV[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) |
VV |
a two-digit hexadecimal value, wherer bit 0 is corresponds to channel
0, bit 1 corresponds to channel 1, etc. When bit is 1, it deontes the
channel is enable,and 0 denotes the channel is disable. 00 is all
disabled and FF is all enabled. |
[CHK] |
2 characters of Checksum |
(cr) |
Character Return(0x0D) for denote the end of response |
|
Example |
Command |
$016 |
Response |
!01F0 |
Description |
Read address 01 channel status, response channel 0, 1, 2, 3 are disabled and channel 4, 5, 6, 7 are enabled. |
|
Reference |
$AA5VV
|
|