Troubleshooting
Servo turns CW then stops, then CCW: lost commutation angle
Short answer
The alternating pattern — a short CW move that stops, then a short CCW move that stops — is a lost commutation angle: the drive's current vector is no longer 90 electrical degrees ahead of the rotor magnets. It usually follows an encoder being removed and refitted. Rule out swapped U/V/W phases and the encoder cable first, then run stationary motor data identification and pole position identification on the drive.

On this page
A servo motor that turns clockwise a short distance and stops abruptly, then turns counter-clockwise and stops again on the next enable, has lost its commutation angle. The drive is holding an electrical offset between the encoder's zero and the rotor's magnet axis that no longer matches the mechanics, so the current vector lands far from the 90 electrical degrees ahead that produces torque. The motor in this case is a 1FT7108-5SC71 synchronous servo on a SINAMICS motor module rated 45 A, and the encoder had been removed and fitted to another motor in between — the classic trigger. The fix is electrical, not mechanical: verify the phases and the encoder cable, then re-establish the angle with the drive's stationary motor data identification and pole position identification.
Why the shaft jerks one way, then the other #
A permanent-magnet synchronous servo produces torque only when the stator current vector sits close to 90 electrical degrees ahead of the rotor's magnet axis. The drive computes that angle from the encoder position plus one stored number: the commutation offset. Torque per ampere follows the cosine of the error between where the drive thinks quadrature is and where it really is. At zero error the motor runs normally. Near 90 degrees of error there is no torque at all: current flows, the shaft stays put, the speed controller runs into its torque limit and the drive trips on overcurrent or following error. Past 90 degrees the torque changes sign and pushes the rotor backwards.
With a stale offset the first enable accelerates the shaft until the growing angle error crosses the zero-torque point; the torque reverses, the controller saturates and the drive trips. The rotor settles a few degrees past that crossing, so the next enable starts on the opposite side of it and the jerk runs the other way. Each attempt moves the shaft only a fraction of a pole pitch, which is why the motion is a violent twitch and not a smooth runaway.
The same stale offset appears without any refit if the encoder disk shifts on its hub inside the housing — that symptom and its fix are described in servo encoder disk slip: fixing the commutation angle after a shift.
Rule out the cheap causes first #
Work the list top to bottom; each entry names the check that confirms or clears it.
- Read the fault buffer with time stamps. Log every fault and alarm the drive recorded at each enable before you clear anything. Overcurrent, following error and an encoder alarm each point down a different branch of this list.
- Confirm the feedback path in the drive's topology view. A 1FT7 comes either with a DRIVE-CLiQ encoder that plugs straight into the motor module, or with a conventional encoder that goes through an SMC sensor module between motor and drive. The topology comparison must show the module the project expects, with no mismatch flag.
- Inspect the encoder cable and both connectors. Bent pins, moisture and a shield that has lost its bond at either end all mimic a lost angle intermittently. This encoder was handled — pulled off one motor and fitted to another — so treat its connectors as suspects. Confirm with continuity and shield-to-housing checks, and substitute a known-good identical cable if one is at hand; a replacement must match the cable specification the drive family calls for, as set out in servo motor power and encoder cable selection for one drive family.
- Verify the U/V/W phase order with the drive isolated and the DC link discharged. A single swapped pair inverts the rotating field and reproduces the same alternating jerk. Check one-to-one from the motor connector to the module output; the phasing check and the fault pattern it produces are described in servo drive shows COM fault then overload: check U V W phasing first.
- Check the motor data set against the nameplate. Pole pair count, rated current and rated speed must match the motor; a wrong data set produces the same useless torque. A DRIVE-CLiQ motor reads its data from its electronic rating plate, while a conventionally connected motor relies on what was selected in the project. Why wrong motor data holds a machine still is covered in why a drive hums without turning on wrong motor data.
- Check mechanical freedom. Uncouple the load or release the holding brake and turn the shaft by hand. If it will not turn, the fault is the brake or the gearbox, not commutation.
- Verify the encoder counting direction. With the drive disabled and the load uncoupled, turn the shaft clockwise viewed from the shaft end and watch the actual position value count in the direction the drive calls positive. If it does not, correct it in the drive's encoder direction setting — never by swapping power phases.
How far off must the angle be #
Torque per ampere scales with the cosine of the electrical error, so a small angular shift costs little and a large one reverses the torque. The numbers below are a calculated example for those inputs, not a measured result for this motor: assume a motor with 4 pole pairs — take the real count from the nameplate or the drive's motor data — and an encoder that went back on with its zero rotated 120 electrical degrees away from the rotor magnet axis.
- Mechanical error on the shaft: 120° electrical ÷ 4 pole pairs = 30° of shaft rotation.
- Torque factor at that error: cos(120°) = −0.5, so the drive commands full forward current and gets half of it back as reverse torque — the shaft accelerates the wrong way and trips.
- Zero-torque error: cos(90°) = 0, which on this example motor is 90° ÷ 4 = 22.5° of shaft rotation; an encoder refitted that far off stalls without moving at all.
- Scale of the jerk: one electrical revolution spans 360° ÷ 4 = 90° mechanical, so a pole pitch of 180° electrical is 45° mechanical, and the twitch at each enable is a fraction of that.
A refit that leaves the encoder coupling tens of mechanical degrees off its marks is enough to produce exactly the CW–stop–CCW–stop pattern; run the same arithmetic with your own pole count and shift to see how accurate the refit must be.
Re-establish the commutation angle #
This is a commissioning task in the drive, not a wiring repair. Safety note: isolate, lock out and wait the drive's documented discharge time before opening any power connector — the DC link stays lethal after power-off — and because the identification energizes the windings and can move the shaft, uncouple the load or support any vertical axis and keep hands clear. An encoder that was pulled off must also be seated correctly before any of this: the fitting and its alignment steps are covered in replacing a servo motor encoder: part and alignment first.
- Run the identification with the load uncoupled wherever the machine allows it.
- Start with stationary motor data identification: the SINAMICS documentation calls this the standstill measurement and selects it with p1910 = 1. Enable the drive; it determines the motor's electrical parameters, stator resistance and leakage inductance included, at standstill and finishes by itself.
- Then run the pole position identification and select its technique with p1980. Motion-based techniques rotate the shaft deliberately and need it free to turn; saturation-based techniques work with the shaft held but need enough current to saturate the iron. Start the identification and let the drive store the angle with the motor data.
- Copy the parameter set from volatile to non-volatile memory so the identified angle survives the next power cycle.
- Prove the fix: jog slowly in both directions with the load still uncoupled — the shaft must follow from zero speed without twitching — then enable several times in a row and confirm the alternating pattern is gone before coupling up.
If the identification refuses to complete #
If the drive reports the pole position identification unsuccessful, the vendor guidance is to select a different technique in p1980 — motion-based methods in particular can only run on a shaft that turns freely, so a brake left on or a coupled load will defeat them. If every technique fails on an uncoupled shaft, the problem sits upstream of the angle: return to the cable, SMC module and topology checks in the list above, and re-check that the encoder's coupling element is seated on its cams. The commissioning that follows a replaced encoder, including the motor data the drive needs afterwards, is walked through in commissioning a replacement servo encoder with motor ID data.
The decision #
- Encoder off the motor, phases verified one-to-one, cable sound, shaft turns by hand: the commutation angle is stale. Run stationary motor data identification, then pole position identification — the motor will run.
- A phase pair actually swapped: correct the wiring to U-V-W one-to-one; if the swap happened after a successful identification, re-run the identification as well.
- Topology mismatch or intermittent encoder alarms: reseat or replace the cable or sensor module first, then identify.
- Shaft locked by hand: brake or gearbox — not a commutation problem, and no identification will fix it.
- Identification fails on every technique with the shaft free: the encoder's mechanical alignment itself is wrong; refit or replace the encoder, then identify.
Questions asked
The encoder counted correctly on another motor — can it still be misaligned?
Yes. Correct counting proves the sensor works, not that it is aligned. Commutation needs the encoder's zero at a fixed electrical angle to this motor's magnet axis, and pulling the encoder off one shaft and onto another changes that mechanical relationship. The pair has to be re-identified on the motor it now drives, even with an electrically healthy encoder.
Should I swap two motor phases to stop the reversal?
No. Swapping phases reverses the rotating field, which can look like a fix for one enable and trip on the next, and it reverses every direction the machine depends on. A stale commutation angle still produces a zero-torque position regardless of phase order. Verify U, V and W one-to-one against the drive output and change direction only in the drive's settings.
How often must pole position identification be repeated?
Once for each encoder refit or disturbance of its coupling; the identified angle is stored in the drive with the motor data. It survives power-down when the feedback delivers an absolute position. Feedback without an absolute track needs a fresh identification after every power-up — the drive's function manual lists which feedback types that applies to.
Can the identification rotate the shaft by itself?
Yes. Standstill motor data identification pulses current through the windings, and a motion-based pole position identification turns the shaft deliberately, normally by less than a pole pitch. Uncouple the load or support any vertical axis, keep hands and tools clear, and be ready to drop the enable the moment something moves wrong.


