G84 is the standard CNC milling tapping cycle used for rigid tapping, allowing the spindle and feed motion to synchronize perfectly so that a tap can cut threads without floating holders or compression/tension devices. Modern machines use spindle encoders to match feedrate with the thread pitch exactly. This produces highly accurate threads at high speed, reduces tool breakage, and enables tapping in steel, titanium, aluminum, and hardened materials with consistent results. Rigid tapping is now a standard in aerospace, medical, automotive, moldmaking, and precision manufacturing.
1. How G84 Works
Rigid tapping synchronizes:
- Spindle rotation
- Z-axis feedrate
- Thread pitch (F value)
Feedrate formula:
Feed = Pitch × Spindle RPM
Example: M8 × 1.25 thread
Pitch = 1.25
RPM = 1200
Feed = 1500 mm/min
The CNC automatically applies this with G84.
2. Basic Syntax (Fanuc / Haas)
G84 X# Y# Z# R# F#
Where:
- X/Y → hole position
- Z → tapping depth
- R → retract plane
- F → pitch (NOT feed per minute; pitch only)
Example:
G84 X30. Y20. Z-12. R2. F1.25
Cuts an M8 × 1.25 thread at programmed spindle speed.
3. Real Example – Multiple Holes
G90 G54
S1500 M03
G84 X20. Y20. Z-10. R2. F1.5
X60. Y20.
X100. Y20.
G80
This taps three M10 × 1.5 holes in sequence.
4. Tapping in Stainless Steel (Slow RPM, High Lubrication)
S350 M03
G84 X55. Y40. Z-18. R3. F1.25
G80
Lower RPM prevents tap stress and heat buildup.
5. High-Speed Tapping in Aluminum
S3000 M03
G84 X80. Y25. Z-12. R2. F1.0
G80
Aluminum supports very high RPM during rigid tapping.
6. Deep Hole Tapping with Peck Tapping (G84 + G84.2)
Some machines support peck tapping:
G84.2 Z-25. P5 F1.25
Cuts in 5 mm increments, retracts, clears chips.
Perfect for deep holes in gummy materials like 304 stainless.
7. Common Mistakes and How to Avoid Them
Mistake: Wrong F value
F MUST equal the pitch (mm/rev).
Never use mm/min.
Mistake: Wrong spindle direction
Right-hand thread → M03
Left-hand thread → M04
Mistake: Hard bottoming
Tap breaks when Z depth doesn’t match hole depth.
Mistake: Starting above R plane
Always position at or above the R height.
Mistake: Trying to tap without rigid tapping enabled
(On Haas → Parameter 130 “Rigid Tapping” must be ON.)
8. Troubleshooting Thread Quality
Threads too tight:
– Reduce RPM
– Ensure tap is correct class (H1/H2/H3)
– Increase lubricant
Threads oversized:
– Tap worn
– Incorrect hole diameter
– Machine acceleration too aggressive (reduce RPM)
Tap breaks during reversal:
– Add dwell at bottom
– Reduce RPM
– Increase retract plane
Example with dwell:
G84 X30. Y10. Z-15. R3. P200 F1.5
(P = dwell time in milliseconds)
9. Thread Quality Improvements for 2025 Machines
Modern controls support:
- Encoder-level synchronization
- High-torque low-speed spindle tapping
- AI-based servo smoothing
- Torque monitoring for tap break detection
- Rapid reverse-out to reduce chip compaction
These improvements make rigid tapping more reliable than ever.
10. Summary
G84 is the primary tapping cycle for modern CNC milling, enabling precise, synchronized, high-speed thread cutting. It eliminates floating holders, reduces cycle time, and produces consistent threads in any material. When used correctly, G84 delivers unmatched accuracy and efficiency in 2025-level manufacturing environments.
Leave a comment