VS070QS-1618MDM1 Integrated Machine High-speed counter
202403 (V1.0) 37
B.3.4 2PH quadruple frequency counting input high-speed counter
Features: A counter starts to count when the dual pulse inputs change from OFF to
ON or the dual pulse inputs change from ON to OFF, and the count direction is
determined by the phase difference of two input points. The state of the high-speed
counter is determined by its corresponding special auxiliary relay (SM element), and
an action example is shown as follows.
The time sequence chart of the contact actions in the program is shown in the
following figure.
When X11 and X6 are ON, X2 is ON,
C254 is cleared, and the contact is
reset.
Note:
1. Counter input points: X0 and X1.
2. High-speed counters, when used in DHSCS, DHSCR, DHSZ, DHSP, and DHST commands, can trigger operations or
controls free from the scan cycle.
When X0 is ON and X1 changes from
ON to OFF, C254 counts down; SM254
is ON.
When the count value of C254 reaches 3,
state of C254 contact changes.
When X11 and X6 are ON, C254 starts to count.
When X0 is ON and X1 changes from OFF to ON, C254 counts
up; C254 is OFF.
When X10 is ON, C254 is reset regardless of X11 and X6.
C254 contact
C254
SM254
X10
X6
X11
X2
3
0
1
2
3
4
5
4
3
2
1
0
-1
-2
-3
-4
-5
-4
0
X0
X1