Command |
#AAN |
Description |
Read counter or frequency from specified channel |
Syntax |
#AAN[CHK](cr)
# |
a delimiter character |
AA |
address of reading module (00 to FF) |
N |
channel to read |
[CHK] |
2 characters of checksum |
(cr) |
Character Return(0x0D) for denote the end of command |
|
Response |
Valid Command |
>AA(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. If the channel is not available or not enabled, the module will response as invalid command. |
AA |
address of response module (00 to FF) |
(Data) |
8 hexdecimal digits, from 00000000 to FFFFFFFF |
[CHK] |
2 characters of checksum |
(cr) |
Character Return(0x0D) for denote the end of response |
|
Example |
Command |
#010 |
Response |
>0000014F |
Description |
Read input counter or frequency from channel 0 of address 01, response counter value is 335. |
|
Reference |
%AANNTTCCFF
|
|