Explainer
Why PLSY alone cannot ramp a stepper like PLSR
Short answer
PLSY cannot reproduce a PLSR move: it takes a pulse tally and a frequency with no acceleration setting, so the first pulse leaves at full cruise speed. On the FX0S the only candidate is a staircase of repeated PLSY executions whose integer counts sum exactly to the target, and it is usable only if the completion coil rearms between segments; if either bench test fails, replace the pulse source with a controller that has a real ramped finite-pulse instruction.

On this page
- What do PLSY and PLSR each give your move?
- Why does the stepper need a ramp at all?
- Can RAMP change the speed of a running PLSY?
- Can a staircase of PLSY segments stand in for PLSR?
- How do you split the target count across ramp segments?
- How do you test the pulse total and the completion coil at Y000?
- What replaces the staircase when the tests fail?
- Questions asked
PLSY alone cannot ramp a stepper the way PLSR does, and no documented RAMP trick rescues it: PLSY takes a pulse tally and a frequency, with no acceleration-time operand, so the first pulse leaves at full speed. A PLSR move couples an exact total pulse count with an acceleration time up to a top frequency, and the ramp pulses stay inside that total. On the FX0S, which offers PLSY but not the ramped PLSR and limits it to one instruction instance driving Y000, the only candidate is a staircase of repeated PLSY executions. That staircase is a hypothesis until it passes two bench tests: the segment counts must sum to the exact target, and the completion coil that latches when an execution finishes must rearm for the next. Fail either one and the FX0S cannot make this move.
What do PLSY and PLSR each give your move? #
PLSR takes three settings — a total pulse count, a top frequency and an acceleration time — and emits exactly that count while ramping up and down; PLSY takes a pulse tally and a frequency only, so every pulse runs at one constant speed. On the later FX controllers that carry it, PLSR does the whole job in one instruction: it accelerates to the selected frequency, cruises, decelerates, and the ramp pulses are part of the requested total, so the axis lands where the count says. PLSY starts at its set frequency, holds it, and stops dead. The FX programming manual (Mitsubishi document jy992d48301) documents both instructions; the FX0S instruction set carries PLSY without the ramped PLSR.
| Setting | PLSR, later FX controllers | PLSY, FX0S |
|---|---|---|
| Total pulse count | selectable | selectable |
| Top frequency | selectable | selectable |
| Acceleration time | selectable | not available |
| Deceleration | included in the profile | not available |
So the piece you cannot set on the FX0S is the ramp, and the piece you must not lose is the exact total. Everything that follows is about getting one without losing the other.
Why does the stepper need a ramp at all? #
An open-loop stepper can start and stop without losing steps only below a frequency given in the motor and drive datasheet, and a ramp is how the move crosses that limit gradually instead of stalling across it. Above that start-stop frequency, command the full speed from standstill and the rotor falls behind while the driver keeps counting pulses — the position error is permanent because nothing feeds back to correct it. Stopping is the same failure in reverse: an instant stop from cruise speed lets inertia carry the load past the final count. How steep a ramp the motor and drive pair survives comes from the torque curve, covered in stepper motor max RPM from the torque curve, voltage and accel. The one case that needs no ramp: if your cruise frequency sits under that start-stop limit, plain PLSY starts and stops cleanly and the missing operand costs you nothing.
Can RAMP change the speed of a running PLSY? #
No documented mechanism does it: RAMP ramps a numeric value over time, while a PLSY instruction fixes its output frequency when the execution starts, and nothing in the manual connects the two mid-move. The FX0S names RAMP among its instructions, but its defined job is to bend a value — no documentation says that value reaches the frequency of an executing PLSY, and writing a new number into the operand's register mid-execution carries no promise of pickup either. So make the design decision now: nothing in your ladder may depend on RAMP changing a live pulse train. On the FX0S, frequency changes only between PLSY executions, which is exactly the lever the staircase pulls.
Can a staircase of PLSY segments stand in for PLSR? #
It can approximate one, but only as a bench-proven hypothesis: a single PLSY instruction, reused with fresh operands, emits the profile as a series of constant-speed steps, and three reported FX0S limits decide whether that sequence can run at all. The reported limits from the FX0S application: the ladder may hold only one PLSY instance, that instance drives only Y000, and an auxiliary coil latches ON when the execution finishes, with no supported reset method identified for it. The staircase therefore reuses the one instruction. Before each segment, your program writes that segment's count and frequency into the data registers feeding the operands; the PLSY executes; when the completion coil sets, the sequence advances to the next segment. Everything hinges on two behaviors: the operands must be read fresh at each execution, and the completion coil must clear so the next segment gets its own completion event. If the coil never clears, segment two either never starts or fires on the stale flag, and the move is unrecoverable — no ladder built around a flag you cannot rearm fixes that. Both behaviors are decided on the bench, not in the manual.
How do you split the target count across ramp segments? #
Give every segment an integer pulse count and make the counts add up to the exact target, ramp steps included: the sum is the position command, and any pulses appended outside the budget become overshoot at the load. Here is a worked example, calculated for the inputs shown, not a measured result. Take a target of 8000 pulses with the drive set to 400 pulses per revolution, so the move is 8000 / 400 = 20 motor revolutions. Allocate five segments:
- 200 pulses at 500 Hz
- 400 pulses at 1000 Hz
- 6600 pulses at 2000 Hz (cruise)
- 400 pulses at 1000 Hz
- 200 pulses at 500 Hz
Pulse budget: 200 + 400 + 6600 + 400 + 200 = 8000 pulses, which meets the target exactly. Segment time is count divided by frequency:
- 200 / 500 = 0.4 s
- 400 / 1000 = 0.4 s
- 6600 / 2000 = 3.3 s
- 400 / 1000 = 0.4 s
- 200 / 500 = 0.4 s
Total move time: 0.4 + 0.4 + 3.3 + 0.4 + 0.4 = 4.9 s. Now the trap that overtravels steppers: keep the cruise at its full unramped length and append the four ramp segments, and the output becomes 8000 + 1200 = 9200 pulses — an overtravel of 1200 pulses, which at 400 pulses per revolution is 1200 / 400 = 3 revolutions past the target. The ramp pulses must be carved out of the cruise count, never added to it. The same integer discipline applies when you derive the stepper pulse count for a given encoder target. The frequencies here are example inputs — your cruise frequency comes from the torque available at speed and your step size from the start limit — but the budget equation does not change.
How do you test the pulse total and the completion coil at Y000? #
Wire Y000 into a high-speed counter input and run the whole sequence with the load uncoupled: the counted total must equal the commanded target on every run, and each segment must start only after the previous one completes. Work through the checks in this order:
- Run the full move uncoupled and read the counter: it must return the commanded total — 8000 pulses in the example, not one more or one less.
- Verify each segment on its own: its count must match its allocation, and a short first segment means the next one started early because the completion coil was still set.
- Change the operand registers between executions and confirm the new count and frequency actually appear at the output — this is the fresh-read behavior the whole method rests on.
- Run the move back-to-back, ten consecutive times without stopping the controller: if the completion coil stays latched, later moves repeat or drop segments, and the method fails right here.
- Only after all four pass, couple the motor and repeat with the drive enabled, watching that each frequency step pulls in without stall.
One safety note: an open-loop axis that loses steps raises no fault and will drive into whatever sits downstream, so keep the load uncoupled until the count is exact and keep the machine's overtravel limits inside its risk assessment. Acceptance is both conditions together — the measured total equals the commanded total and the profile actually steps through its frequencies. Do not accept the move because the final speed looked right on a meter.
What replaces the staircase when the tests fail? #
Move the ramp into hardware that carries it as an operand: a later FX controller with PLSR, a positioning module, or a motion controller with a trapezoidal finite-pulse move gives the exact total and the acceleration time in one instruction. A PLSR-capable controller needs no segmentation — one instruction makes the whole ramped move, one completion event ends it, and the latching-coil problem never appears mid-move. A positioning module or a small motion controller does the same and takes pulse timing out of the PLC scan entirely. If the controller is being replaced anyway, a PLC pulse output with a built-in ramped move, the arrangement covered in running a stepper conveyor from a PLC pulse output, is the cleanest route. The decision for each case: cruise under the motor's start-stop frequency — use plain PLSY, no ramp needed; cruise above it and the FX0S stays — use the segmented staircase, but only after both bench tests pass; either test failing, or the move profile must be trusted on the first run — replace the pulse source. On the FX0S there is no fourth option: PLSY is its only counted pulse output, and RAMP is not documented to reach it.
Questions asked
Can the PWM instruction stand in for a ramp?
No. PWM holds one period and varies the duty, and a stepper driver counts edges, so changing the duty never changes the step rate. PWM also carries no pulse tally, which is the one property the move cannot lose. Under any setting it cannot produce a finite ramped step train.
How large can the frequency jump between two staircase segments be?
Treat each jump as an instantaneous start: the motor must pull into the next speed without losing count, so keep every step below the maximum starting frequency in the motor and drive datasheet, not just below the cruise frequency. Small steps lengthen the sequence, but a step the rotor cannot follow shows up only as a growing position error, with no fault to warn you.
What symptom points to a completion coil that never cleared?
The second move either repeats the first segment or never leaves it, because the sequence sees the flag already set and skips its wait or blocks on it. Run-to-run counts come out short or doubled. Since no reset method for that coil is documented for this unit, back-to-back bench moves are the check that settles it.
Can you trim the cruise count if the total comes out wrong?
No. A counted pulse instruction should deliver its integer exactly, and a repeatable shortfall means the next segment started early and cut the previous one off. Trimming the arithmetic hides a race that will move when the scan order changes. Fix the sequencing until the uncoupled count is exact, then leave the counts alone.

