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! > MetalWorking Machines > Haas Lathes


Haas Lathes Discuss Haas lathe here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 09-13-2009, 01:09 AM
 
Join Date: Apr 2009
Location: USA
Posts: 17
Greg Benedict is on a distinguished road
TL-2 threading code

How do I edit my code so the threading tool takes a couple passes at final depth? In effect, I'd like to have a couple spring passes.
Also I'm pretty sure there is a way to have the same tool just skim the major dia. to reduce burrs at the crest of the thread, but I can't find the info in the manual.
Sample of OD threading code:

N129 (OD THREAD)
N130 T505
N131 G54
N132 G97 S500 M03
N133 G00 X0.644
N134 Z0.2476
N135 G04 P1.
N136 M09
N137 M24
N138 G76 X0.483 Z-0.54 K0.0505 I0. D0.005 F0.0492
N139 G00 X0.644 Z0.2476
N140 M09
N142 (RAPID)
N143 T505
N144 G54
N145 G00 X3. Z10.
N146 M00

Thanks, Greg B.
Also thanks to all the folks who have answered my other questions on the forum. It's been a big help.
Tweet this Post!Share on Facebook
Reply With Quote

  #2  
Old 09-13-2009, 01:51 AM
tobyaxis's Avatar
Moderator
 
Join Date: Jan 2006
Location: USA
Posts: 4,395
tobyaxis is on a distinguished road
G76 is one way to make threads, but have you tried a G92??
__________________
Toby D.
"Imagination and Memory are but one thing, but for divers considerations have divers names"
Schwarzwald

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

www.refractotech.com
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 09-13-2009, 02:47 AM
 
Join Date: Apr 2009
Location: USA
Posts: 17
Greg Benedict is on a distinguished road
I've been looking over the G92 option. Seems like alot of extra code to write. But I can see how it gives you finer control over the threading passes.
The code in my previous post was generated using the Haas IPS threading feature.
I have literally just started learning this machine, and I've never run a CNC lathe before. Just getting this far has been a bit frustrating but like I said, folks here have been really helpful.
Greg B.
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 09-13-2009, 10:33 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,419
Geof will become famous soon enough
Take the time to learn G92, it gives you much more control and allows you to tweak the size just by changing the X coordinate in your final passes. And it is really not that much extra code; write the G92 line and the following line with just the X coordinate, select and copy the X line six to ten times and then just step down changing the X values.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 09-13-2009, 08:14 PM
 
Join Date: Apr 2009
Location: USA
Posts: 17
Greg Benedict is on a distinguished road
So if I were to try with a G92 the code should look like this?
M14 X 1.25 thread, by the way.

N129 (OD THREAD)
N130 T505
N131 G54
N132 G97 S500 M03
N133 G00 X0.644
N134 Z0.2476
N135 G04 P1.
N136 M09
N137 M24
G00 X.644 Z0.2476
G92 X0.540 Z-0.54 F0.0492
X0.535
X0.525
X0.515
X0.508
X0.501
X0.495
X0.490
X0.487
X0.485
X0.484
X0.483
X0.483 (two passes at same dim.)
X0.545 (pass to skim thread crests, or is this not allowed?)
N140 M09
N142 (RAPID)
N143 T505
N144 G54
N145 G00 X3. Z10.
N146 M00

Thanks, Greg B.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 09-13-2009, 08:33 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,419
Geof will become famous soon enough
Your 0.545 pass will not do anything because the tool is aligned with the root of the thread not the crest. If you want to skim the crest you need to move you Z starting point by half a pitch.

But I don't quite understand what you are trying to get by skimming with a threading tool, surely you need something with a flat end such as a narrow grooving tool?

Of course the best approach is to use a full profile thread insert.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 09-13-2009, 09:37 PM
 
Join Date: Apr 2009
Location: USA
Posts: 17
Greg Benedict is on a distinguished road
Originally Posted by Geof View Post
Your 0.545 pass will not do anything because the tool is aligned with the root of the thread not the crest.
Geez, that was so obvious (after you said it, of course).
Sometimes I think if brains were dynamite I couldn't blow my own nose.
I'm using a single point insert, because that's all we have at the moment. And it does throw up a burr on the crests. My thought of using the threading tool was to avoid another tool change. We didn't get the turret option with our TL, but I kind of wish we had.
I suppose I could use the parting tool to skim the crests just before I cut off the part. Otherwise I'm ending up using some Scotchbrite after the fact.
Thanks, Greg B.
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 09-13-2009, 10:57 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,419
Geof will become famous soon enough
With a bit of experimenting you should be able to figure out the Z start position and the X coordinate to have the threading tool take a little chamfer cut along each side of the crest.

Alternatively just use the threading tool as a turning tool to take a finish pass along the thread at the OD and knock off the burrs. With this approach you can then go back and do a final clean up pass on the thread after taking off the burrs.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 09-17-2009, 01:23 AM
 
Join Date: Apr 2009
Location: USA
Posts: 17
Greg Benedict is on a distinguished road
Tried the G92. Like it better than G76. More effective, and less cycle time. At least over the way the IPS figured the threading passes.
Had a few weird issues when I saved the IPS program back to the shop PC and tried to do some editing offline. Control wouldn't accept the program when I tried to send it back. I pretty sure I had something screwy in the file name, but I've yet to figure out what it is.Didn't like it coming from a USB drive either.
Ended up just redoing it with the IPS and making changes at the control, like taking out all the extra M00s ,adding M08s, & M09s where I needed them. And putting in the G92 stuff. Still need to edit out a bunch of unnecessary axii moves to make it run a little faster. BUT I did make some parts, finally.
Thanks so much for your help.
Greg B.
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 09-17-2009, 09:26 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,419
Geof will become famous soon enough
Check the % at the head and tail of the file when you load back to the machine.

Also check for long comments between parentheses, i.e. (COMMENT). I have found sometimes that the machine does not like a (COMMENT) that is long enough to line wrap. It loses the closing ) and alarms.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 09-17-2009, 09:54 AM
 
Join Date: Sep 2009
Location: norway
Posts: 8
skucku99 is on a distinguished road
why dont u just turn it like a norml turniing after u have done the thread ?

G0 X0,6 Z0,2
X0,549 (= 13,95mm TIP OF M14 )
G1 Z-0,54 F0,008
G0 X1 Z1

Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 09-18-2009, 01:34 AM
 
Join Date: Apr 2009
Location: USA
Posts: 17
Greg Benedict is on a distinguished road
Originally Posted by skucku99 View Post
why dont u just turn it like a norml turniing after u have done the thread ?

Hvordan har du deg,
(think I spelled it right)
That's pretty much what I ended up doing. Using my parting tool to just skim the threads at the major dia.
tusen takk
Greg B
Tweet this Post!Share on Facebook
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
Newbie- Takeout Unused G Code commands in Mastercams Generated G Code shneek Mastercam 8 12-15-2010 03:32 PM
Hardinge threading code Pontiff51 General Metalwork Discussion 3 03-16-2009 12:37 PM
looking for g code 3d from bobcadcam or simmilar for indexer lpt v5 with g code soft troyswood Ability Systems - LPT Indexer and G-Code 2 12-24-2006 10:21 PM
CNC Lathe Threading G-Code HELP>>>> vtech99 Coding 2 08-26-2006 04:30 AM
G-code to control double threading! samirnashef G-Code Programing 4 08-13-2006 07:29 PM




All times are GMT -5. The time now is 11:54 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