Troubleshooting
Fixing a grid align error after a servo motor rebuild
Short answer
The zero-return switch made, but the control finished its alignment move without seeing the encoder's marker pulse. Verify the encoder connector, cable and the Index Invert A and Index Invert B fields first; if those are right, loosen the motor coupling, rotate the motor 180 degrees on the ballscrew and re-home — the documented field fix that clears the alarm when the marker sits outside the alignment move.
On this page
- What does a grid align error mean on a servo axis?
- Does the alarm mean the rebuilt servo motor is bad?
- Which checks come before touching the coupling?
- Why does rotating the motor 180 degrees clear the error?
- How do you rotate the motor 180 degrees on the coupling?
- How do you confirm the fix is permanent?
- What if the grid align error comes back?
- Questions asked
A grid align error after a servo motor rebuild is almost always a marker-phase problem, not a bad motor: the zero-return switch made, and the control finished its alignment move without seeing the encoder's one-per-revolution marker pulse. Confirm the encoder connector and cable, then the Index Invert A and Index Invert B fields in the servo configuration axis data. If those are right, loosen the motor coupling, rotate the motor 180 degrees on the ballscrew, retighten and re-home — on the machine that reported this alarm, that single move cleared it. The sections below walk the checks in order of cost, show the arithmetic behind the half-turn, and end with the decision for each outcome.
What does a grid align error mean on a servo axis? #
It means the zero-return switch changed state but the control completed its alignment move without detecting the encoder marker pulse, so it is a reference-signal fault, not a drive overload; no current, temperature or tuning value decides it.
Homing on this class of control uses two separate references. The zero-return switch is the coarse trigger that tells the control the axis is near home. The marker — also called the index or zero pulse, a dedicated channel on an incremental encoder that produces one pulse per shaft revolution — is the fine reference the control actually latches. The alarm's own remedy text names its check list: the encoder, the encoder wiring, and the marker pulse setup, which lives in the servo configuration axis data, where the Index Invert A and Index Invert B fields must match the encoder or the marker may be missed.
Two consequences narrow the diagnosis. A switch that makes proves nothing about the marker channel, and a motor that turns proves nothing either: the A and B channels can count normally while the one-per-revolution marker never reaches the latch. And because the fault is a missed reference event, motor current, winding temperature and tuning gains are the wrong instruments entirely.
Does the alarm mean the rebuilt servo motor is bad? #
No — the alarm says a reference event was missed, not that the motor cannot produce torque, so condemning the rebuild is the last conclusion, not the first; a motor that spins through the homing move proves nothing about its marker channel.
A rebuild disturbs exactly what this alarm depends on: the encoder's clocking on the shaft, the connector seating, and the cable dressing in the track. Machines old enough to need a servo rebuild usually have encoder cable jackets near the end of their life, and it is the removal and reinstallation that finally breaks a conductor — inspect the cable before suspecting the motor. Related feedback faults after encoder work, such as fixing servo travel error after an encoder swap, follow the same rule: establish what the control actually receives before replacing parts. For a motor-level verdict that ignores the alarm, the bench checks in how to tell if a servo motor is actually faulty cover windings, insulation and bearings.
Which checks come before touching the coupling? #
Three, in rising order of effort: watch the switch input change state during a home attempt, inspect the encoder connector and cable the rebuild disturbed, and verify the Index Invert A and Index Invert B fields against the encoder actually fitted.
The observed symptom is fixed — switch made, alignment move completed, no marker — so work the remaining causes cheapest first, each with its confirming check:
- Switch input path (nearly free). Jog toward home and watch the axis input indication in the control's diagnostics; the state must change exactly as the dog passes the switch. The alarm wording says the switch made, but verify it anyway, because no coupling angle can rescue a switch the control never sees.
- Encoder connector and cable (cheap). Inspect the pins and the jacket where the cable flexes, especially everything handled during the rebuild. Confirming check: A and B counting normally in diagnostics with no one-per-revolution marker event points at the marker conductor or its connection, not the motor.
- Marker polarity (a configuration read). Read Index Invert A and Index Invert B in the servo configuration axis data and compare them with the encoder fitted; the alarm remedy names these two fields because a marker whose polarity is inverted is invisible to the latch. Confirming check: set both to the encoder's documented polarity and re-home.
- Marker phase (the mechanical case). Switch toggles, cable is sound, polarity matches: the marker is healthy but sits past the end of the alignment move. That is the case the coupling rotation fixes.
Observe trigger states in the diagnostics indications; the numeric axis configuration screen holds setup values and never shows live events.
Why does rotating the motor 180 degrees clear the error? #
Because the marker recurs once per motor revolution, half a revolution shifts it half a marker period along the axis — 5 mm on a 10 mm lead — and a half-period shift is identical in either direction, so you cannot turn it the wrong way.
When the motor goes back on the screw, the angular relationship between shaft and screw is whatever the installer's hands gave it, so the marker's distance past the switch edge is arbitrary. If that distance exceeds the alignment move's length, the move ends first and the alarm reports exactly what happened. The worked numbers are a calculated example for the stated inputs, not a measurement:
- Screw lead, 1:1 motor to screw: L = 10 mm per revolution
- Marker frequency: one pulse per revolution, so one marker every 10 mm of travel
- Alignment move length after the switch: W = 7.5 mm
- Marker distance past the switch edge after the rebuild: d = 9.0 mm
Miss check: d = 9.0 mm > W = 7.5 mm, so the move ends 1.5 mm short of the marker and the alarm fires. Correction: a half-turn shifts the marker by L × 0.5 = 10 mm/rev × 0.5 rev = 5 mm, putting the first marker at 9.0 − 5 = 4.0 mm past the edge; 4.0 mm < 7.5 mm, so the move now crosses it and the axis homes.
The half-turn is the committed move, not a guess, whenever the alignment move spans at least half a marker period: the alarm can only occur with d between W and one full period, and after the shift the marker sits between 0 and half a period past the edge — always inside such a window. If your window is narrower than half a marker period, only overshoots smaller than half a period clear on the first half-turn. Where diagnostics display the marker distance and the homing configuration gives the move length, you can aim instead: target the middle of the window, shift = d − W/2, rotation = shift ÷ L × 360°. Take L from the machine's screw specification and W from the homing configuration; none of these three inputs is a guess once you know where to read them.
What rotation does not do: repair a dead marker channel, a broken conductor or wrong polarity. It moves a healthy marker's phase, nothing else.
How do you rotate the motor 180 degrees on the coupling? #
Power down the drive and lock out the machine, mark the coupling and screw positions, loosen the coupling clamp, turn the motor shaft half a revolution by hand, retorque the clamp to its documented value, restore power and re-home.
Isolation first, and by the book: in the United States, OSHA 1910.147 requires disconnecting the machine from its energy sources, locking each isolation point and verifying zero energy before this kind of work. Then give the servo drive its documented DC-bus discharge time before touching the coupling, and support a vertical axis before the clamp comes loose — with the coupling open, the screw no longer holds the load.
If the coupling is scored or was damaged during the rebuild, replace it with a flexible shaft coupling matched to the motor and screw shaft diameters rather than re-using it.
- Scribe or paint a mark across coupling, motor shaft and screw shaft so the change is visible and any future slip is detectable.
- Loosen the coupling clamp and turn the motor half a revolution relative to the screw, using the marks; a four-hole clamp pattern often re-aligns its screws after half a turn.
- Retorque the clamp fasteners to the value in the coupling or machine documentation, not by feel.
- Restore power and re-home, watching the diagnostics for the marker latch during the alignment move.
- If the alarm persists after one half-turn, stop rotating: with a healthy marker and a window at least half a marker period wide, the marker cannot still be outside, so the fault is in the signal path — return to the cable and polarity checks.
How do you confirm the fix is permanent? #
Re-home the axis at least three times in a row and confirm the same established home within the control's stated repeatability, then re-check coupling tightness and cable dressing; one clean home proves the phase, three prove the signal path.
The control latches the first marker past the switch edge, so the established home can land up to one marker period of screw travel from where it did before the rotation — re-set work offsets and any tool offsets after the first successful home, before the first part. A spread between repeat homes larger than the control's stated repeatability means the switch edge or the marker path is marginal; investigate before cutting, because an axis that latches different markers on different days drifts by whole marker periods, not microns. After the first day of running, re-check the scribe marks and retorque the coupling; a coupling that walks under load shows up as position lost between homes, which no homing sequence will explain.
What if the grid align error comes back? #
An intermittent return points at the signal path, not the phase: flex the encoder cable by hand while watching the marker indication, because a conductor that opens only at one end of travel defeats any coupling angle you set.
Match the recurrence to the decision:
| What you see | What it indicates | Decision |
|---|---|---|
| Alarm only at one end of travel | Conductor opens where the cable flexes at that end | Repair or replace that cable run before more homing |
| Alarm after a hard stop or crash | Coupling slipped off the scribe marks | Restore the marks, retorque, re-home |
| Alarm with a cold or damp cabinet | Connector or shield path | Clean and reseat, verify the shield termination |
| Alarm persists right after the half-turn | Marker channel, cable or polarity — never phase | Stop rotating; diagnose the marker signal path |
Do not keep repeating the home move on a persisting alarm; each attempt adds nothing. With the exact alarm text, the observed switch and marker behavior and the two invert field values written down, control or machine support has everything needed to take it further.
Questions asked
Why does the axis configuration page only accept numbers when I need to change the triggers?
The numeric page holds axis data, not trigger events. The marker pulse setup lives in the servo configuration axis data, in the Index Invert A and Index Invert B fields, and live switch and marker states show in the control's diagnostics or input indications instead. Change the two invert fields there and watch the input indications while jogging to confirm the marker appears once per revolution.
Does this alarm mean the rebuilt encoder lost its zero point?
Not by itself. The alarm reports that the marker pulse was never detected during the alignment move; on the machine that reported it, the encoder was left as rebuilt and the coupling rotation alone restored homing. Only re-zero an encoder to the rebuilder's or control's documented procedure, because that alignment is fixed mechanically on the shaft and is not what this alarm measures.
Will rotating the coupling shift my home position and offsets?
Yes, expect it. The control latches the first marker after the switch edge, so the established home can move by up to one motor revolution of screw travel — 10 mm with the 10 mm lead in the worked example, and 5 mm in that specific case. Re-home, then re-set work offsets and any tool length offsets before cutting the first part.
Does the 180-degree coupling rotation work on any servo axis?
The diagnostic order does, because switch-plus-marker homing is common across servo controls; the alarm wording and field names belong to this control family. The rotation itself works whenever the marker is healthy but parked outside the alignment move, which half a revolution bounds at half a marker period. It does nothing for a dead marker channel, a broken conductor or inverted polarity.