Explainer
Why a servo feeder stops on motor position, not strip position
Short answer
The servo stops on its motor encoder's position, so the strip encoder can never be the stop condition itself. Read the strip encoder in the controller and correct the running relative move through its documented continuous-update distance input — a position reset needs the axis stopped and cannot recover lost travel. Begin deceleration early: braking travel v²/(2a) plus v·t of command delay; at 300 mm/s and 2,000 mm/s² with 10 ms delay that lead is 25.5 mm.

On this page
- Why the servo cannot see the strip
- What the measuring roller can provide
- Why a position reset cannot correct a running feed
- The correction path: update the move while it runs
- When deceleration has to begin
- Worked example: slip, scale and stopping travel
- Checks before you trust the loop
- The decision
- Questions asked
A servo axis stops on its own encoder's position, and it will do that even when the strip is somewhere else. That is not a tuning fault: the drive closes its position loop on the motor encoder, so a relative move watches shaft travel and reports Done at the commanded distance no matter how much the drive roller slipped underneath the strip. Landing the strip on target length takes two things. The measuring-roller encoder must be read in the controller as an outer-loop measurement that corrects the running move through its continuous-update distance input, because a position reset needs the axis stopped and cannot recover travel the strip never made. And deceleration must begin before the target by the full stopping travel: v²/(2a) of braking plus v·t of command delay. Both are set out below with the numbers.
Why the servo cannot see the strip #
A closed-loop servo corrects whatever its feedback measures. The feedback is the encoder inside the motor, so 'position' means shaft angle: proof the roller turned, not proof the strip moved with it. Roller-to-strip slip changes with contact pressure, strip surface, acceleration and load, so programming the move longer by a fixed amount only compensates the offset that existed on the day you measured it.
The motion standard behind the MC_ function blocks, PLCopen motion control as implemented under IEC 61131-3, defines MC_MoveRelative as positioning relative to the current set position, monitored over the whole travel, with Done reported when the axis reaches the target. 'The axis' is the drive's own measured position. The block can be doing its job perfectly — every count of shaft travel present, Done issued on time — while the feed is short. A faultless axis with a short strip is the signature of this problem.
What the measuring roller can provide #
An incremental encoder on a second roller, held against the strip, is the only position signal in the machine that measures material. Its travel since the start of a feed is
x = (count - start_count) × C / N
with C the roller's effective circumference and N the counts per revolution that the counter input actually registers, which includes its decoding mode — a quadrature input does not register the line count printed on the datasheet. Setting that scale from a known-length feed and keeping the count honest is the same discipline as counting encoder pulses on a PLC without losing position.
The feed error is e = target_travel - measured_travel; positive means the strip is behind and more feed is owed. Until that number reaches the motion command it is only an inspection value. The servo never reads it.
Why a position reset cannot correct a running feed #
MC_SetPosition shifts the coordinate reference so the axis's reported position says what you want. The standard's implementations accept it only while the axis is at standstill, and it changes what the position is called, not how far the strip physically travelled — the material does not move by one count. It belongs to homing and reference shifts, not to the feed path. Correction during motion has to enter through the motion command itself.
The correction path: update the move while it runs #
MC_MoveRelative documents a ContinuousUpdate input: selected input values of the active block can be updated while the block is running instead of being fixed at start. That is the legitimate door for slip correction. Which inputs your implementation updates, when it accepts a new value, and what the updated Distance references are stated in that implementation's manual, and all three matter before you write logic — a Distance referenced to the move origin and a remaining distance referenced to the current position are different quantities, and confusing them extends the move again on every update.
The working sequence:
- Capture the strip encoder count at the start of each feed, so every feed is judged from its own origin.
- Each controller cycle, compute e = target_travel - measured_travel in consistent engineering units.
- Write the correction into the block's documented Distance reference, clamped a little above the worst slip you have measured so one bad count cannot become a runaway command.
- Let the corrected move carry the strip to the deceleration point and settle.
This is the same outer-loop pattern as servo electronic gearing with registration correction: the drive stays closed on its own encoder while a measured external position bends the command.
When deceleration has to begin #
The block reports Done at the motor-side target, and the strip keeps moving through the whole deceleration. At strip speed v and deceleration a, braking travel is d = v² / (2a), and a command delay t — scan time, network update, drive ramp acceptance — adds about v·t of travel before braking bites. Begin deceleration when measured strip travel reaches the target minus that sum.
One refinement: the lead is consumed from the strip side, and slip still outstanding at the trigger moment eats into it. Correct early in the move so the offset is settled before the deceleration point, and keep the lead honest.
Worked example: slip, scale and stopping travel #
Calculated example for these inputs, not a measured result.
Inputs: target feed L = 500.0 mm; feed speed v = 300 mm/s; deceleration a = 2,000 mm/s², about 0.2 g; command delay t = 10 ms; measuring roller effective circumference C = 100.0 mm; encoder 2,500 lines counted in quadrature, so N = 4 × 2,500 = 10,000 counts/rev.
Scale: travel per count = C / N = 100.0 mm / 10,000 counts = 0.01 mm per count. A 500.0 mm feed is therefore 500.0 mm / 0.01 mm per count = 50,000 counts.
Braking travel: d = v² / (2a) = (300 mm/s)² / (2 × 2,000 mm/s²) = 90,000 mm²/s² / 4,000 mm/s² = 22.5 mm.
Delay travel: v·t = 300 mm/s × 0.010 s = 3.0 mm.
Deceleration lead: 22.5 mm + 3.0 mm = 25.5 mm. Start decelerating when the strip encoder reads 500.0 mm - 25.5 mm = 474.5 mm.
Correction: mid-feed, the motor encoder reports 250.0 mm of shaft travel while the strip count reads 24,600 counts, which is 246.0 mm. Then e = 4.0 mm: the strip is owed 4.0 mm, and the ContinuousUpdate path adds 4.0 mm through the documented Distance reference — 504.0 mm if your implementation updates the origin-referenced total. The strip, not the shaft, lands on target.
Checks before you trust the loop #
Four checks, cheapest first:
- Sign: jog slowly in the feed direction and confirm the strip count increases. A reversed sign makes every correction grow the error.
- Scale: feed a known length and compare counted travel. A scale error shows up as a mismatch that grows with length.
- Measuring-roller contact: check the measuring encoder against an independent length measurement at representative roller pressure and strip condition. If the measuring roller slips, the outer loop faithfully chases the wrong target, and more correction effort cannot repair unreliable contact.
- Input rate: at the example speed the counter input sees (300 mm/s / 100.0 mm) × 10,000 counts = 30,000 counts/s. The input must accept that rate as installed; its manual states the maximum. If it cannot, ×1 decoding drops the rate to 7,500 counts/s and coarsens resolution to 0.04 mm per count, still adequate for millimetre-class cutting.
Reject stale or impossible counts before they become correction. A servo position that counts up while the motor is stationary is exactly the kind of input you must never feed into this loop. And re-verify the real stop after any change to filtering: a filter is another delay, and delay is stopping travel.
The decision #
- If your relative-move block documents a ContinuousUpdate input on Distance, run the outer loop as above and trigger deceleration at target - 25.5 mm for the example inputs; for your machine, at target - (v² / (2a) + v·t).
- If it does not, use a documented two-stage feed: a coarse move to just short of the deceleration point, then a creep-speed stage sized to the remaining travel, with the strip encoder verifying the settled length. If that still misses tolerance, the architecture changes: a drive that accepts the measuring encoder as its position feedback needs a documented second-encoder input and its own commissioning procedure.
- If repeated test feeds show slip stable well inside the cut tolerance, a fixed offset on the commanded distance is acceptable; re-check it after any change of roller pressure, strip batch or acceleration.
- If the measuring roller itself slips, fix the contact first. No control path repairs a bad measurement.
Interlock the cut until the feed is stationary and the strip position has settled, and verify that interlock against your machine's risk assessment.
Questions asked
Can the strip encoder become the servo drive's own feedback instead?
Only on drives that document a second encoder input and allow selecting it as the position feedback source. That is a different architecture: the loop then closes on strip travel, but homing, scaling and alarm behavior follow that drive's manual, and the outer-loop logic above becomes unnecessary. Most strip feeders keep the motor encoder in the loop and run the slip correction in the controller.
How does quadrature decoding change the counts per revolution?
A 2,500-line incremental encoder counted in quadrature produces four counts per line, so 10,000 counts per revolution. With a 100 mm measuring roller circumference that is 0.01 mm of strip travel per count, and a 500 mm feed equals 50,000 counts. Take the counted figure from your counter input's configuration; the line count on the datasheet is not what the travel formula needs.
When is a fixed distance offset enough instead of live correction?
When repeated test feeds of a known length show a short-feed error that is stable and comfortably inside your cut tolerance. Apply the average error as a fixed addition to the commanded distance and re-check it after any change of roller pressure, strip batch or acceleration. If the error drifts from cut to cut, only the measured outer loop tracks it.
Does filtering the strip encoder count help or hurt?
A light filter quiets count jitter, but every filter adds delay, and delay converts to stopping travel: extra travel equals strip speed times the added delay. A 20 ms filter at 300 mm/s adds 6 mm of coast. If you filter, re-measure the actual stop afterwards and include that distance in the deceleration lead.
