What's new
What's new

What program / spread sheet / etc are you using for programming a thread mill?

dandrummerman21

Stainless
Joined
Feb 5, 2008
Location
MI, USA
I have a 7/16-32 thread to cut in some parts.

Didn't have a tap, have a threadmill in the drawer though from lakeshore: https://www.lakeshorecarbide.com/38-32carbidethreadmill.aspx


I pull up my favorited link from SCT for generating threadmill programs (since we use gibbscam, and I just don't understand why I can't get it to do what I want!).


I have been using this for years, and have never had an issue with it. Until the last few months?

I don't threadmill every day, but am no stranger to it. I can program this manually, but I prefer not to.

The last few programs I've used SCT for internal holes, it gives good code, but when using cutter comp, even a -.001 value generates a 41 alarm (fanuc 0m control, programming with wear comp). I just tried turning on cutter comp with an additional fake move, but it didn't work this time. It does work at other times.

I was wondering what others use? my threadmills are from various manufacturers, are various diameters, and I cant seem to find another general purpose one, where you can put your own diameters in. Guhring and yg1 get mad if you don't specify a tool in their catalog.

I have an excel spreadsheet for npt threadmilling that works fine. But my google-fu is weak now and I didnt find an excel sheet for straight threads. And then I wondered what the rest of you use?


Here's the code, btw:


%
;( Date Generated: May 26, 2022, 12:50 pm PST )
;( TMU Code Engine Build Date: 060520 )
;( Input Units: inches )
;( Output Units: inches )
;( Thread Type: UN, internal thread, right hand thread, climb cut )
;( Tool Profile: Full )
;( Major Diameter: 0.739 )
;( Minor Diameter: 0.406 )
;( Number of Radial Passes: 2 )
;( Radial Pass 1: 65% )
;( Radial Pass 2: 35% )
;( Thread Depth: 0.500 )
;( Threads Per Inch: 32.0000 )
;( Number of Depth Passes: 1 )
;( Tool Number: 1 )
;( Number of Flutes: 3 )
;( Major Tool Diameter: 0.290 )
;( Surface Feet Per Minute: 300 )
;( Revolutions Per Minute: 3951 )
;( Inches Per Tooth: .001 )
;( Inches Per Minute: 11.85 )
;(------------------------------------------------------------------)
N2 G20
N4 G80 G40 G17
N6 T1 M6
N8 G90 G54 S3951 M3
N10 G00 X0. Y0. M8
N12 G43 Z0.1 H1
N14 G90 G00 Z-0.5
;()
N16 G91 G41 G01 X0.0554 Y0.0172 F6.33 D1
N18 G03 X-0.0675 Y0.1486 Z0.0078 I-0.0945 J0.0467
N20 G03 X0. Y0. Z0.0312 I0.0121 J-0.1658
N22 G03 X-0.0452 Y-0.1568 Z0.0078 I0.0415 J-0.0969
N24 G01 G40 X0.0573 Y-0.009
N26 G90 G00 Z-0.5
N28 G91 G41 G01 X0.0536 Y0.0222 F6.93 D1
N30 G03 X-0.0676 Y0.1814 Z0.0078 I-0.1014 J0.0655
N32 G03 X0. Y0. Z0.0312 I0.014 J-0.2036
N34 G03 X-0.0421 Y-0.189 Z0.0078 I0.0494 J-0.1102
N36 G01 G40 X0.0561 Y-0.0147
N38 G00 G90 Z0.1
N40 G91 G28 Z0.
N42 M30
%
 
I have a 7/16-32 thread to cut in some parts.

Didn't have a tap, have a threadmill in the drawer though from lakeshore: https://www.lakeshorecarbide.com/38-32carbidethreadmill.aspx


I pull up my favorited link from SCT for generating threadmill programs (since we use gibbscam, and I just don't understand why I can't get it to do what I want!).


I have been using this for years, and have never had an issue with it. Until the last few months?

I don't threadmill every day, but am no stranger to it. I can program this manually, but I prefer not to.

The last few programs I've used SCT for internal holes, it gives good code, but when using cutter comp, even a -.001 value generates a 41 alarm (fanuc 0m control, programming with wear comp). I just tried turning on cutter comp with an additional fake move, but it didn't work this time. It does work at other times.

I was wondering what others use? my threadmills are from various manufacturers, are various diameters, and I cant seem to find another general purpose one, where you can put your own diameters in. Guhring and yg1 get mad if you don't specify a tool in their catalog.

I have an excel spreadsheet for npt threadmilling that works fine. But my google-fu is weak now and I didnt find an excel sheet for straight threads. And then I wondered what the rest of you use?


Here's the code, btw:


%
;( Date Generated: May 26, 2022, 12:50 pm PST )
;( TMU Code Engine Build Date: 060520 )
;( Input Units: inches )
;( Output Units: inches )
;( Thread Type: UN, internal thread, right hand thread, climb cut )
;( Tool Profile: Full )
;( Major Diameter: 0.739 )
;( Minor Diameter: 0.406 )
;( Number of Radial Passes: 2 )
;( Radial Pass 1: 65% )
;( Radial Pass 2: 35% )
;( Thread Depth: 0.500 )
;( Threads Per Inch: 32.0000 )
;( Number of Depth Passes: 1 )
;( Tool Number: 1 )
;( Number of Flutes: 3 )
;( Major Tool Diameter: 0.290 )
;( Surface Feet Per Minute: 300 )
;( Revolutions Per Minute: 3951 )
;( Inches Per Tooth: .001 )
;( Inches Per Minute: 11.85 )
;(------------------------------------------------------------------)
N2 G20
N4 G80 G40 G17
N6 T1 M6
N8 G90 G54 S3951 M3
N10 G00 X0. Y0. M8
N12 G43 Z0.1 H1
N14 G90 G00 Z-0.5
;()
N16 G91 G41 G01 X0.0554 Y0.0172 F6.33 D1
N18 G03 X-0.0675 Y0.1486 Z0.0078 I-0.0945 J0.0467
N20 G03 X0. Y0. Z0.0312 I0.0121 J-0.1658
N22 G03 X-0.0452 Y-0.1568 Z0.0078 I0.0415 J-0.0969
N24 G01 G40 X0.0573 Y-0.009
N26 G90 G00 Z-0.5
N28 G91 G41 G01 X0.0536 Y0.0222 F6.93 D1
N30 G03 X-0.0676 Y0.1814 Z0.0078 I-0.1014 J0.0655
N32 G03 X0. Y0. Z0.0312 I0.014 J-0.2036
N34 G03 X-0.0421 Y-0.189 Z0.0078 I0.0494 J-0.1102
N36 G01 G40 X0.0561 Y-0.0147
N38 G00 G90 Z0.1
N40 G91 G28 Z0.
N42 M30
%
I wrote a macro years ago

Just start at bottom of hole g3 out Z+ [1/pitch] keep looping till out

If you aren't macro savvy can just do a sub in incremental
 
Ok thanks guys.

Today is a new day of google, and I found a spreadsheet that is nearly identical to the npt one i have had for years. looks like they copied it and put their logo on it.

Found it here:
 
I hadn't hand written much code since '86, but it came back pretty quick once my CAM license expired. At least now I've got the CAD to pull coordinates off of. Beats a notebook and HP calculator all to hell. Biggest thing is remembering all the BS in the code for spindle/coolant/etc. Copy and paste is a life saver.

Been writing some threadmill programs, using Excel to calculate the radius required based off PD. And can compensate for a flat on the tool. Depth increments I calculate per turn from the bottom. Even oddball thread pitches don't get very far off correct if you just increment them, programming to a tenth, but it's not a lot more work to put the calculated value in.

Radius, either comp'd or not, can be tweaked really easy in Notepad with a replace command.

Haven't looked to see if my Fadal will even do macro's. I'm guessing not, which is fine because it'd be another headache for me to figure out anyway ;-)

FWIW, I downloaded some notepad enhancements that add color to the text making it easier to read. I suspect using it somehow corrupted the code ... whatever form the text actually gets transmitted as (ASCII?) ... and I couldn't load it over the serial connection. No way to fix it other than to retype the entire thing in a fresh file, one finger at a time. So *TEST* if you're gonna mess with things like this.
 








 
Back
Top