Troubleshooting
Why a V90 servo overshoots the stop position on a labeling machine
Short answer
The 3–4 mm overshoot is stopping distance, not a missing stop command. With a 20 ms deceleration ramp, 3–4 mm of travel during the ramp alone matches a label speed of 300–400 mm/s, and input filtering plus scan time add more. Budget detection-to-rest distance, move the stop point upstream, and keep a real deceleration ramp.

On this page
A label that runs 3–4 mm past the stop position after the stop input arrives is not losing the stop command: it is traveling during the stopping sequence. Detection, input recognition, command handling, and deceleration each take time, and at labeling speeds a few milliseconds of delay is already millimeters of travel. With the reported 20 ms deceleration setting, the ramp alone accounts for 3–4 mm at a label speed of 300–400 mm/s, so the deceleration time is doing what it was asked to do. The fix is to budget the whole detection-to-rest distance and move the stop point upstream, not to keep hunting for a missing stop command. One safety note before any of this: if that stop input ever serves an emergency stop or safety function, do not shorten its ramp or filter settings to cure an accuracy problem; the safety function must be validated as designed, and a positioning fix must never weaken it.
What the stop distance is made of #
The distance between the sensor edge and full rest is:
d_total = v × t_delay + v × t_dec / 2 + d_transport
where v is label speed in mm/s, t_delay is the combined sensor response, input filter, scan or interrupt scheduling, and drive command-processing time, t_dec is the actual deceleration time, and d_transport is extra material travel from belt slip or compliance after the motor is at rest. Millimeters per second multiplied by seconds gives millimeters; keep every term in those units.
The part people forget is t_delay. At a 350 mm/s label speed, every millisecond of delay before the drive begins to slow costs 0.35 mm. A 10 ms input filter and scan path together already exceed the whole reported overshoot.
Confirm the offset is real travel #
Before timing anything, separate a true overshoot from a misplaced sensor.
- Mark the label position where the sensor switches and compare it with the required resting position. If the sensor switches at the required final position, the machine has no stopping-distance allowance at all and the sensor must be moved upstream; no motion setting will fix that.
- Record trigger-to-rest displacement over repeated labels at one speed. A stable 3–4 mm offset points at stopping distance or sensor placement. A scattered offset points at signal timing, command sequencing, or slip.
- Repeat at two operating speeds. An offset that grows with speed confirms deceleration and delay dominate; an offset that stays nearly constant points at sensor geometry or label transport.
- Measure the real label speed with a stopwheel or by timing labels past a mark, not from the drive speed setting. Roller diameter, gearing, and slip decide how motor motion becomes label travel.
Chase the delay before the drive #
Capture the sensor signal at the PLC terminal with a recording instrument and correlate the edge with label position. You need a clean transition at a repeatable physical position; a late or wavering edge is a sensor, wiring, or noise problem, and motion tuning will not fix it.
Then read the configured digital input filter and the interrupt assignment in the CPU. A hardware interrupt changes program scheduling so the stop logic runs immediately, but it does not bypass the electrical input filter, and interrupt execution does not prove the motion subsystem has already accepted the request. Check the filter time set on that input and shorten it only as far as the signal quality allows. For the scan-based path, the same event waits for the scan as well. Set the pulse output and stop handling in one place; the pulse train interface described in wiring a V90 servo to an S7-200 SMART pulse train interface shows how the command side is arranged.
Finally trace the stop request through the generated motion logic. Confirm exactly one accepted stop request, no competing run or positioning command, and that the deceleration setting you changed is the one the active stop function actually uses. A ramp value that belongs to a different motion function cannot affect this stop.
Check the drive and the mechanics #
For a pulse-commanded axis, capture the pulse frequency around the stop event. Three patterns tell you where the travel happens:
- Sensor changes, but the pulse frequency stays at run speed: the delay is before the command. Work on input recognition and stop acceptance.
- Pulse frequency drops, but the motor speed follows later: drive response or load tracking adds travel. Compare command and actual speed with a drive trace.
- Motor reaches rest, but the label keeps moving: the transport adds travel. Inspect slip, belt tension, and coupling compliance, and add that as
d_transportin the budget.
The V90 documentation is explicit that with low system rigidity the motor can take a long time to stop even when the emergency stop speed is set to zero, so a stiff, well-tuned position loop is part of the stop distance too. Note also that a zero or near-zero ramp raises the braking torque demand sharply and, on soft mechanics, lengthens the stop instead of shortening it; keep a real deceleration ramp in the tens of milliseconds and recover the distance by moving the stop point. Changing the V90 operating mode while it is running is not a repeatable stop strategy; establish one mode and diagnose within it.
Worked example: where 3–4 mm comes from #
Take the reported case as a calculated diagnostic example. Assume a label speed v of 350 mm/s, a deceleration ramp t_dec of 20 ms, and a combined delay t_delay of 10 ms from the input filter, scheduling, and drive processing:
- Ramp travel: 350 mm/s × 0.02 s / 2 = 3.5 mm
- Delay travel: 350 mm/s × 0.01 s = 3.5 mm
- Total before slip: 3.5 mm + 3.5 mm = 7.0 mm
So even with the reported 20 ms ramp held constant, the delay terms can double the overshoot, and 3–4 mm of ramp-only travel corresponds to a label speed of 300–400 mm/s. Run the same arithmetic on your own recorded speed and measured delay instead of borrowing these example numbers: halving the ramp to 10 ms cuts the ramp term to 1.75 mm at that speed but demands more braking torque, while moving the sensor upstream by the full budgeted distance fixes the position without touching the ramp at all.
The decision #
Commit to this order of fixes:
- Wrong sensor position. If the sensor switches at the required final label position, move it upstream by the full budgeted stopping distance, measured from the worked example with your speed and delay. That is the fix in most labeling overshoots.
- Stable offset, speed-dependent. The stopping distance dominates. Keep the ramp at a real 20 ms-class value, shorten only the input filter as noise allows, use the hardware interrupt rather than scan-based logic, and re-offset the sensor by the remaining budget.
- Scattered offset. Timing or mechanics dominate. Fix sensor alignment, wiring, and signal quality first, then measure slip and add
d_transport; do not tune the ramp against a moving target. - Motor stops, label moves on. Belt slip or compliance. Retension and regrip the transport; the servo side is already correct.
If the stop input also serves a safety function, leave its ramp and filtering as validated and make the positioning fix on a separate, non-safety input.
Where this leaves the machine #
Once the stop point is offset by the budgeted distance, verify it: ten consecutive labels should rest within a tight band at all production speeds, and the offset should scale with speed only through the budget terms. For multi-axis or multi-drive labeling lines the same budget applies per axis, and coordination problems between drives are a separate subject covered in why V90 servo drives run alone but not together on Modbus RTU.
Questions asked
Can I set the deceleration ramp to zero to stop the V90 instantly?
No. Zero ramp does not mean zero stopping distance: the V90 still needs finite braking torque and time to bring the motor and its inertia to rest, and the label travels during that time. A zero or near-zero ramp also raises the braking torque demand and can trip the drive or jerk the mechanism on low-rigidity mechanics. Keep a short but real ramp, typically in the tens of milliseconds, and recover the distance by moving the stop trigger point upstream instead.
Does a hardware interrupt on the S7-200 SMART eliminate the input delay?
It removes the scan-time wait, not everything else. The sensor response time, the digital input filter delay, and the drive's own processing after receiving the pulse stop all still count. An interrupt also does not bypass electrical input filtering, so check the filter time configured on the input you use and shorten it only as far as noise allows. The remaining delay is usually a few milliseconds, which at 350 mm/s is roughly 1 to 2 mm of label travel.
What is a stopping distance budget for a servo stop?
It is the sum of all travel from the sensor edge to full rest: label speed times total delay (sensor response, input filter, scan or interrupt scheduling, drive command processing), plus half the speed times the deceleration time, plus any material slip or belt compliance after the motor stops. Write it as d = v times (t_delay plus t_dec divided by 2) plus d_transport. Every time you halve the ramp time, you also roughly halve the ramp distance but increase the torque demand, so fix the budget by moving the detection point, not only by chasing the ramp.
Why did changing the V90 operating mode while running not help?
Changing the drive's operating mode during motion is not a stop strategy. The drive may reject the change, take time to reinitialize, or enter an undefined state, and it does nothing about the input delay and mechanical travel that make up most of the overshoot. Pick one operating mode that matches the PLC's command interface, commission the stop within it, and tune the deceleration setting that mode actually uses.


