Command #AAN
Description Read digital input counter 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) digital input counter value in decimal, from 00000 to 65535
[CHK] 2 characters of checksum
(cr) Character Return(0x0D) for denote the end of response
Example
Command #015
Response !0500103
Description Read digital input counter of channel 5 of address 01, response counter value is 103.
Reference $AACN



Back to Previous Page