12 $aacn – Measurement Computing CB-7000 DIO User Manual
Page 41
41
CB-7000 DIO Manual
2.12 $AACN
Description: Clear Digital Input Counter
Command: $AACN[CHK](cr)
$
Delimiter character
AA
Address of setting module (00 to FF)
C
Command for clear digital input counter
N
Digital counter channel N to clear
Response:
Valid Command:
!AA[CHK](cr)
Invalid Command:
?AA[CHK](cr)
Syntax or communication error may get no response.
!
Delimiter for valid Command
?
Delimiter for invalid Command
AA
Address of response module(00 to FF)
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
successful.
Command: #010
Receive: !0100000
Read Address 01 input channel 0 counter value, return 0.
Related Command:
Sec. 2.4, #AAN
Note:
The Command is not for CB-7042/42D/43/43D/66/66D/67/67D.