Skip to content
Industrial Error Code Fixes
Go back

Fanuc Alarm 5 — Stored Stroke Limit 2 Overtravel

⚡ Quick Answer

What Fanuc alarm 5 means, why a stored stroke limit 2 overtravel occurs, and how to recover the axis.

⚡ AT A GLANCEScroll down for full repair guide
What it meansWhat Fanuc alarm 5 means, why a stored stroke limit 2 overtravel occurs, and how to recover the axis.
Most likely causeMost cnc faults come from power, airflow, sensor, drain, ignition, or control-board conditions. Start with the lowest-risk checks before replacing parts.
First checkConfirm the exact code, power-cycle once, inspect the obvious safety/flow path, then follow the step-by-step checks below.
Repair time10-45 minutes for basic checks
Repair intent

Need this fixed instead of diagnosed?

What Fanuc alarm 5 means, why a stored stroke limit 2 overtravel occurs, and how to recover the axis.

Fanuc Alarm 5 — What It Means

Fanuc alarm 5 indicates a stored stroke limit 2 overtravel. This is similar to alarm 4 but references the second set of stored stroke limits, which is used to define an inner forbidden zone or a secondary travel boundary on Fanuc Series 0, 10, 11, 15, 16, 18, 21, and 0i controls. Stroke limit 2 is typically set to protect the machine spindle head from colliding with the table or pallet in a specific zone during tool change or pallet exchange operations.

Jump to Fix

Common Causes

Step-by-Step Fix

  1. Jog the axis away from the overtravel position — Switch to Jog or MPG mode. Move the affected axis in the opposite direction from the limit that was exceeded. The alarm typically clears once the axis re-enters the valid zone.
  2. Check which stroke limit zone is active — On the Fanuc diagnosis screen or the position display, check the current axis position against the stroke limit 2 parameters to understand which boundary was crossed.
  3. Perform a zero return — After recovering the axis, execute a reference return (REF mode or G28 in MDI) to re-establish the machine zero reference point.
  4. Review parameters for stroke limit 2 — Navigate to the parameter pages and check P1322 and P1323 for the relevant axis. Confirm these correctly define the forbidden zone for your machine configuration.
  5. Review the ATC or pallet change sequence — If the alarm occurred during an automatic operation, check the macro or ATC sequence logic for a command that moves the axis into the forbidden zone.
  6. Correct the NC program — If a program move caused the alarm, edit the program to avoid the protected zone or adjust the stroke limit 2 boundaries to correctly reflect the machine’s geometry.
  7. Reset and test — Reset the alarm with the Reset key and run a test cycle to confirm alarm 5 does not recur.

Parts Often Needed

PartNotes
No parts typically requiredAlarm 5 is a software boundary fault; recovery is via parameter or program correction
Fanuc servo drive or motorOnly if position feedback error caused the axis to appear outside limits

Technician Tips

CNC alarms should always be diagnosed by reading the full alarm text, not just the number. Modern Fanuc, Haas, and Mazak controls provide detailed alarm descriptions — press the help key while viewing the alarm for diagnostic suggestions. The alarm history screen stores the last 50-100 alarms with timestamps; review this before clearing to identify patterns. A servo alarm (SV series on Fanuc) that appears only during rapid traverse points to a different cause than one that appears during cutting.

Prevention: Back up your CNC parameters monthly. Parameter loss from dead batteries is the #2 cause of unexpected CNC downtime (after mechanical crashes). Replace control batteries annually before they fail.

Need Replacement Parts?

Finding the right replacement parts for your equipment is critical to getting it running again. Check current prices on Amazon — prices and availability change frequently.

When to Call a Pro

If alarm 5 occurs in positions that appear to be within the expected travel range, the position feedback system (encoder, linear scale) may be reporting incorrect axis position. Contact a Fanuc-certified technician for encoder and servo drive verification.


Share this post on:

Previous Post
Fanuc Alarm 4 — Stored Stroke Limit Overtravel
Next Post
Goodman 9 Flash Error Code — Causes & Fix