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 01-07-2008, 09:47 PM
 
Join Date: Sep 2007
Location: USA
Posts: 37
rapidtraverse is on a distinguished road
Cool G70 exit commands with a -u.

Hi there,

I experienced undesirable results while boring ,using machining cycle G71 and G70, and was wondering (WTF) how to correct my error.

After the G71 successfully completed a bore cycle with G41 in the P and Q; the g70 rapided the tool while still in, causing a crash!

The code looked fine. Matter of fact I copied the profile code and used this code and no g70 to finish machining the part with no crash.

Any ideas as to why this crashed?

Best regards,

Chris
Reply With Quote

  #2   Ban this user!
Old 01-07-2008, 09:59 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

You should post your code, that will make it easier to diagnose your problem.

My quick guess is that you were missing a G01 command in the P Q block. The G71 reads the feedrate included in the G71 line but the G70 reads the feedrate in the P Q block.

Post your code and I will run it through my simulator.
__________________
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 01-09-2008, 10:10 AM
Wiseco's Avatar  
Join Date: Jul 2005
Location: Canada
Age: 31
Posts: 175
Wiseco is on a distinguished road

Like Geof said, it's probably a feedrate problem but post the code and we will help you.
Reply With Quote

  #4   Ban this user!
Old 01-10-2008, 09:27 PM
 
Join Date: Sep 2007
Location: USA
Posts: 37
rapidtraverse is on a distinguished road
Cool Crash on exit move

Okay, here is my simple line of code in which the tool appears to rapid to g28 while stil in the part.

Thank you in adavnce.

Spindle stuff
G0 X.575 Z.1
G71 P23 Q30 U-.01 K.005 D.04 F.006
N23 G0G41 X2.1
G1 X1.415 Z0 F.003
X1.375 Z-.02
Z-2.0
X.937
X.875 Z-2.0312
Z-2.375
N30 G40 X.6
Z.1
X2.1Z.1
G70 P23 Q30
G0Z.1
G28
M1
Reply With Quote

  #5   Ban this user!
Old 01-10-2008, 10:03 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

Originally Posted by rapidtraverse View Post
Okay, here is my simple line of code in which the tool appears to rapid to g28 while stil in the part.

Thank you in adavnce.

Spindle stuff
G0 X.575 Z.1
G71 P23 Q30 U-.01 K.005 D.04 F.006
N23 G0G41 X2.1
G1 X1.415 Z0 F.003
X1.375 Z-.02
Z-2.0
X.937
X.875 Z-2.0312
Z-2.375
N30 G40 X.6
Z.1
X2.1Z.1

G70 P23 Q30
G0Z.1
G28
M1

I ran it through my simulator and yes it went to the bottom of the hole and did the G28 from there. I can just imagine the crunching noise when this happens with a tool in a real part.

Then I deleted the two lines I made bold; the ones between your N30 and the G70 and it worked fine.
__________________
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 01-11-2008, 04:01 AM
 
Join Date: Sep 2007
Location: USA
Posts: 55
swain is on a distinguished road

I can check in the morning on my machine, But i believe the programmed path should have a g00 rapid to z.1 at the end before the g70 line. That makes it rapid in Z to clear the tool from the part. Let us know if geof got your problem solved or if you need me to, I can put the code om may machine and try it dryrun with no tool and nothing in the chuck. Let us know...good luck

Dan
Reply With Quote

  #7   Ban this user!
Old 01-11-2008, 08:40 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

Nothing is needed between the Q line and the G70. After doing the G71 sequence the machine returns to the starting point for the G71, which is G0 X.575 Z.1, then the G70 goes through the P,Q, block from there. The G70 picks up the feedrate specified in the P,Q, block and follows the programmed coordinates removing the finish allowance that was specified in the U and K for the G71.

The problem was the two lines I removed, the program ran correctly with them taken out. But why they should cause the machine to go to the bottom of the hole then do the G28 from there is a puzzle. Step through the two versions using Graphics and you will see what is happening.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #8   Ban this user!
Old 01-11-2008, 01:16 PM
 
