Originally Posted by
SomeWhatLost
ok, so I got the tension/compression tapping head kit thingy when I got my mill, figured it was about time to start playing with them a bit...
so I figured I would try to hand code it... mostly from a learning point of view, sometimes doing things by hand helps the learning process I think... of course I could be wrong on that? who knows... still seemed like a fun thing to do...
ok, so this is what I have so far (fwiw it is a #8-32 tap, and a 0.136" hole)
Code:
( TAP )
( T0 : tap )
M998
T0 M6
G43 H0
S250 M3
G0 X-0.0007 Y0.0006
G98
G84 X-0.0007 Y0.0006 Z-0.27 R0.1 F80
{more to come later}
M5
M30
just wanted some professional feedback, does what I have so far have any chance at all of working?
Well, honestly, no! First thing to do is to think about how the tap is going to go through the hole. As the spindle turns, you need to advance the bit at 'just the right' speed. The head you are using helps out a lot here, but you do have to do some math.
Specifically, the feed rate needs to be mathmatically related to the spindle speed. You have set your speed to 250 RPM. Nothing wrong with that. That means there will be 250 turns in a minute. The tap has 32 threads per inch. Therefore, 32 revolutions of the spindle should happen at the same time as 1 inch of travel.
When I set one of these up, I usually try to pick a feed that gives me a nice round number. So I would go with 320 RPM on the spindle. To go with that, I would be looking to travel 10 inches per minute ( 320 RPM / 32 TPI = in IPM feed). You program has the feed rate of 80 ipm (unless you are doing an 8-32 using metric numbers?)
Some people, Tormach included, suggest introducing a small error into the math. Many of the Tormach instructions say that you should do 10%. Here is a program with for tapping a 1/4-20
Code:
(.25x20 Tap)
N190 S300 M3
N200 G0 X1.25 Y-0.875 Z0.2
N220 M8
N230 G98
N240 S300 M3 (clockwise)
N250 G1 Z-0.6 F13.5 (feed 15ipm * .90)
N260 M4 (reverse spindle)
N270 G4 P0.3 (pause for 300ms)
N280 G1 Z0.2 F16.5 (retract feed = 15ipm * 1.10)
Does that help?