CNC mill · G-code
G80: canned cycle cancel
G80 cancels the active canned cycle, so the next X or Y move doesn’t drill another hole. Haas lists it in modal group 09. Formats below from Haas, LinuxCNC and Fanuc, each from its maker.
Worked example
Drill two holes, then cancel before moving on. Written for this page in the Haas format.
G81 X1. Y1. Z-0.5 R0.1 F15.X2.G80 (cycle off)G00 Z1.How each control writes it
Haas G80
One source: Haas Automation, the control's maker
- G80 cancels all active canned cycles.
- G00 or G01 also cancel canned cycles.
Source: Haas Automation, mill G80
LinuxCNC G80
One source: the LinuxCNC project, the control's maker
- Any other motion code (modal group 1) also cancels the cycle.
- Axis words on the G80 line are an error.
Source: LinuxCNC documentation, "G80 Cancel Canned Cycle" (archived Oct 29, 2026)
Fanuc G80 ;
One source: FANUC, the control's maker
- FANUC 0i-MF (machining centre), from its operator’s manual. On another FANUC model, check that control’s manual.
- Cancels the canned cycle for drilling.
Source: FANUC B-64604EN-2/01, Operator's Manual, 0i-MF (machining centre), §5.1.14
Haas follows Fanuc's numbering, but options and parameters differ between controls: check your control's manual.