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 03-04-2008, 06:28 PM
 
Join Date: Jul 2007
Location: US
Posts: 59
Larry Myers is on a distinguished road
Need thread cutting help

Hi all,
I am looking for some advise concerning internal thread milling. I have a Sharp 2412 VMC. Fanuc oi.
I am wanting to thread a 1”-8 hole, 1” deep. (aluminum) I have the hole already bored out to 7/8”.
I have a 6 flute single point carbide bit that is 0.695” dia. I wasn’t going to use cutter comp to begin with. Below is the part of the program that I am having trouble with:

T4M06(THREAD MILL);
G00G17G20G40G80G90;
G54X0Y0M03S1000;
M08;
G43H4Z0.1;
G01Z-1.0F20.;
X0.150F10.;
G91G03X0.15Y0I0.15Z0.125F10.L10;
G01X0Y0M09;
M05;
G00G28G91Z0;
M30;
%

I think my problem is in the feedrate however I am not sure what to do. Thanks in advance for any help!

Larry
Reply With Quote

  #2   Ban this user!
Old 03-04-2008, 07:43 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,564
Geof will become famous soon enough

As far as I can see your helical part is okay. You go to the bottom, set X at 0.15 then start circling your way out 0.125" per turn. Your speed is a bit low at 1000rpm, in aluminum with that dia cutter you could go several thousand rpm.

Actually looking at it again you move X0.15 then have I0.15; I should be negative? I program on Haas and the I or J has a sign opposite to the X or Y move so for X0.15 I would use I-0.15 but I don't know if your machine needs this. Also with Haas I can omit the X and Y in the G03 and just have

G91 G03 I-0.15 J0.0 Z0.125 F10. L10
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #3   Ban this user!
Old 03-05-2008, 10:40 AM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

Larry,

You don't say what problem you're having!

Geof is correct... your I should be -0.150, and you can omit the X and Y coordinates.
Reply With Quote

  #4   Ban this user!
Old 03-05-2008, 10:47 AM
 
Join Date: Jul 2007
Location: US
Posts: 59
Larry Myers is on a distinguished road
Need thread cutting help

Hey Guys

I suppose it would help if I said what the problem was! Thanks
I added the negative sign and that helped.

The problem is that I generate one large spiral (helix) that stops at 0.125” above the top of the part. I thought that by adding the G91 it would travel up incrementally by only 0.125” and the L10 would tell it to repeat 10 times so that I generate a 1”-8 thread.

Hope this helps! And thanks again!

Larry
Reply With Quote

  #5   Ban this user!
Old 03-05-2008, 11:40 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,564
Geof will become famous soon enough

Originally Posted by Larry Myers View Post
Hey Guys

I suppose it would help if I said what the problem was! Thanks
I added the negative sign and that helped.

The problem is that I generate one large spiral (helix) that stops at 0.125” above the top of the part. I thought that by adding the G91 it would travel up incrementally by only 0.125” and the L10 would tell it to repeat 10 times so that I generate a 1”-8 thread.

Hope this helps! And thanks again!

Larry
I saw a different thread on this same topic a while back and they had the opposite problem; it only went up one thread then just round and round (I think) Some one posted that the helical interpolation was an option that had to be turned on...sounds like this may be your problem.

You should be able to get around it by doing absolute G03 lines with Z-.875, Z-.75, Z-.625, etc, etc. Not too tedious for only ten lines.

Or get a Haas which comes standard with the G91 Z increment and L count for G03 and G02.

Had to be a naughty boy and put in that plug.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-05-2008, 12:11 PM
 
Join Date: May 2006
Location: USA
Posts: 13
andyt is on a distinguished road

Try eliminating the G91 and replacing the Z.125 with a W.125. Delete the L10 and see if it will run at least one revolution correctly. If that doesn't work, then your control doesn't have the helical interpolation option. If it does, just add the L10 or repeat the line 10 times.
Reply With Quote

  #7   Ban this user!