Join Date: Sep 2007
Location: USA
Posts: 37
rapidtraverse is on a distinguished road
Cool I thought the crunch was my stomach

Thanks Geof,

It's all comming back. Some time ago, as I recall, I was in a lecture about G71. They mentioned something about prep commands.

Thank's for your assistance.

By the way, carbide boring bars just kinda "POP!" Not really a crunch.

Chris
Reply With Quote

  #9   Ban this user!
Old 01-11-2008, 03:12 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

Originally Posted by rapidtraverse View Post
.....By the way, carbide boring bars just kinda "POP!" Not really a crunch.

Chris
I did something similar years ago with an insert boring bar; they do not just 'pop'. There was an awful crunch and a whole lot of grinding noise until the Z servo overloaded and tripped an alarm.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #10   Ban this user!
Old 01-11-2008, 09:40 PM
 
Join Date: Sep 2007
Location: USA
Posts: 37
rapidtraverse is on a distinguished road
Cool

Oh yeah, I've heard of such stories in a time before carbide boring bars.

Thanks again Geof
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 01-11-2008, 11:07 PM
Donkey Hotey's Avatar  
Join Date: Nov 2007
Location: USA
Posts: 1,636
Donkey Hotey is on a distinguished road

Okay, I'm going to semi-hijack this thread since I just did the same type of operation.

I was making a hollow spindle out of aluminum. It had holes in each end but I was backboring inside to reduce weight. The trick was to put the boring bar through the hole, do a G71, then get it back out of the hole.

(Hollow inside cavity 1.9 deep)
G71 P5 Q6 U-0.004 K0.002 D0.01 F0.003

N5 (Inside profile)
G00 X0.97 Z0.2 (outside of hole)
G01 X0.976 Z-0.2 F0.002
X1.196 Z-0.824
Z-1.9
X0.95 (I wanted this to be 0.750 but it seemed to have a problem with it)
N6

G70 P5 Q6
G00 Z5. X0.82
I'm still a little shaky on the whole use of G71 inside a hole. Can somebody explain:

How did it determine to retract in the negative direction instead of positive (away from c/l)? I really wanted to guide it to a safe X diameter before retracting out of the hole but it was giving me fits (some kind of travel error).

I think it was due to the retract setting in the control (default) but I'm not sure. I think the original D value of 0.025" was too much. I'm guessing that with the start and finish diameters, plus the multiple of D, it couldn't retract safely and it knew it. But I'm not clear on it and that bothers me.
__________________
Greg
Reply With Quote

  #12   Ban this user!
Old 01-12-2008, 09:33 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

I will try to help with a few words.

Your "safe X" more or less has to be your starting X on the line immediately preceding the G71 line. For a hole all your other X coordinates have to be at a larger diameter. (For ODs of course all the others have to be smaller.)

Same thing with the Z on the preceding line to the G71. If you start at the outer end of your part all the Z coordinates have to be more negative; start at the inner end and they all have to be more positive.

The tool will always return to the starting X and Z and this is where the retract can have an effect. If you are in a tight bore the retract will sometimes take the boring bar into the opposite side. Go into the settings and make this retract no more than .01.

In addition don't make the X to much smaller for ID work or too much larger for OD than your largest, or smallest, final X dimension.

EDIT: Do you have a print? I could try writing the routine for what you are doing.


SECOND EDIT: Was your "travel error" something like 'Stroke Exceeded'? The error message when you have a move inside the P, Q, block that goes beyond the limits of your start position mentions something like this.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
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
Entry exit arc leaving bump SIG Fanuc 24 12-21-2007 05:57 AM
G2 and G3 Commands Bohemund G-Code Programing 19 05-28-2007 09:12 AM
Difference between BL and SV commands? Shizzlemah Fadal 3 03-23-2007 08:33 AM
How to exit large assembly mode? interflexo Solidworks 3 09-25-2006 03:21 AM
Extending toolpath entry and exit points? microdot GibbsCAM 0 08-25-2004 03:06 PM




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