4 #aan – B&B Electronics I-7060 - Manual User Manual
Page 33

33
I-7000 DIO Manual
Rev:B1.2
2.4 #AAN
Description : Read Digital Input Counter from channel N
Command : #AAN[CHK](cr)
#
delimiter character
AA
address of reading module (00 to FF)
N
channel to read
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
AA
address of response module(00 to FF)
(Data) digital input counter value in decimal, from 00000 to 65535
Example :
Command : #032
Receive : !0300103
Read address 03 digital input counter value of channel 2, re-
turn value 103.
Command : #025
Receive : ?02
Read address 02 digital input counter value of channel 5, re-
turn the channel is not available.
Related Command :
Sec.2.12 $AACN
Note :
The command is useless for I-7042/42D/43/43D/66/66D/67/67D.