Delta AS Series Programming Manual page 773

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
Example 4: Reset / preset the current counter value (Action = 4, 6)
1.
Set M0=ON, the counter starts counting.
2.
In DHCCNT instruction, set the value in Action to 4. When the Update flag M1 is ON, the value in CurCnt is reset
to 0. After execution, the Update flag M1 clears to OFF automatically.
3.
In DHCCNT instruction, set the value in Action to 6 and the value in Value to 10000. When the Update flag M1 is
ON, the value in CurCnt is preset to 10000. After execution, the Update flag M1 clears to OFF automatically.
_6
6-494
Counter value
10000
0
Action
Value
Match1, Match2,
CurNo
Update flag
Reset
4
6
10000
Preset

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents