G80: Canned cycle cancel
What G80 does
G80 ends a canned cycle such as G81 or G83. Until it is cancelled, every X/Y position on a later line drills another hole, so G80 belongs straight after the last hole and in the safety line.
| Type | G-code |
|---|---|
| Machine | Mill |
| Group | Canned cycle |
| Modal | Yes: stays active until replaced by another code from the same group |
G80 example
G80 Stop drilling at each new position.
| Word | What it means here |
|---|---|
G80 | Canned cycle cancel |
Codes people confuse with G80
| Code | What it does instead |
|---|---|
G40 | Cutter compensation cancel. Turns off cutter radius (or tool nose) compensation. |
G49 | Tool length compensation cancel. Cancels G43 or G44. |
Other codes in the canned cycle group
Only one code from a modal group is active at a time. Programming any of these replaces G80.
G73High-speed peck drillingG74Left-hand tapping cycleG76Fine boring cycleG81Drilling cycle (spot drill)G82Drilling cycle with dwellG83Deep hole peck drillingG84Tapping cycle (right hand)G85Boring cycle (feed out)G86Boring cycle (spindle stop, rapid out)G89Boring cycle with dwell (feed out)
Meanings follow the common Fanuc-style standard that Haas, Okuma (EIA mode), Mitsubishi, LinuxCNC and most other controls share for this code. Options and parameters change details from machine to machine, so check the manual for your control.
Quick check: G80
-
What does
G80do? (Mill) -
Which code: Cancels the active drilling or tapping cycle.(Mill)
-
What does
G40do? (Mill and lathe)
Show the answers
- Cancels the active drilling or tapping cycle.
- G80
- Turns off cutter radius (or tool nose) compensation.
Frequently asked questions
- What does G80 mean in CNC programming?
- Canned cycle cancel. Cancels the active drilling or tapping cycle.
- Is G80 modal?
- Yes. G80 belongs to the canned cycle group and stays active until another code from that group is programmed.
- What is the difference between G80 and G40?
- G80 (canned cycle cancel): cancels the active drilling or tapping cycle. G40 (cutter compensation cancel): turns off cutter radius (or tool nose) compensation.
- What is the difference between G80 and G49?
- G80 (canned cycle cancel): cancels the active drilling or tapping cycle. G49 (tool length compensation cancel): cancels G43 or G44.
G-Code Sprint is an educational practice tool only. It is not a CNC simulator, machine controller, safety manual, or replacement for instruction. Always follow your instructor, employer, machine manual, and shop procedures.