23
2.12 $AACN
Description:
Clear Digital Input Counter
Syntax:
$AACN[CHK](cr)
$ delimiter
character
AA address
of
reading/response module (00 to FF)
C
command for clear latched digital input
N
digital counter channel N to clear
Response:
Valid Command:
!AA
Invalid Command:
?AA
Example:
Command: #010
Receive: !0100123
Read address 01 input channel 0 counter value, return 123.
Command: $01C0
Receive: !01
Clear address 01 input channel 0 counter value, return success.
Command: #010
Receive: !0100000
Read address 01 input channel 0 counter value, return 0.