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-16-2010, 09:12 AM
 
Join Date: Sep 2010
Location: UK
Posts: 8
LPE Ltd is on a distinguished road
Overcutting, cutter comp, Fanuc Oi.

Hi, im new to the site.
Im getting an what appears to be an overcut and its doing my head in.
Im trying simply to put a 5mm chamfer on the ends of a 47x20 block, 0/0 ref about center, but on the first chamfer im getting a scallop. Im starting at X-45, Y-50 just to make sure out of any radius interference. Feed to depth then using
G1 G41 X-18.5 D11 (correct tool number and radius offsets);
Y-10;
X-23.5 Y-5;
Y5;
X-18.5 Y10;
G40......

Please could anyone show me what silly mistake im making or point me in the right direction if its a little bit more involved.
Thanks.
Ian.

Last edited by LPE Ltd; 09-16-2010 at 09:58 AM. Reason: incorrect size
Reply With Quote

  #2   Ban this user!
Old 09-16-2010, 02:06 PM
 
Join Date: Aug 2005
Location: usa
Posts: 77
underdog is on a distinguished road

Ian,

I didn't go thru the actual dimensions you gave but most G41 issues are caused by a few factors. The first move that incorporates the cutter comp MUST come to its end off the part and the last move where the G40 kicks off the CC must also end off the part. In the begin and end the CC must be effective before the cutter touches the part since the move onthe G41 line is a mixture of the programmed move and some extra movement to account for half the cutter or its wear value whichever your offset contains.

Said another way, write your code with two lead in lines and two lead out lines. They can be lines end to end. Make sure they are at least as long a move as the cutter diameter (you may be able to shorten this later- the machine will fault if it is too small - its usually faluts at cutter diameter or cutter radius or at the wear comp value (.006 or so)).

Then with your two lead in lines and two lead out lines, put the G41 D11 on the FIRST of the two lead in lines and G40 on the second (or last) lead out line.
Reply With Quote

  #3   Ban this user!
Old 09-16-2010, 10:47 PM
 
Join Date: Feb 2006
Location: india
Posts: 1,187
sinha_nsit is on a distinguished road

Your program appears to be OK, except that at the start point you will not get a sharp corner.
Possibly, D11 register has higher radius value (It is radius value, not diameter).
Reply With Quote

  #4   Ban this user!
Old 09-17-2010, 03:19 AM
 
Join Date: Sep 2010
Location: UK
Posts: 8
LPE Ltd is on a distinguished road

Hi Underdog, Sinha,

Thanks, ive just changed it slightly to start well away +1.5x cutter diameter just to be sure, unfotunateley i cant finish so far due to the jaws, but i have changed the G40 to mirror the in path. Double checked the offsets and they are correct. Now i have a scallop on both chamfers.

Verbally my program feeds to depth in a -X and -Y quadrant,
applies cutter comp G41 in +X direction
moves towards the first corner of the chamfer, OH!, what a muppet, i see what you mean now, im trying to cut a sharp 'internal' corner with a round cutter as it were? Its never going to work.. Ill extend the chamfer to start in air and that should solve it.

Thanks again,
I have another problem or rather bad understanding which involves applying cutter comp in the Z (G19) plane but i need to get my head around it again first and it may well be similar mistake as i have made above.
Ian.
Reply With Quote

  #5   Ban this user!
Old 09-17-2010, 03:35 AM
 
Join Date: Feb 2006
Location: india
Posts: 1,187
sinha_nsit is on a distinguished road

Originally Posted by LPE Ltd View Post
...
im trying to cut a sharp 'internal' corner with a round cutter as it were? Its never going to work.. Ill extend the chamfer to start in air and that should solve it.
...
Exactly.
Do the same at the end point also.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 09-17-2010, 04:00 AM
 
Join Date: Sep 2010
Location: UK
Posts: 8
LPE Ltd is on a distinguished road

Works a treat now....Thank-you.

Two years ive been working on these machines, just goes to show, something as simple as this, you get so invloved with complicated reasoning and you dont see the obvious.
Reply With Quote

  #7   Ban this user!
Old 09-17-2010, 04:05 AM
 
