G00 Z-100 is one of the most frequently searched and most dangerous CNC code lines ever written. On its own, it looks harmless: a rapid move in Z. In reality, it is responsible for thousands of spindle crashes, broken tools, smashed fixtures, and catastrophic machine damage worldwide. This line behaves very differently depending on coordinate mode, work offset state, machine configuration, and control logic. Understanding why G00 Z-100 causes crashes — and how professionals avoid it — is essential for safe CNC programming in 2025 and beyond.
1. Why G00 Z-100 Is So Dangerous
G00 is a rapid positioning command.
Z-100 is an absolute or incremental target, depending on the active mode.
The danger comes from what Z-100 actually means at runtime:
- In G90 (absolute) → Z-100 means “go to Z = -100 in the active coordinate system”
- In G91 (incremental) → Z-100 means “move DOWN 100 mm from current position”
- In G53 (machine coordinates) → Z-100 is relative to machine home, not the part
- With wrong work offset (G54–G59) → Z-100 may be inside the table or fixture
Most crashes happen because programmers assume Z-100 is “safe retract” when it is not.
2. Real Crash Scenario (Very Common)
Machine setup:
- G91 still active from previous block
- Tool currently at Z-5 (inside material)
Code:
G00 Z-100
Actual machine behavior:
- Z moves DOWN 100 mm at RAPID speed
- Tool slams into table / fixture / rotary
- Servo overtravel or mechanical crash occurs
This single line has destroyed:
- Spindles
- Ball screws
- Probe systems
- Trunnions
- Tool changers
3. Fanuc / Haas / Siemens Differences
Fanuc:
- Executes G00 Z-100 instantly at max rapid
- Often triggers OT (Over Travel) alarms
- No automatic soft safety unless G22 is active
Haas:
- Same behavior, but often hits Z-axis hard stop
- Common alarms: Z AXIS OVERTRAVEL, TOOL LENGTH ERROR
Siemens:
- Slightly more tolerant if safety envelopes are active
- Still dangerous in G91 or G53 misuse
4. Why Professionals NEVER Use G00 Z-100 Blindly
Professional programmers avoid:
- Hard-coded negative Z values
- Assumptions about current mode
- Absolute Z moves without context
Instead, they use state-safe patterns.
5. SAFE PROFESSIONAL ALTERNATIVES (Used in Industry)
✅ Pattern 1: Incremental Safe Retract
G91
G00 Z50.
G90
This always moves UP, regardless of current Z.
✅ Pattern 2: Machine Coordinate Safe Retract
G53 G00 Z0.
Moves to machine Z home — ignores work offsets.
✅ Pattern 3: Controlled Rapid with Limit Protection
G22 Z-10.
G00 Z-5.
G23
Prevents moving beyond defined safe zone.
✅ Pattern 4: Tool-Length-Aware Retract
G43 H#
G00 Z100.
Ensures compensation is active before motion.
6. The Hidden G00 Z-100 Trap with Tool Length Offsets
If G43 is NOT active:
- Z-100 ignores tool length
- Long tools crash deeper
- Short tools behave differently
This makes G00 Z-100 unpredictable across tool changes.
7. Alarms Commonly Caused by G00 Z-100
- FANUC: OT Z+, OT Z-
- HAAS: Z AXIS OVERTRAVEL
- SIEMENS: 300500 / 300510 safety violations
- PROBING: Stylus crash alarms
- TOOL CHANGE: ATC interference alarms
These alarms are heavily searched on Google every day.
8. Why This Line Is So Viral in CNC Communities
- Appears in beginner programs
- Copied from bad examples
- Causes dramatic crashes
- Creates expensive repairs
- Generates panic searches after accidents
Search patterns spike after every crash:
“G00 Z-100 crash”
“Z axis went down instead of up”
“CNC rapid crash why”
9. Professional Rule (Golden CNC Law)
If you cannot explain exactly where Z-100 is in every mode, never write it.
Experienced CNC programmers:
- Never hard-code deep negative Z rapids
- Always control direction explicitly
- Always reset G90/G91 deliberately
- Always protect Z first, then X/Y
10. Final Verdict
G00 Z-100 is not just a line of code — it is a crash pattern. It represents one of the most dangerous habits in CNC programming. Understanding why it fails, how it behaves under different modes, and how professionals replace it with safe motion patterns can prevent catastrophic machine damage and thousands of euros in losses. Any CNC programmer who masters this concept immediately levels up from beginner to professional.
This topic will remain relevant — and heavily searched — as long as CNC machines exist.
Leave a comment