Category Program & G/M Codes
Cutter Compensation Cancel (G40)
Cancels tool radius compensation.
Definition
Cancels tool radius compensation. Cancel compensation only after the tool has a safe exit from the compensated wall.
Formula / Rule
- Issue G40 on a clean lead-out so the controller can remove radius shift without gouging the part.
- Do not cancel compensation inside a tight corner or while the tool is still buried in the wall.
Typical Range
- Use it before retract, tool change, or any move that should no longer follow compensated geometry.
Shop-floor Scenarios
- Cancel on the lead-out move after the finish pass.
- Confirm G40 appears in restart lines before manual recovery moves.
Common Errors / Troubleshooting
- If the tool marks the wall at exit, lengthen the lead-out and review path direction.
- If restart motion is unsafe, verify whether compensation was canceled in the previous block.
Related Tools
More in This Category
Related Tools
Explore more tools relevant to this workflow.
G-Code Reference
Browse G-code commands, syntax notes, and controller-aware usage details.
Tool Nose Radius Compensation
Estimate X/Z compensation and theoretical finish from tool nose radius.
Tool Deflection Calculator
Estimate tool deflection and stiffness from force and overhang.
Tool Life Predictor
Predict tool life with local Taylor-based calculations and local correction rules.
Was this helpful?
Thanks for your feedback!