beautypg.com

12 $aacn – B&B Electronics I-7060 - Manual User Manual

Page 41

background image

41

I-7000 DIO Manual

Rev:B1.2

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 error 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 success.

Command : #010

Receive : !0100000

Read address 01 input channel 0 counter value, return 0.

Related Command :
Sec2.4 #AAN
Note :
The command is useless for I-7042/42D/43/43D/66/66D/67/67D.