If your cnc machine spindle is equipped with pulse generator then you can do rigid tapping with Sinumerik G331 Rigid Tapping G-code.
Sinumerik G331 G332 Rigid Tapping G-code are explanation Rigid Tapping on Sinumerik 840D/810D with G331 G332.
Contents
Sinumerik G63 Tapping with floating tapholder
This cnc programming tutorial shows that cnc machinists have another option for tapping on cnc machine which don’t have pulse generator.
Sinumerik G63 is used for tapping with floating tapholder.
For Sinumerik G63 function cnc machinist need a tap in the floating tapholder. A pulse generator is not needed for the spindle.
Sinumerik G63 Programming Format
N10 G63 Z-50 M3 S...F... N20 G63 Z4 M4 F...
Z – Depth in Z-axis
S – Spindle speed
F – Feedrate (F = Spindle speed x Thread lead)
M3 – Direction of rotation right
M4 – Direction of rotation left
Retraction
For the retraction movement, you program another block with G63 and the relevant direction of spindle rotation.
Feedrate Calculation
F = Spindle speed x Thread lead