CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Machine Controllers Software and Solutions > G-Code Programing


G-Code Programing Discuss G-code programing and problems here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 09-23-2008, 01:20 PM
Get lucky's Avatar  
Join Date: Jul 2008
Location: us
Posts: 109
Get lucky is on a distinguished road
1/4-18 PIPE THREAD

All right I have never had to program a pipe thread before I took a look in the machinist hand book and just got lost. The machine I am going to to put it in is a kia turn with a fanuc OI-TB control and the threading cycle goes a little like this

1/4-20 cycle

N100M01
T0000
(SINGLE POINT THREADING TOOL)
G97S500M3
X.255Z.1T0000
G76P010060
G76X.189Z-1.65P33(I?)Q30F.05
G28U0W0T0000

I know I can add the tapper for the thread with the "I" in the canded cycle but don't quit under stand start and stop points if somebody could help that would be great

thank you
Kyle
__________________
You must remember that 99% of my posts are Bullchit!
Reply With Quote

  #2   Ban this user!
Old 09-23-2008, 02:35 PM
 
Join Date: Jun 2006
Location: Scotland
Posts: 8
rk176 is on a distinguished road

download the threading software from stellram its worked well for me in the past. Im sure the R value in the second g76 line is for the angle.Not at work just now so im not %100 sure
Reply With Quote

  #3  
Old 09-23-2008, 02:42 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

My seat of the pants method: Disclaimer: I don't run Fanuc, so I cannot interpret your G76 exactly.

First, gather some important info about the thread:
Pipe OD = .540
Effective thread length = .40
Pitch diameter at effective length = .503 (book value)
Thread height = .044 (book value)
taper = 3/4" per foot = .0625" rise (diametral X) per inch of Z run

So if you start with the tool .1" in front of the piece, the total Z travel is .500" During this time the tool withdraws .0625 * .500 = .031" in X, and you might have to split this in half to get "I" if it is a radial amount.

Now the pitch diameter (from the book) is the diameter at the half depth of the thread at the big end. So if you used a sharp tool, then the X endpoint will be as far below the book pitch diameter as the pipe OD is above the pitch diameter.
.540 - .503 = .037 * 2 = .074 therefore the X endpoint will be .540 - .074 = 0.466

I always consider this to be an approximation for a first trial cut, because I've always made final adjustments with the tool offset for a thread tool, to get the engagement correct. Or, the X endpoint could also be tweaked up or down if you would rather leave the tool offset alone.

But if you vary the Z length of the threading pass (you decide its not long enough or you didn't start the tool far enough from the end of the part), then recalculate I because the taper's vector component in X is proportional to the Z length.
__________________
First you get good, then you get fast. Then grouchiness sets in.

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #4   Ban this user!
Old 09-24-2008, 01:39 PM
cnc-king's Avatar  
Join Date: Jul 2003
Location: united states
Posts: 232
cnc-king is on a distinguished road

Hope this will help

this uses the small end dia as reference
N46
(TOOL - 46 OFFSET - 46)
(OD THREAD RIGHT INSERT - NONE)
G18
G30 U0. W0.
T4646
G97 S500 M163
G0 X.7246 Z.096
G76 P010060 Q0 R.002
G76 X.433 Z-.54 P444 Q60 R-.0191 F.05556M9
G30 U0. W0.
M165




this uses the large end dia as reference

G76 P010060 Q0 R.002
G76 X.3993 Z-.54 P444 Q60 R-.0191 F.05556
__________________
If you can ENVISION it I can make it
Reply With Quote

  #5   Ban this user!
Old 09-24-2008, 03:51 PM
 
Join Date: Dec 2007
Location: Canada
Age: 48
Posts: 617
cam1 is on a distinguished road

Made up this spreadsheet using data from the machineries handbook. I've turned mall of th thread sizes at the spindle using this data.

regards
Attached Files
File Type: zip LATHE NPT.zip‎ (17.8 KB, 401 views)
__________________
----------------
Can't Fix Stupid
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 09-25-2008, 03:35 PM
 
Join Date: May 2007
Location: USA
Posts: 913
g-codeguy is on a distinguished road
Text taken from post on next page.

Thread ending point figured at center of 16ER 18 NPT insert and L4 dimension from Machinery's Handbook.

Thread 1/4-18 NPT external
T0101S2000M3
X.58Z.3M8
G76P000155Q30
G76X.467Z-.634P444Q150R-.0291F.05556

Changing starting point or ending point will require R to be modified. R=tan(1+47/60)*(start point + end point) unless both points are the same sign, in which case you would subtract them.

Single block G76
X.58Z.3
G76X.467Z-.634I-.0291K.0444D150F.0556A50.

No disrespect to cnc-king, but no idea what material he is cutting at S500. Although Z.096 will probably work ok at S500, you need to start further away at higher RPM. Z.3 isn't too far, and may work better a bit further away. The Z-axis needs some space to accelerate to the correct feedrate.

The 2-block G76 call DOES NOT use the 'I' for taper.
Reply With Quote

  #7   Ban this user!
Old 09-26-2008, 09:58 AM
cnc-king's Avatar  
Join Date: Jul 2003
Location: united states
Posts: 232
cnc-king is on a distinguished road

Originally Posted by g-codeguy View Post
Thread ending point figured at center of 16ER 18 NPT insert and L4 dimension from Machinery's Handbook.

Thread 1/4-18 NPT external
T0101S2000M3
X.58Z.3M8
G76P000155Q30
G76X.467Z-.634P444Q150R-.0291F.05556

Changing starting point or ending point will require R to be modified. R=tan(1+47/60)*(start point + end point) unless both points are the same sign, in which case you would subtract them.

Single block G76
X.58Z.3
G76X.467Z-.634I-.0291K.0444D150F.0556A50.

No disrespect to cnc-king, but no idea what material he is cutting at S500. Although Z.096 will probably work ok at S500, you need to start further away at higher RPM. Z.3 isn't too far, and may work better a bit further away. The Z-axis needs some space to accelerate to the correct feedrate.

The 2-block G76 call DOES NOT use the 'I' for taper.


no offense taken gcode, i normally do not worry about rpm when posting but more about format and structure, due to the fact that i do not what the person is cutting, how rigid is their setup, type of tooling, machine etc. i just assume the person asking the questions has to have some idea about rpm etc, or he or she would not be in the position to be setting up a machine and have no idea what they they are doing.

just my 2 cents - our daewoo accelarates just fine at Z.096 from the face of the part.
__________________
If you can ENVISION it I can make it
Reply With Quote

  #8   Ban this user!
Old 09-26-2008, 07:23 PM
 
Join Date: May 2007
Location: USA
Posts: 913
g-codeguy is on a distinguished road

Originally Posted by cnc-king View Post
no offense taken gcode, i normally do not worry about rpm when posting but more about format and structure, due to the fact that i do not what the person is cutting, how rigid is their setup, type of tooling, machine etc. i just assume the person asking the questions has to have some idea about rpm etc, or he or she would not be in the position to be setting up a machine and have no idea what they they are doing.

just my 2 cents - our daewoo accelarates just fine at Z.096 from the face of the part.
Glad you didn't get upset. Wasn't meant to belittle or any other such negativity. Couple things.

1.) I run some parts with the pipe thread on the cut-off side. Threading insert starts at the cut-off position so there is very little space before the threading insert is cutting the part. Less than the .096 you posted. No bad parts yet because of it, but all my reading in the manuals suggests starting further away. We know it isn't 100% necessary, don't we? Provided the machine is a good one. And provide I don't try to thread at S2000.