Join Date: Feb 2006
Location: india
Posts: 1,187
sinha_nsit is on a distinguished road

You are welcome.
Incidently, on Fanuc, you do not need two start-up moves.
Reply With Quote

  #8   Ban this user!
Old 09-17-2010, 04:44 AM
 
Join Date: Sep 2010
Location: UK
Posts: 8
LPE Ltd is on a distinguished road

Ill remember that, the 2 works ok on this due to the small part being in the centre of soft jaws and its only a small number off.

Ill try and have a look at the other problem over the weekend if i get chance, its one that i have tried many different ways but failed to get it right or work out why. The one you have have just made clear i had manually got round it without cutter comp but still didnt make the now obvious connection.
Reply With Quote

  #9   Ban this user!
Old 09-17-2010, 05:17 AM
 
Join Date: Feb 2006
Location: india
Posts: 1,187
sinha_nsit is on a distinguished road

In radius compensation, take care of a few things:
1. The machine will not do something which is mathematically not possible (Make a sketch of the toolpath to observe any inconsistency)
2. For compensation in XY-plane (say), there should not be two (or more) consecutive non-movement commands in XY-plane (macro statements are not counted for this purpose).
3. You cannot switch compensation plane without first cancelling the current compensation mode.
Reply With Quote

  #10   Ban this user!
Old 09-17-2010, 06:54 AM
 
Join Date: Sep 2010
Location: UK
Posts: 8
LPE Ltd is on a distinguished road

Ok, ill look at the other problem again as soon as i can with those in mind, and without being presumtuous, maybe you could have a look at the other one, its a bit more challenging, i hope!
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 09-18-2010, 12:49 AM
 
Join Date: Feb 2006
Location: india
Posts: 1,187
sinha_nsit is on a distinguished road

Your second problem is not very clearly explained.
Reply With Quote

  #12   Ban this user!
Old 09-18-2010, 08:59 AM
 
Join Date: Sep 2010
Location: UK
Posts: 8
LPE Ltd is on a distinguished road

Ok, I was trying to mill a simple slot with a radius in and out in the z plane ie for example say a 30mm long slot with a 30mm radius either end using a 10mm ball nose. Like a stretched 1/2 pipe.

I used a simple program starting without cutter comp (in the air). i.e

T.....
G1 Z0 F100
G91;
G1 X10;
G02 X30 Z-30 R30; ( i think its G2 not G3 for the ZX)
G1 X30;
G02 X30 Z30 R30;
G90;
G0.....

This produced movement in the Y axis as well (all 3 axis) and linear motion in Z&X during the G02 part,

I then tried it using the G18 command and this seemed to cure it.

However when i tried appling cutter comp in a vertical motion ( as per a reference book example, Peter Smid) it applies it in the Z axis as well so i would end up being 5mm above or below depending on G42 or G41 where i need to be.

I tried reading up on it and understood it that it should work in the G18 plane as long as the G02/03 command states the movement in the X and Z axis only.

I tried my usual method of trying different combinations to work it out but i couldnt get it right and ended up fudging it with no comp.

In the tool selection (Fanuc Oi-m) i selected Ball nose and used 5mm as the cutter radius, but im not sure if thats correct because if i change it to an F end mill it seems makes no difference to the actual resulting positions after each block., Ive tried it also with arc modifiers and the results are the same.

When a ball nose is selected, should i enter the complete cutter diameter in the geometry 10mm or 5mm?

Ill try it again when the machines free but i would appreciate any guidance.

Thanks
Ian.
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
Loading cutter comp from PGM. on fanuc 16i PCCDon General CNC (Mill and Lathe) Control Software (NC) 1 07-26-2009 12:23 AM
Fanuc 0-M cutter comp ytb General Metal Working Machines 0 01-14-2009 09:16 PM
manual cutter comp on lathe with fanuc control madmachinist77 General Metalwork Discussion 0 01-08-2009 09:37 AM
Fanuc Tip code 8 cutter comp question demeyert Fanuc 10 04-04-2008 08:03 AM
CUTTER COMP FANUC 18M? PICMAN Fanuc 1 12-07-2007 11:53 AM




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