CNC | M29 Code | Rigid Tapping

In this article, we describe rigid tapping code which is called M29 on CNC machines with all details and examples.


M29 Code Introduction

Controlling the spindle motor in the same way as a servo motor in rigid mode enables high-speed tapping. M29 code must be place before any of tapping cycle (like G84 or G88) to enable rigid tapping mode.

Rigid mode can be specified by applying any of the following methods:
• Specifying M29S***** before a tapping block

M29 Code Format

M29 S**** ;

M29 most common M code to enable rigid tapping mode but also some of CNC manufacturers can be use different code. Please refer to machine books if M29 is not work for your machine.

You may be interested also:
“CNC Lathe | G84 Cycle | Front Tapping”

M29 Code Examples

M29 CNC Program Example – 1

Tapping axis feedrate: 1000 mm/min
Spindle speed: 1000 min-1
Screw lead: 1.0 mm

Programming for feed per minute

G98 ; Command for feed per minute
G00 X100.0 ; Positioning
M29 S1000 ; Command for specifying rigid mode
G84 Z-100.0 R-20.0 F1000 ; Rigid tapping

Programming for feed per rotation

G99 ; Command for feed per rotation
G00 X100.0 ; Positioning
M29 S1000 ; Command for specifying rigid mode
G84 Z-100.0 R-20.0 F1.0 ; Rigid tapping

Need to More?

Our volunteers have worked together and carefully prepared the articles published here in their native language without using machine translation. You can search the entire site for more information on the subject. You can start a discussion on forums and join us to get support, ask questions, improve a published article or give your opinion.

Previous articleG80 Cycle | Canned Cycle Cancel
Next articleCNC Grinding | G71 Cycle | Traverse Grinding