2.) I thought the same as you about having sufficient knowledge on feeds and speeds to be a programmer until I started reading this and another machining forum. I have since learned that is not true in some cases. Thus I try to make any data I post to be as accurate as possible.

3.) You are correct in that we have no idea what material is being cut, the rigidity of the set-up, style or grade of insert, and on-and-on.

The OP said he had never cut a pipe thread before. This suggests very little experience. At the very least very little threading experience.

I've used inserts from several different suppliers. They all make inserts capable of threading a 1/4 NPT in 316 SS at S2000. I definitely wouldn't want to position my tool at Z.096 at that RPM. I wouldn't go so far as to say the thread wouldn't be good...but why take the chance?

Z.3 is my normal starting position unless I am threading at S3000 or higher.
Reply With Quote

  #9   Ban this user!
Old 11-15-2008, 11:24 PM
chuy's Avatar  
Join Date: Aug 2005
Location: usa
Posts: 149
chuy is on a distinguished road

I got to back-up king on this one. If a guy doesn't know the what rpm he should be cutting at he shouldn't be programming...
Reply With Quote

  #10   Ban this user!
Old 11-16-2008, 12:09 AM
 
Join Date: May 2007
Location: USA
Posts: 913
g-codeguy is on a distinguished road

Originally Posted by chuy View Post
I got to back-up king on this one. If a guy doesn't know the what rpm he should be cutting at he shouldn't be programming...
And yet it happens. Does this mean we should ignore their request for help? I don't mind answering the simple questions. Might be the only ones I can!

I would have liked to know if Lucky was able to thread the part okay. Too often people ask for help, then never let you know if they solved their problem, or got the job running. I'm always curious to know how they made out. Even on the posts I read only, but can't offer help with.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 11-17-2008, 10:57 AM
Get lucky's Avatar  
Join Date: Jul 2008
Location: us
Posts: 109
Get lucky is on a distinguished road

well really never got to try my program the plant foreman was hounding me for the part when I had a job that was late in the machine and he told me to go and thread it on the old pipe threader in the corner(didn't know we even had) it work in that sence so no sure if it would have worked but

thank you and everyone for all the help past and presant

Kyle.
__________________
You must remember that 99% of my posts are Bullchit!
Reply With Quote

  #12   Ban this user!
Old 11-25-2008, 10:51 AM
 
Join Date: Sep 2008
Location: usa
Posts: 22
teamus is on a distinguished road
one more questiion

I guess I get the x dimension in the execution line ( large od minus pitch dia.) and the r is dependant on the z length but how did you come up with the z length Mr.g code?
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
gas pipe or hot/cold water pipe? jaymed2000 JGRO Router Table Design 2 03-15-2008 09:01 PM
Instead of Gas Pipe Bartsimsonii JGRO Router Table Design 3 11-19-2007 08:39 AM
pipe tap toolendmill BobCad-Cam 3 06-26-2007 12:52 PM
emt conduit, galvanized pipe or black pipe? JohnG DIY-CNC Router Table Machines 5 05-21-2006 08:24 PM
Using Pipe Nightz DIY-CNC Router Table Machines 2 10-16-2005 06:07 PM




All times are GMT -5. The time now is 12:05 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361