254
Pulse Outputs Section 5-2
Positioning (Trapezoidal Control)
Specifications and
Operation
When the start input (0.00) goes ON, this example program outputs 600,000
pulses from pulse output 0 and turns the motor.
Instructions Used PLS2(887)
Preparation
■ PLC Setup
There are no settings that need to be made in the PLC Setup.
DM Area Settings PLS2(887) Settings (D00000 to D00007)
Ladder Program
Remarks • Absolute pulses can be specified when the origin position has been deter-
mined.
• If a target frequency that cannot be reached has been set, the target fre-
quency will be reduced automatically, i.e., triangular control will be per-
formed. In some cases where the acceleration rate is substantially greater
than the deceleration rate, the operation won't be true triangular control.
The motor will be operated at a constant speed for a short time between
the acceleration and deceleration.
100 Hz
Target frequency
50,000 Hz
Starting frequency
Start input (0.00)
Acceleration rate
300 Hz/4 ms
Number of
output pulses
600,000 pulses
Deceleration rate
200 Hz/4 ms
Setting details Address Data
Acceleration rate: 300 Hz/4 ms D0 012C
Deceleration rate: 200 Hz/4 ms D1 00C8
Target frequency: 50,000 Hz D2 C350
D3 0000
Number of output pulses: 600,000 pulses D4 27C0
D5 0009
Starting frequency: 100 Hz D6 0064
D7 0000
@PLS2 (887)
#0000
D0
D6
#0001
END(001)
0.00
Pulse output 1
Start input
Specifies CW/CCW output method,
CW side, and relative pulses
Target frequency, number of
pulses setting
Starting frequency