Delta AS Series Programming Manual page 788

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

Channel One
Counter
Value
MATCH1
Y0.0
MATCH2
Y0.1
Example 3: Update the counter value of its channel when the counter value reached the set value.
1.
Set the value in Comp 1 to 5000, the value in Action1 to 3, and the value in Yno1 to 0; set the value in Comp 2 to
10000, the value in Action2 to 3, and the value in Yno2 to 1.
2.
When M0 = ON, the counter starts counting and sets parameters for DHCCMP instruction and then waits for the
counter value to meet the set value.
3.
When the counter value reached Comp 1, the Match 1 flag is ON. Y0.0 is OFFON.
4.
When the counter value reached Comp 2, the Match 2 flag is ON. Y0.1 is ONOFF.
5.
Set a new value for comparison. Set the value in Comp 1 to 15000, the value in Action1 to 3, and the value in Yno1
to 0; set the value in Comp 2 to 20000, the value in Action2 to 6, and the value in Yno2 to 1.
6.
Set the Update flag to ON. Once the update is done, the flag is cleared to OFF automatically and the flags of Match
1 / Match 2 will also be cleared.
7.
When the counter value reached Comp 1 once again. Y0.0 is ONOFF.
8.
When the counter value reached Comp 2 once again. Y0.1 is ONOFF and start the Action 2 = 6: Toggle between
ON /OFF, clear the counter value of its channel, and the flags of Match 1 / Match 2 will also be cleared.
Comp2
Comp1
0
Cha p ter 6 App l ied Ins truc tio ns
6_
6-509

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents