Oops, I didn't see the page of replies...
Originally Posted by
JohnToner
Ray,
Monday or Tuesday I'll be tapping 1/4 20 RH in 1/2" 6061 with #7 through holes and a spiral tap Will this code work?
G1 Z0.1000
M3 S400 F20
G1 Z-0600
M4 S800 F40
G1 Z0.1000
Thanks,
John
Or, did I just break a cheap tap inside an expensive part?
I'm a little rusty, but I see a couple problems...
Line 3: you're missing the decimal point - gotta watch out for those!
Line 4: here you're doubling the speed (S), not the feed (F) - You probably want to change the "F" value to 40 and keep the "S" value at 400. Since you're keeping the speed consistent, you can omit the "S" command entirely.
Also, as SCzEngrgGroup pointed out: don't reverse and retracting higher is a good idea.
Potential issue: in the code shown you do not establish a feedrate for the first G1 move. This being the case, the first move (to Z0.1) will go at whatever feedrate your machine was set to before loading this code.
I'd do it something like this...
M3 S400
G1 Z0.1000 F50
G1 Z-0.600 F20
G1 Z0.2500 F40
The info in the description of my video below might be helpful...
Code:
https://www.youtube.com/watch?v=VGhm96ntPAY