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 08-03-2009, 02:33 PM
 
Join Date: May 2008
Location: USA
Posts: 25
max90272 is on a distinguished road
how does G41 work exactly?

Hello,
I 'm a little bit confused with cutter compensation G41 (for climb milling) g code?

When using cutter comp in any CAM software, I noticed that the G41 and the D value is outputted only on finish passes... which will result in a lot of G41 and G40 codes within the same tool. In some cases, the controller of the CNC machine (for instance Hass VF2) doesn't like that. It will stop and create an alarm in a lot of cases. However, If I remove all the g41 and D values manually, and insert only 1one G41 D# at the beginning of the tool change, the machine will operate perfectly and WILL compensate perfectly.. So I guess my question is... Why do CAM software bother to output G41 codes only on finish passes if this will create syntax errors down the line on the controller? It seems to me that the software could just output one G41 D# value at the beginning of the tool change and one G40 at the end and everything would work? Not sure if I make sense?? Any thoughts?

thank you
Reply With Quote

  #2   Ban this user!
Old 08-03-2009, 02:47 PM
beege's Avatar  
Join Date: Feb 2008
Location: USA
Posts: 518
beege is on a distinguished road

Okay,

G41 ISN'T for "climb milling". although for almost all applications it ends up being true. It's "Offset Left of Geometry" If you're working in a CAM system, you can compensate for the radius of the tool there, or at the machine. You've probably let the CAM system compensate for the tool there, and gave a specific diameter for the tool to be used. You could have specified for the compensation to happen at the machine, and chose any number of tool diameters to work with. The entry at the machine for tool radius would have been half the diameter, of course. OK, so you've chose for the CAM system to generate the pass based on a tool diameter. Taking out the G40s means the machine is continuing to compensate for the tool radius (now zero or close) but the errors are miniscule, and probably even non-cutting. Change to a sharpened tool, where your offset value starts to get larger (-.030?) and your G40-less contours start to gouge your part. because the machine is still compensating to the LEFT of the line which was supposed to be non-cutting. I'd leave them in to be safe. It doesn't hurt, and is what you've asked for your CAM system to do.
Reply With Quote

  #3   Ban this user!
Old 08-03-2009, 03:01 PM
 
Join Date: Jan 2007
Location: USA
Posts: 355
Eurisko is on a distinguished road

The controller shouldn't have problems with multiple G41 Dnn calls, provided :

G01 G40 Xnnn Ynnn D0 (terminate the G41 code and move to safe position)
And
The tool radius comp does not exceed the initial G01 G41 Dnn Xnnn Ynnn move.

Hass may be an exception, but multiple calls to G41 are used on every machine I've seen, with no problems.
__________________
Diplomacy is the art of saying "Nice doggie" until you can find a rock. - Will Rogers
Reply With Quote

  #4  
Old 08-04-2009, 12:25 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

The CAM software must not be properly set if you see actual alarms due to 'Tool too large' or some such. Each feed sequence needs its own lead in and lead out to the profile when using radius compensation. This is because I believe, in most instances, rapid movements are non-compensated movements, so you'd end up with a bunch of gouges unless the tool is descending, for some reason, by a distance equal to its own radius, from the part profile, wherever it needs to come down.

Now if you are using wear comp as 'machine radius comp' then you'd think different rules apply, because you could theoretically run with zero in wear comp, and successfully complete a toolpath, because an offset of zero should never cause a glitch
__________________
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

  #5   Ban this user!
Old 08-04-2009, 02:35 PM
 
Join Date: May 2008
Location: USA
Posts: 25
max90272 is on a distinguished road

Mr. Beege, and others....

OK so let's assume that we do cutter comp. on the CAM system instead of at the machine... so i program my part letting the software know what cutter diameter I am using... for instance 0.500" diameter cutter but in reality the only available cutter is a resharpened one and measures at 0.480"... you would put a 0.020" comp value in the register for that tool # at the machine... wouldn't you want your roughing cuts to be accurate too? It seems to me that if you told your software to leave 0.005 material for finishing and you use a smaller cutter (like above) your finish pass will not be 0.005 but rather 0.015" (0.005 + have diameter discrepancy) and will not be what i wanted? any thoughts?
Reply With Quote

Sponsored Links
  #6  
Old 08-04-2009, 03:34 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

I cannot counter that argument, because it sounds like it could be a problem in real life. But keep in mind that during roughing, you will get tool and machine flex that may or may not leave the exact amount to finish. I think the trick is to get repeatable results, do the same thing over and over. If as you say, you find the finish cut is heavier than anticipated, and the part is coming out with material yet to be removed, wouldn't you just tweak the comp amount on the next part so it comes out right?

Often, a person will rough with a larger diameter tool than the finisher, and then you're faced with a significant deviation in every internal corner, because the fillet has more finish allowance than the straightaways.

For most instances, I suppose the best idea is to tell your CAM the truth and tell it you are using a .48 cutter and not a .50 because there will be some adjustments on a complex toolpath, that CAM will make so the program will run without interference alarms. That is, often times, even with full radius comp, the CAM will output a slightly different path than just a duplicate of the geometry on the screen.

However, I can envision some instances where you might want to include a semi-finish, then a finish path, particularly if you have no idea what diameter tool is going to be used. But does that ever happen? Most of us always use a tool that is close to a theoretical ideal size.

I'm curious about how your original program ran with just a G41 called at the beginning with the tool change lines, and cancelled at the end with a G40. I'm having difficulty believing that would run okay and still do the right thing (be on size) all the way from beginning to end. In my mind it would appear that there are too many ways that such a path would result in even more alarms, or simply result in an uncompensated or displaced path. But, I guess if it works, you can do it
__________________
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

  #7   Ban this user!
Old 08-04-2009, 04:05 PM
 
Join Date: Jan 2007
Location: USA
Posts: 355
Eurisko is on a distinguished road

I'd program the nominal tool size (.500) and use cutter compensation at the control, for roughing, (semi finishing, if needed), and finishing.

I've never liked using the same tool for roughing and finishing. It may save time with tool changes, but it adversely effects tool life and part quality.

btw, most cutter comps tend to be radius comps, not diameter comps.

Is Haas an exception?
__________________
Diplomacy is the art of saying "Nice doggie" until you can find a rock. - Will Rogers
Reply With Quote

  #8  
Old 08-04-2009, 06:26 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

Radius or diameter input is an optional setting in Haas, I believe.
__________________
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

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
NEED WORK DONE??? ritewaycnc Employment Opportunity 0 07-27-2009 09:50 PM
Looking For A Job- how work usa rtm74 Employment Opportunity 3 05-27-2008 03:30 AM
Newbie- Work Planes / Work Coordinates MICFDI Esprit 9 05-11-2008 11:35 PM
Looking for work JPMach Employment Opportunity 1 09-01-2006 12:47 PM
art work tmt_92021 Mastercam 6 08-19-2006 07:21 AM




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