Old 03-05-2008, 01:07 PM
 
Join Date: Jul 2007
Location: US
Posts: 59
Larry Myers is on a distinguished road
thread cutting help

Thanks again guys,

I replaced the z0.125 with a W0.125 and it did not recognize the address. And for some reason it does not do the G91. It looks like I will try doing 8 circles going up 0.125 at a time that Geof suggested. I don’t foresee a problem there as there are only 8 iterations I need to be concerned with. I was just kind of hoping there would be a cleaner way of doing it.
Thanks all

Larry
Reply With Quote

  #8   Ban this user!
Old 03-06-2008, 10:23 AM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

Larry,

W won't work. That's an incremental Z command for a lathe.

You could use a sub. M98 Pnnnoooo calls sub oooo nnn times

T4M06(THREAD MILL);
G00G17G20G40G80G90;
G54X0Y0M03S1000;
M08;
G43H4Z0.1;
G01Z-1.0F20.;
X0.150F10.;

M98P0101001(CALL SUB 1001 10 TIMES);

G01G90X0Y0M09;
M05;
G00G28G91Z0;
M30;
%

O1001 (HELIX SUB)
G91 G03 I-0.15 Z0.125 (oops)
M99

Last edited by dcoupar; 03-06-2008 at 02:33 PM.
Reply With Quote

  #9   Ban this user!
Old 03-06-2008, 01:24 PM
extanker59's Avatar  
Join Date: Mar 2008
Location: USA
Age: 52
Posts: 426
extanker59 is on a distinguished road

Hi guys,
dcoupar, nice compression. Our Haas wants the sub call out like this: M98 P1001 L10
Also don't forget the G03 in the sub. I'm also paranoid so I like to rapid up to Z.1 before going home (I make it move the Y axis closer to the operator so he can check it out during set up). I prefer G53 Y0 Z0 over G00G28G91Z0;
Larry- don't forget the G90 in your first post "G01X0Y0M09;" , otherwise it'll sit there in contact when you rapid up.
Chris
Reply With Quote

  #10   Ban this user!
Old 03-06-2008, 02:18 PM
 
Join Date: Jul 2007
Location: US
Posts: 59
Larry Myers is on a distinguished road
Thrad cutting help.

Thanks guys, I really appreciate the help. I will try this afternoon.

Larry
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 03-06-2008, 03:38 PM
 
Join Date: Aug 2007
Location: usa
Posts: 95
dpark1 is on a distinguished road
thread mill

I ran this same thread today on fadal-program works fine


N1O6970(THREAD MILL)
N2(D1=.77)
N3(D2=.757)
N4(D3=.748)
N5(FOR 1"-8 PITCH TAP)
N6M6T1(3/4 CAR. THREADMILL)
N7G0G40G80G90S600M3
N8X0Y0E1
N9Z0.1H1D1M8
N10G1Z-0.95F10.
N11G91G41X0.5F12.
N12G3I-0.5Z0.125L8
N13G90G1G40X0Y0
N14G1Z-0.95F10.D2
N15G91G41X0.5F12.
N16G3I-0.5Z0.125L8
N17G90G1G40X0Y0
N18G1Z-0.95F10.D3
N19G91G41X0.5F12.
N20G3I-0.5Z0.125L8
N21G90G1G40X0Y0
N22G0G49Z0M5M9
N23X0Y0E0
N24M99
N25M30
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
metric thread cutting toolmaker_79 G-Code Programing 3 09-03-2007 06:11 AM
Thread cutting in EMC mattinker LinuxCNC (formerly EMC2) 16 02-28-2007 07:24 AM
thread cutting FANUC 0i TB xavierdemoura Fanuc 0 09-23-2006 08:07 PM
cutting acme thread barnesy General Metalwork Discussion 6 09-01-2006 09:06 PM
help cutting 6 pitch thread joe1970 General Metalwork Discussion 10 06-08-2006 08:43 PM




All times are GMT -5. The time now is 10:09 PM.





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