M29: Rigid thread preparation
Enables rigid tapping mode before cycles such as G84 on some Fanuc controls.
For reference only: syntax changes with the control, the post-processor and the machine parameters. Check the official manual and run a simulation before cutting. Legal notice.
- Family
- Threading
- Machine
- Milling, Mill-turn
- Risk
- High
- Example
- M29 S800 / G84 Z-15 R2 F1.25
M29 S800 / G84 Z-15 R2 F1.25Parameters
- S
- rpm del roscado rígido que viene a continuación (M29 S800 antes de G84). · rpm
Machine: Milling, Mill-turnRisk: High
Fanuc
M29 S... seguido de G84- Not all controls require it; confirm the rigid tapping option.
Haas
- Haas usually manages G84 without explicit M29 on many models.
Other codes in Threading
See the full list of G and M codesFrequently Asked Questions (FAQ)
What does M29 mean in a CNC program?
Enables rigid tapping mode before cycles such as G84 on some Fanuc controls. In the catalogue it appears as "Rigid thread preparation", within the Threading family.
How is M29 written on each control?
Fanuc: M29 S... seguido de G84. The exact syntax depends on the control version and the machine parameters: always confirm with the manufacturer's manual.
Can you give me an example of M29?
M29 S800 / G84 Z-15 R2 F1.25 — Enables rigid tapping mode before cycles such as G84 on some Fanuc controls.
Which machines use M29?
M29 is used in: Milling, Mill-turn.
What should you watch out for with M29?
High risk: a mistake here can cause a crash, a broken tool or an out-of-tolerance part. Simulate the program and dry-run it before cutting.
Related tools
CNC G-code Simulator
CNC IDE: editing with G/M tooltips, line inspector, conversion between controls and 2D/3D toolpath.
CNC Alarms Guide
CNC Alarms and Solutions Guide. Enter the error code or symptom to find the cause and how to repair it at the machine.
Calculate cycle time
Estimate CNC turning and milling cycle time from G-code. Calculate parts per hour with a breakdown of cutting, rapids, canned cycles and tool changes.