DVP-ES2/EX2/EC5/SS2/SA2/SX2/SE&TP Operation Manual - Programming
-162
14. If the set value falls out of the available range of operands, it will be automatically corrected with
the minimum or maximum available value.
15. When the flags, M1334, M1335, M1520, or M1521 is enabled, execute API59 PLSR/DPLSR
instructions on Y0, Y2, Y4, or Y6 to ramp-down when the conditional contacts are closed. When
the conditional contacts are closed, the deceleration will stop and the flags M1334, M1335,
M1520, or M1521 will be cleared. After the conditional contacts are closed, if you need to use
the flags M1334, M1335, M1520 or M1521 to stop the deceleration, you need to enable the
flags M1334, M1335, M1520 or M1521 again.
the conditional
contacts are
M1334 M1335 M1520 M1521
Program Example:
1. When X0 = ON, PLSR performs pulse output on Y0 with a target speed of 1000Hz, output pulse
number D10 and ramp up/down time of 3000ms. Ramp up process begins to increase 1000/20
Hz in every shift and every shift outputs D10/40 pulses for 3000/20 ms.
2. When X0 = OFF, the output stops immediately and starts from the count value in D1030, D1031
when PLSR is executed again.
3. Ramp up/down shifts for Y0, Y2: 20. Ramp up/down shifts for Y1, Y3: 10
X0
PLSR K1000 D10 K
3000 Y0
Pulse speed(Hz)
Target speed:1000 Hz
Time(Sec)
Ramp down time
3000ms
Ramp up time
3000ms
16-bit instruction:1~32,767
32-bit instruction:1~2,147,483,647
1 1
22
3 3
44
5 5
66
7 7
.
.
....
19
19
20 20
Output pulses
20-shifts20-shifts
Frequency
increased/decreased
in e ve ry s h ift:
1000/20 Hz