Delta AS Series Programming Manual page 102

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

32-bit high speed addition/subtraction counter
Refer to the instruction description of API1004 DCNT in AS Series Programming Manual for more details.
Example:
1.
X10.0 drives SM621 to determine the counting direction (up/down) for HC0.
2.
When X11.0 changes from OFF to ON, the RST instruction is executed and the PV in HC0 is cleared to 0 and its
contact is OFF.
3.
When X12.0 changes from OFF to ON, PV for HC0 will count up (plus 1) or count down (minus 1).
4.
When PV in HC0 changes from -6 to -5, the contact HC0 changes from OFF to ON. When PV in HC0 changes from
-5 to -6, the contact HC0 changes from ON to OFF.
X10.0
X11.0
X12.0
HC0
(
PV
Y0.0,
HC0
Accu mul ati vel y
P rog re ssive ly
i ncr ea sin g
d ecre asi ng
5
4
4
3
3
2
2
1
1
)
0
0
Wh en t he o u tpu t c on tact w as O N
Con tacts
Accu mul ati vel y
i ncr ea sin g
0
-1
-2
-3
-3
-4
-4
-5
-5
-6
-6
-7
-7
-8
Cha p ter 2 De vices
2 - 7 9
2_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents