| Command |
$AA4 |
| Description |
Read synchronized analog input/output data that was got by the last "#**" command |
| Syntax |
$AA4[CHK](cr)
| $ |
a delimiter character |
| AA |
address of reading module (00 to FF) |
| 4 |
command for reading synchronized digital input/output status |
| [CHK] |
2 characters of Checksum |
| (cr) |
Character Return(0x0D) for denote the end of command |
|
| Response |
| Valid Command |
>AAS(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) |
| S |
status of synchronized data
1 = first read
0 = the data has been readed |
| (Data) |
synchronized analog input/output data |
| [CHK] |
2 characters of Checksum |
| (cr) |
Character Return(0x0D) for denote the end of response |
|
| Example |
| Command |
$014 |
| Response |
>011+025.56 |
| Description |
Read synchronized analog input/output data of address 01 channel status, response first read and synchronized data +025.56. |
|
| Reference |
#**
|
|