15
2.4 #AAN
Description:
Read Digital Input Counter from channel N
Syntax : #AAN[CHK](cr)
# delimiter
character
AA address
of
reading/response module (00 to FF)
N
channel to read
Response:
Valid Command:
>(Data)
Invalid Command:
?AA
(Data) digital input counter value in decimal, from 00000 to
99999
Example:
Command: #032
Receive: !0300103
Read address 03 digital input counter value of channel 2, return
value 103.
Command: #025
Receive: ?02
Read address 02 digital input counter value of channel 5, return
the channel is not available.