CNC Troubleshooting FAQ (Evergreen) — What Operators Search Every Day
This is a practical, shop-floor troubleshooting reference built around the questions machinists repeatedly ask on Google: “Why did my machine stop?”, “What does this alarm mean?”, “Why is my Z move scary?”, “Why did the tool crash after a toolchange?”, and “Why is my part suddenly out of tolerance?” The goal is fast diagnosis, safe recovery, and crash-proof programming habits that work across Fanuc, Haas, and Siemens-style workflows. Alarm numbers vary by machine builder and option set, but the alarm types and root causes are universal—so this guide focuses on patterns you can apply immediately.
1) Quick Triage: The 60-Second Alarm Decision Tree
Q: The machine stopped. What do I check first?
A: Do this in order (fastest to confirm, most likely causes first):
1) E-Stop / Door / Interlock: doors closed, E-stop released, air pressure OK, safety relays OK.
2) Overtravel / Soft limit: an axis hit a limit (physical or software).
3) Servo / Drive: axis drive fault, overload, following error.
4) Program / Syntax: illegal code, missing parameter, bad modal state.
5) Spindle / Tool changer: spindle drive alarm, tool unclamp, carousel fault.
6) Workholding / Tool: tool broke, chip packed, part shifted, coolant failure.
Rule: If the alarm is motion-related (overtravel/servo), treat it as a potential crash scenario—slow down, go to handle/jog with reduced rapid, and verify clearance.
2) The Most Common Alarm Types (What They Usually Mean)
A) Overtravel / Stroke Limit / Soft Limit
What operators search: “Overtravel alarm fix”, “axis limit exceeded”, “OT alarm”, “stroke limit”
Most common causes:
- Wrong work offset (G54–G59) or wrong fixture offset selected
- Wrong sign on Z (program expects Z+ up but setup is inverted)
- Using a retract like
G00 Z100when your Z reference isn’t what you think - Returning home with unsafe intermediate point (bad G28 usage)
- CAD/CAM post mismatch (machine is in inches, code is mm)
Fast recovery checklist:
- Verify active offset (G54? G55?) and confirm X/Y/Z zeros
- Check coordinate system: Are you looking at work coordinates or machine coordinates?
- Jog away from the limit slowly (reduced rapid) to clear the soft limit
- If needed, use the control’s overtravel release procedure only long enough to move to safety (follow your OEM manual)
B) Servo Alarm / Following Error / Overload
What operators search: “servo alarm”, “following error”, “axis overload”
Most common causes:
- Chip packed in way covers or ballscrew area
- Aggressive acceleration with heavy table/rotary load
- Binding from crash damage, misalignment, or dry ways
- Over-tight workholding or mis-set counterbalance on Z
- Too aggressive feed in corners with tiny CAM line segments
Fast checks:
- Inspect for chips/jams; check lubrication
- Re-run the same motion at low feed/rapid and listen
- Check toolpath density (millions of tiny segments) and smoothing settings
- For repeated alarms: stop production and inspect mechanics/drive logs
C) Program / Syntax / Modal Conflict
What operators search: “program alarm”, “illegal G code”, “format error”
Most common causes:
- Missing decimal/parameter in a cycle call
- Using a canned cycle without cancelling it (forgot G80)
- Mixing incremental/absolute unexpectedly (G91 left active)
- Plane mismatch (G17/G18/G19) with arcs
- Arc format wrong (I/J/K sign or radius issues)
Quick fixes:
- Check the last 10 lines before the alarm (nearly always where the issue is)
- Confirm modal state: G90/G91, G17/G18, G20/G21, cutter comp (G40), length comp (G49), canned cycle (G80)
- Reduce to a minimal reproducible block and test in single block
D) Spindle / Tool Changer / Clamp-Unclamp Faults
What operators search: “tool changer alarm”, “spindle alarm”, “unclamp fault”
Most common causes:
- Low air pressure (pneumatic drawbar)
- Dirty tool taper / chips on retention knob
- Tool too heavy/out-of-balance, causing spindle load spikes
- Tool carousel misalignment after a crash
- Wrong M-code order (unclamp without spindle stopped)
Fast checks:
- Air pressure/regulator, drawbar force (if measured), taper cleanliness
- Verify M-code sequencing per OEM: spindle stop → orient → unclamp → change → clamp
3) The #1 Evergreen Problem: “Why Did My Tool Crash Right After Tool Change?”
Typical root causes:
- Wrong H/D offset number (H12 with tool 8, etc.)
- Work offset wrong (program expects G54 but machine is on G55)
- Z not safely retracted before XY reposition
- G43 applied at the wrong place (or not cancelled when needed)
Crash-proof habit: Use a consistent safe-start and safe-toolchange pattern (see Section 6).
4) The Most Googled G-Code Mistakes (With Correct Patterns)
Mistake 1: Leaving G91 (Incremental) On
Symptoms: unexpected jumps, “it went the wrong way”, tool slams
Fix: Force G90 in your safe-start block and after any G28/G30 sequence.
Mistake 2: Canned Cycle Not Cancelled (Forgot G80)
Symptoms: machine keeps drilling at unexpected locations
Fix: Always cancel with G80 immediately after the pattern.
Mistake 3: Wrong Plane for Arcs (G17/G18/G19)
Symptoms: arc alarm, weird arc path, gouging
Fix: Explicitly set plane before arcs: G17 for XY, G18 for XZ, G19 for YZ.
Mistake 4: Cutter Comp Entry Without Proper Lead-In (G41/G42)
Symptoms: “cannot enter comp”, dimension off, sudden hook into part
Fix: Give a lead-in longer than the tool radius and use clean tangential entries.
Mistake 5: Units Confusion (G20 vs G21)
Symptoms: everything scaled 25.4×, instant overtravel risk
Fix: Always force units at program start and label in the header.
5) Viral FAQ Topic: “G00 Z100 / G00 Z-100” — Why It’s Dangerous (And How to Do It Right)
Q: Is G00 Z100 a safe retract?
A: It depends entirely on what coordinate system Z is in and where Z0 is located. In work coordinates (G54 etc.), Z100 means “100 above the work zero,” which might be safe—or might be inside a tall fixture if the work zero is set high/low incorrectly. In machine coordinates, Z100 is an absolute machine position and is predictable—if your machine’s Z+ is up and you know your travel.
Q: Why do people crash with G00 Z-100?
A: Because Z-100 in work coordinates can easily be into the part if Z0 is at the top of stock. The machine isn’t “going down 100 safely”—it’s going to an absolute Z of -100 in that coordinate frame.
Safer patterns (conceptual):
- Use a safe retract plane you control (R plane), and don’t assume “100” is always safe.
- Retract Z first, then move XY, then approach.
- Prefer predictable “machine safe” retracts for toolchange/clearance moves (many shops use machine-coordinate retract strategies).
Best practice: Your program should never rely on “magic numbers” like Z100 unless your shop standard defines the datum and max fixture height. Document the rule in the program header.
6) Crash-Proof Programming Patterns (Copy/Paste Templates)
A) Safe Start Block (Milling) — Sets a Known Modal State
Use a consistent “known state” start so leftover modes from the previous program cannot hurt you:
- Units (metric/imperial)
- Absolute mode
- Plane selection
- Cancel cutter comp
- Cancel length comp
- Cancel canned cycles
- Set feed mode as required
Template idea (adapt to your control/shop standard):
- Units: G21 or G20
- Positioning: G90
- Plane: G17
- Cancel comp: G40
- Cancel length: G49
- Cancel cycles: G80
B) Safe Toolchange Pattern (Principle)
1) Retract Z to a proven safe height
2) Return to a safe XY (if your shop standard uses it)
3) Tool change
4) Apply tool length comp only after you’re positioned safely
5) Approach the part under control
Key rule: Never combine risky XY moves near the part with uncertain Z clearance.
C) Safe End Block (So Next Program Starts Clean)
- Cancel cycles and comp
- Retract to safe height
- Stop spindle/coolant
- Return to a safe position per shop standard
7) “My Part Suddenly Went Out of Tolerance” — The 10 Most Common Causes
1) Wrong work offset selected (G54 vs G55)
2) Tool length offset wrong (H mismatch)
3) Tool wear not updated / wrong D wear
4) Fixture shifted (insufficient torque, chip under part)
5) Thermal growth (long run, hot spindle, warm coolant)
6) Probe miscalibration or dirty stylus (if using probing)
7) Runout from dirty taper/collet
8) CAM repost with different tolerance/smoothing settings
9) Material change (hardness lot variation)
10) Rotary axis not homed/calibrated (4/5 axis drift)
High-ROI habit: Log tool offsets and key dimensions per batch. Trend changes show problems early—before scrap.
8) “Why Is My Finish Wavy / Faceted?” — Motion & Toolpath Root Causes
Most common causes:
- CAM output too many tiny line segments; machine decelerates constantly
- Smoothing/look-ahead not enabled or set incorrectly
- Feed too high for tool/holder stiffness
- Tool too long; poor holder; chatter
- Too large step-over for finishing
Fix strategy:
- Increase CAM tolerance slightly (within spec)
- Use appropriate smoothing mode for your control
- Reduce corner feed or add path smoothing
- Shorten stick-out, upgrade holder, adjust step-over
9) “Why Did My Threading/Tapping Fail?” — The Most Searched Causes
- Wrong pitch/feed relationship (especially in tapping)
- Wrong spindle direction for RH/LH thread
- Hole size incorrect for tap class
- Poor chip evacuation (deep tapping needs strategy)
- Spindle encoder/sync issue (rigid tapping requires sync)
Best practice: Always confirm pitch, spindle direction, and depth before production. One wrong sign breaks taps.
10) The Operator’s “Don’t Crash” Checklist (Print-Friendly)
- Confirm G54/G55 selection matches the setup sheet
- Verify tool number ↔ H/D offsets match
- Confirm Z clearance strategy before first XY move
- Dry-run above the part (single block, reduced rapid)
- Check units (G20/G21) and plane (G17)
- Ensure cycles are cancelled (G80)
- Confirm retract moves are safe in your coordinate system
- If anything feels wrong: stop, review, verify
11) Mini Q&A: The Most Repeated Google Questions
Q: Why does the machine alarm on arcs (G02/G03)?
A: Plane mismatch (G17/18/19), incorrect I/J/K sign, radius too small, or end point not matching arc geometry.
Q: Why does my machine move “weird” after probing?
A: Work offset updated unexpectedly, probe stylus radius wrong, or rotation compensation not cleared.
Q: Why did the tool plunge after tool change?
A: Wrong H offset, length comp applied before safe positioning, or Z zero wrong.
Q: Why is the machine slow on a 3D toolpath?
A: Tiny segment density + no smoothing/look-ahead settings; the control is protecting itself.
12) Summary (Why This Page Gets Repeat Traffic)
This guide focuses on the problems that keep returning: overtravel, servo faults, program syntax issues, toolchange crashes, wrong offsets, and unsafe retract assumptions like blind G00 Z100 usage. Operators search these topics daily because they are universal across shops, materials, and controls. If you standardize safe-start blocks, safe toolchange patterns, and a fast triage process, you reduce downtime, prevent crashes, and build reliable programs that scale to automation.
If you want, the next article can be a “Printable Crash-Proof Start/End Block Library” (Fanuc / Haas / Siemens variants) using the same structured, high-retention format.
Leave a comment