Risposta breve:
G80 CNC code is a canned cycle command that instructs the machine to perform a single boring operation. The tool rapid-moves to the R-plane, then to the start point, feeds to the programmed depth, and rapid-retracts to the initial plane. It is most commonly found on FANUC-based machines and several other controllers. Use G80 when you need a straightforward, single-pass bore with no dwell or pecking. Confusing G80 with G85 (boring with dwell) or G84 (tapping) is a frequent source of tool damage and scrap parts.
If you are writing or reviewing a FANUC G-code program and G80 appears in the tool path, you likely need to confirm whether a simple bore is actually the correct operation. The wrong canned cycle choice can cost minutes of cycle time or, worse, a broken tool. YPMFG works with programs of this type daily and the single most common error we see is operators defaulting to G80 when a peck cycle or dwell is required.
What G80 Does in a CNC Program
G80 is classified as a boring cycle in most CNC controllers. It executes one continuous feed stroke to the hole depth and then retracts at rapid speed. There is no dwell at the bottom, no pecking, and no thread-forming motion.
The command is modal, meaning it stays active until another canned cycle or G00/G01 is called. A typical block looks like this:
G80 X__ Y__ Z__ R__ F__
Each axis address defines a specific part of the motion. X and Y locate the hole center, Z is the depth below the R-plane, and R is the retract height above the start surface. F sets the feed rate for the boring pass.
G80 Boring Cycle: Step-by-Step Sequence

The machine follows five distinct moves in order. Understanding the sequence helps you verify that the R-plane and Z depth are set correctly for your fixture.
| Passaggio | Motion | Velocità | Purpose |
|---|---|---|---|
| 1 | Rapid to initial plane (R) | Rapid | Safe clearance above work |
| 2 | Rapid to start point (X, Y, Z=R) | Rapid | Position over hole |
| 3 | Feed to depth (Z) | Feed (F) | Cut the bore |
| 4 | Rapid retract to R-plane | Rapid | Clear the workpiece |
| 5 | Rapid to initial plane (if above R) | Rapid | Safe tool change height |
In most setups, the R-plane sits 0.5 to 2 mm above the part surface. Setting it too low risks the tool hitting the fixture on retract.
G80 vs. Other Canned Cycles
Choosing between G80, G85, G84, and G81 depends on the operation you are actually performing. The table below maps each cycle to its typical use.
| Ciclo | Operation | Key Difference |
|---|---|---|
| G80 | Simple bore | Single feed, no dwell |
| G81 | Drill | Single feed, sharp point tool |
| G82 | Peck drill | Repeated partial depth cuts |
| G84 | Tap | Synchronized spindle feed |
| G85 | Bore with dwell | Adds a pause at depth |
If your bore requires a chip-breaking action or a finishing dwell, G80 alone will not deliver it. You should use CNC drilling cycle G82 or G85 instead.
Common Programming Mistakes with G80
Four errors show up repeatedly in shop-floor programs. Each one can cause tool breakage, a scrapped part, or a long debugging session.

R-plane too low. The tool contacts the clamp or fixture on retract. Always verify R against the fixture drawing.
Forgetting to cancel the cycle. G80 is modal. The next X-Y move will repeat the bore unless you issue G80 X Y (cancel) or call G00/G01.
Wrong feed rate for material. A steel bore at the feed rate set for aluminum will overload the tool. Match F to the material and tool diameter.
Using G80 for a deep hole. Deep bores need pecking (G82/G83) to break chips. A single feed in G80 can bury the tool in swarf.
YPMFG reviews incoming programs for these issues during the engineering evaluation stage. Sending your Produzione di componenti CNC specs and draft G-code for a quick check can save a full prototype run.
Questions Programmers and Buyers Often Ask
Does G80 work the same on every controller?
Not exactly. FANUC, Mazak, and Haas all define G80 as a boring cycle, but the exact retract sequence and modal behavior can differ by a few parameters. Always confirm in the specific controller manual before transferring code between machine brands.
Can I use G80 instead of G81 for drilling?
You can, and many shops do, because the motion is nearly identical. The difference is that G80 is intended for a single-point boring tool, not a drill. Tool geometry, not the code, determines success.
How do I cancel G80 safely?
Issue a G80 block with no Z address (for example, G80 X0 Y0). This executes the cycle once with zero depth, effectively canceling the modal state. Some programmers prefer calling G00 or G01 directly.
What if my part needs a bore with a finishing dwell?
Switch to G-code programming cycle G85, which adds a programmed dwell (Q value) at the hole bottom. This finishing pause improves bore diameter accuracy on tight-tolerance Produzione di componenti CNC jobs.
Choosing the Right Canned Cycle for Your Operation
The core value of picking the correct canned cycle is straightforward: it protects your tool, holds tolerance, and keeps cycle time predictable. Before releasing a program, verify the R-plane height, confirm the cycle type matches the tool geometry,and run a dry cycle on the first part.
If you are uncertain whether G80 is the right call for your machining center setup, send your drawing, material spec, and draft program to YPMFG for an engineering review. The team can confirm cycle selection, cutting parameters, and fixture clearance before you commit machine time.




