Fixed cycles simplify repetitive hole-making operations by combining multiple movements into a single command. These cycles define the drilling depth, retract plane, and feed rate in one block, reducing program length and improving reliability. Understanding each cycle's behavior and proper R-plane positioning is essential for efficient CNC programming.
1Understanding Fixed Cycle Structure
All CNC fixed cycles share a common command structure that defines the operation parameters. Understanding this structure is the foundation for using any fixed cycle effectively.
Z Depth (Final Depth)
The Z value in a fixed cycle specifies the final drilling depth. In absolute mode (G90), this is the Z coordinate of the hole bottom. In incremental mode (G91), it is the total depth from the R-plane.
R-Plane (Reference Plane)
The R-plane defines the height at which the tool transitions from rapid to feed rate. Setting the R-plane too high wastes cycle time, while setting it too low risks crashing into the workpiece surface.
Feed Rate (F)
The feed rate controls the speed of the cutting motion. For drilling, this is typically calculated based on the drill diameter, material, and recommended chip load per revolution.
Repetition
Once a fixed cycle is active, it executes at every subsequent X/Y position command until cancelled with G80. This makes it highly efficient for drilling multiple holes in a pattern.
2G81 - Standard Drilling Cycle
G81 is the simplest fixed cycle. The tool rapids to the R-plane, feeds to the specified depth at the programmed feed rate, then retracts to the R-plane (or initial point) at rapid speed.
- Best suited for shallow holes where chip evacuation is not a concern
- The entire depth is drilled in a single plunge without any peck or dwell
- Typical depth limit is 3-4 times the drill diameter before peck drilling is needed
- Retract mode selection: G98 retracts to the initial Z level, G99 retracts to the R-plane only
3G83 - Peck Drilling Cycle
G83 is designed for deep holes where chip evacuation is critical. The tool drills to an incremental depth (Q value), retracts fully to the R-plane to clear chips, then returns to continue drilling.
- The Q parameter defines the peck depth — the depth increment for each drilling pass
- Full retraction to the R-plane after each peck ensures complete chip clearing from the hole
- Essential for holes deeper than 3 times the drill diameter to prevent chip packing and tool breakage
- Cycle time is longer than G81 due to repeated retraction, but reliability is greatly improved for deep holes
- Some controllers support G73 (high-speed peck) which retracts only a small amount for faster chip breaking
4G84 - Tapping Cycle
G84 performs rigid or floating tapping operations. The spindle rotates forward while feeding to depth, then reverses to retract from the hole. The feed rate must match the thread pitch exactly.
- Feed rate calculation: F = Spindle RPM x Thread Pitch (e.g., 500 RPM x 1.5mm pitch = 750 mm/min)
- Rigid tapping synchronizes spindle rotation with Z-axis feed for precise thread depth control
- Floating tapping uses a tension/compression holder to accommodate minor synchronization errors
- The spindle automatically reverses at the bottom of the hole to retract the tap
- Thread depth should be programmed slightly beyond the required depth to ensure full thread formation
5G85 - Boring Cycle
G85 performs a boring operation where the tool feeds to depth and then feeds out at the same rate. Unlike drilling cycles that retract at rapid speed, the controlled feed-out produces a better surface finish.
- Both the plunge and retract movements are at the programmed feed rate for consistent surface quality
- Ideal for finishing bored holes where surface finish and dimensional accuracy are critical
- G86 is a variation that stops the spindle before rapid retract to prevent marking the bore surface
- G87, G88, and G89 provide additional boring variations for specialized applications
6R-Plane Positioning Best Practices
Proper R-plane positioning is crucial for both cycle efficiency and safety. Getting this right prevents unnecessary cycle time and potential tool crashes.
- Set the R-plane 2-5mm above the workpiece surface for the best balance of safety and efficiency
- When drilling multiple holes at different Z heights, use G98/G99 mode selection carefully to avoid collisions with steps or fixtures
- G98 (return to initial point) is safer when drilling across stepped features — the tool clears above all surfaces
- G99 (return to R-plane) is faster when all holes are at the same surface level — minimizes Z travel
- Always verify R-plane height accounts for fixture clamps, workholding, and any obstructions near the hole locations
Conclusion
Fixed drilling and tapping cycles are fundamental tools in CNC programming that dramatically simplify hole-making operations. By understanding the behavior of each cycle type — from basic drilling (G81) through peck drilling (G83), tapping (G84), and boring (G85) — programmers can select the optimal cycle for each application. Proper R-plane management and parameter selection ensure efficient, reliable, and safe machining operations.
