The Fanuc does use the M29 with the G84
- the M29 is executed before the cycle, but I have found out the hard way ....it is not a true rigid tapping setting code for a machine that does not have the rigid option
but, it does make the tapping cycle flow better.
The way I would program a tapping cycle
Code:
()
M6 T1 ( 1/4 UNF TAP )
()
G90 G54 G00 X0. Y0. ( goto XY origin )
M3 S600 ( set speed, turn ON )
G43 Z.5 H1 M8 ( take up tool length, coolant ON (if required))
M0 ( program stop, to clear any chips from the holes, apply cutting oil, etc. )
G95 M29 ( feed per rev, tapping mode )
G84 X0. Y0. Z-.5 R.1 F.050 ( tap cycle)
X1.
X2.
X3.
G80 M9 ( cycle cancel, coolant OFF )
G94 ( FEED / MIN )
M5
M998
M30
The red code I place on all programs before the toolchange, for safety. The main one is putting the feed BACK to "FEED per min"
Some controls can use a Q value on the G84 line...for a peck cycle... use with caution as it may not work
P is a dwell at the Z depth of tap cycle, not each peck ( P not usually required )
ie G84 Z-1.5 P0.2 Q0.75 R0.2 F0.050 ( peck every 0.75" from R plane until Z depth )
The other problem you may encounter is that the tap is not synchronised, so I would advise not to run the tap down a hole that is already tapped in a previous cycle.