Explainer
Why an Enabled Servo Axis Corrects Position After the Move
Short answer
The correction after a completed move is the enabled position loop removing an error that an external load created. Stop it by removing servo action for that window only, with Motion Servo Off before the sealing jaws close and Motion Servo On before they open, then prove the window with the ServoActionStatus and DriveEnableStatus trends.

On this page
- The correction is the position loop, not a repeat move
- Why the correction appears on some cycles only
- Timing the servo-off window for a 4.5 s jaw-closed sealing state
- Removing servo action for the sealing window
- Prove the window on a trend, not on the done bit
- When re-enable refuses or faults
- The decision for each case
- Questions asked
The readjustment after a completed move is not a second move the controller invented. It is the enabled position loop doing the one thing it exists to do: an encoder watches the axis, the closed sealing jaws pull the film, that pull reaches the mechanics as a small displacement, and the loop commands torque to erase the error it now sees. While the drive stays enabled, any load that moves the film gets the same answer. The fix is not a stop instruction and not a retune: remove servo action for exactly the window in which the jaws act, and put it back before the next feed move. On this class of motion controller that means a servo-off instruction requested while the jaws are nearly closed, Motion Servo On requested as they are about to open, and a trend of the two axis enable status bits to prove the window every cycle.
The correction is the position loop, not a repeat move #
When the MAM move completes, the commanded position stays fixed and the drive stays enabled. The encoder keeps reporting actual position, and any difference between the two produces torque in the direction that restores the target; deviations caused by large external forces get corrected precisely because an encoder is watching the movement. Holding is active work, not rest: the drive supplies the current needed to oppose the stationary load for as long as it holds.
Jaw closure is exactly such a load. The cross jaws press the film to seal and cut it, that pressure pulls the film down slightly, the displacement reaches the motor through the feed mechanics, and the loop answers with correction torque. On the trend this reads as the axis chasing a position it already reached, because from the loop's side an error has just appeared. The same mechanism is at work in a servo gripper that trips overload at the closed jaw position: a closed mechanism loads a held axis, and the held axis reacts.
Why the correction appears on some cycles only #
The correction looks intermittent because the disturbance is. Film tension, jaw pressure, guide friction and the compliance of web and mechanics vary cycle to cycle. When one cycle's pull stays inside the stiction and play of the transmission, the loop sees no error and nothing visibly happens; the next cycle's pull moves the film enough to trigger a visible correction. The program has not changed, the mechanics moved a fraction differently.
Two program-side causes produce motions that look similar and are cheaper to rule out first. Overshoot: if actual position crosses the target during deceleration, before the jaws close, the planner's maximum deceleration is the suspect. Sequencing: an MRP position-redefinition request can take multiple controller scans to finish, because it needs multiple coarse updates, and its done bit is not set immediately; if the MAM in-process bit sets before both the request-enabled and done bits of the redefine, the move started before the coordinate system was ready. Trend MAM.IP against MRP.EN and MRP.DN to see that ordering. Both causes act during or at the start of a move. A correction that begins only when the jaw-position signal moves is the holding problem, and holding is settled by the enable state, not the planner.
Timing the servo-off window for a 4.5 s jaw-closed sealing state #
Take the film-feed installation this article follows: the cross sealing jaws close on the film after the feed move completes, and the question is how long servo action must stay removed.
The inputs, each with its source:
- Jaw-closed sealing state: 4.5 s, measured on this machine's sequence by the engineer who commissioned the fix.
- The two enable status bits of the axis,
ServoActionStatusandDriveEnableStatus, read from the axis status structure and trended across full cycles. - The jaw-position signal, which drives the
LIMtest that places the servo-off request inside the near-closed band.
The rule in words: servo action must be out for the entire interval in which the closed jaws can act on the film. The window opens when the servo-off request takes effect, closes when Motion Servo On takes effect, and the re-enable must complete before the next feed move needs torque.
The arithmetic: the sealing interval sets a floor of 4.5 s of servo-off time in every machine cycle. Because the servo-off request is placed inside the near-closed band, before closure finishes, and the re-enable is placed as the jaws are about to open, the real window is that floor plus the jaw travel between the band edge and full closure, so a correct trend shows slightly more than 4.5 s of continuous disabled time each cycle.
The result and its threshold: the pass mark is a continuous interval each cycle in which both status bits read disabled, at least as long as the sealing interval. Measure the longest disabled interval in one trended cycle. At or above the sealing floor, the loop was out for the whole pull and no correction can occur inside the window. Below it, part of the jaw pull happened with the loop live: widen the LIM band so the servo-off request lands earlier, and re-measure.
Removing servo action for the sealing window #
MSF, the servo-off instruction, ends servo action: the loop stops commanding correction torque and the axis coasts, which is what the process wants while the jaws hold the film. Drive the request from a LIM test on the jaw-position signal so it lands inside the near-closed band, and request MSO as the jaws are about to open, so the drive is enabled and servo action is active before the next feed move needs torque. Keep one coordinated MSF/MSO control point for the axis, a single instruction pair whose enable and disable conditions live in one place in the program. Multiple instructions driving one axis from different routines create order-dependent requests and fault-like symptoms; the installation followed here carried a second pair for the same axis elsewhere, and that duplication sits behind the enable error in the next section.
One safety condition comes with this method: switching servo action off also releases holding torque, so apply it only where nothing hazardous can move during the window, with no gravity load, stored energy or web tension able to drive the mechanism. A vertical axis is the classic counterexample, and resolving a vertical axis drop when the drive is switched off is a different problem with its own brake and enable sequence.
Prove the window on a trend, not on the done bit #
MSF.DN true with MSF.ERR clear confirms the request completed; it does not confirm what the drive is physically doing. Trend ServoActionStatus and DriveEnableStatus together with jaw position, commanded position and actual position across several full machine cycles. During the sealing window both status bits must show the disabled state and the film must not be driven back toward the old position; before the next feed, both must return without a motion instruction starting early. On the installation that adopted this fix, trending exactly that pair of status bits is what made the off and on transitions visible, cycle by cycle, after the done bit alone had left doubt.
Watch the first move after re-enable as well. If the load displaced the mechanics while the axis coasted, the loop drives back toward the original command and the re-enabled move can start with a jump. An offset that appears immediately after enable and disable cycles has a documented pattern of its own, described in position offset errors that follow servo-off and servo-on cycles, while an offset that survives across cycles points at the mechanics or the enable sequence, not at the move.
When re-enable refuses or faults #
Before any servo-on request fires, verify ShutdownStatus is false and AxisFault equals 0; where a shutdown or fault is present, run the MASR and MAFR reset instructions first, then enable. In the observed installation, MSO returned .ERR 20 whenever the machine was stopped, and a second MSF/MSO pair still existed for the same axis. Treat both as suspects: consolidate the control points, clear the shutdown and fault states, and read the axis log at the failure instead of assigning a meaning to the error number from the symptom alone.
The decision for each case #
Decide from where the motion starts, not from how the move looks:
- Correction that starts only as the jaw-position signal moves, after the move completed: the holding problem. Remove servo action for the whole jaw-closed window through one coordinated MSF/MSO pair, and prove the interval on the
ServoActionStatusandDriveEnableStatustrend. - Actual position crossing the target during deceleration, before the jaws act: overshoot. Correct the planner's deceleration setting and leave the enable state alone.
MAM.IPsetting before bothMRP.ENandMRP.DN: sequencing. Interlock the move until the redefinition completes.- Film visibly climbing or dragging in the jaws: mechanics. Software can release holding for the process window; it cannot remove excessive jaw drag, looseness or backlash in the feed path.
- A feed axis that redefines its position every cycle only to stay inside its coordinate range: question whether the axis should be configured as linear at all; the rotary alternative and its revalidation cost are in the questions below.
Questions asked
Will a stop instruction cancel the post-move correction?
No. A MAS stop instruction cancels planned motion, and the correction is not planned motion: it is the enabled position loop reacting to a displacement the closed jaws created. Stopping planned moves leaves the loop holding the commanded position, so the next jaw pull still produces a correction. Only removing servo action for the disturbance window stops the axis from driving back; the axis then simply coasts while the jaws hold the film.
Can softer tuning make the axis ignore the jaw pull?
Softer position gains shrink the visible correction, but they also slow the production move, and they never remove the holding action: an enabled loop keeps opposing any displacement the encoder can see. If the process needs the axis to yield to the jaws, the complete fix is to switch servo action off for that interval. Reserve tuning changes for problems that appear during the move itself, such as overshoot.
Why does the program redefine the axis position between moves at all?
On a film-feed axis configured as linear, repeated absolute moves eventually reach the end of the coordinate range, so the program redefines the origin to keep feeding. That dependency can be designed out by configuring the axis as rotary with an unwind value and issuing relative moves instead. The change touches coordinates, homing, limits and every part of the program that reads the position, so it needs full revalidation before you trust it.