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 05-22-2005, 12:15 PM
 
Join Date: Jul 2003
Location: Daly City, Ca
Posts: 99
scottsss is on a distinguished road
Cutter comp problems

I'm taking a CNC course. The problem is they are having us write the programs manually. Which is a good thing since I seldom look at the code generated by CAM unless their is a problem.

My problem is with cutter compensation and circles. If I use a G42 it makes the circle to large. Which to me is funny since it should be to the right of the line. But if I switch over to a G41 the circle looks fine.

I figure that their is some simple but rule to this I've not been told, that once it is explained to me it will all make sense. Thanks.
Reply With Quote

  #2  
Old 05-22-2005, 12:26 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,448
ger21 is on a distinguished road
Buy me a Beer?

Are you using G2 or G3. If G3, G42 will offset to the outside. G2 with G42 is offset to the inside.
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

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

  #3   Ban this user!
Old 05-22-2005, 12:55 PM
 
Join Date: Jul 2003
Location: Daly City, Ca
Posts: 99
scottsss is on a distinguished road

Hmmmm, I am going CCW. Do you know the rule that it follows to determin wether it is cutting on the outside or inside of the line?
Reply With Quote

  #4  
Old 05-22-2005, 01:15 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,448
ger21 is on a distinguished road
Buy me a Beer?

G42 is the right side, G41 is the left side. If your going CCW (G3), then G42 will be on the outside (right), giving you a larger circle. Imagine walking along the toolpath, G42 puts the tool on your right, G41 on your left.
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(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 05-22-2005, 02:35 PM
 
Join Date: Aug 2004
Location: Greece
Posts: 145
CNCgr is on a distinguished road

It's easier to remember it like this:
Conventional cut: G41 / Climb cut: G42

ger21 is right of course and this is what I was taught too, but you have to remember if you're going CW or CCW, inside or out.

Nikolas
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 05-22-2005, 03:30 PM
 
Join Date: Mar 2005
Location: USA
Posts: 32
screensnot is on a distinguished road

Originally Posted by CNCgr
It's easier to remember it like this:
Conventional cut: G41 / Climb cut: G42
I believe you have that backwards. But that is the way I remember also. Of course, I'm thinking to myself:
Climb cut - use G41.
Conv. cut - use G42.
Reply With Quote

  #7   Ban this user!
Old 05-22-2005, 03:38 PM
 
Join Date: Aug 2004
Location: Greece
Posts: 145
CNCgr is on a distinguished road

Nope! You made me take my books out but I was right.
Reply With Quote

  #8   Ban this user!
Old 05-22-2005, 03:53 PM
 
Join Date: Mar 2005
Location: USA
Posts: 32
screensnot is on a distinguished road

Using a 1.00" end mill, what size hole would you expect with this program:

T1 M6
M3
G70 G90
G0 X0 Y0
Z-1.0
G1 G41 X1.0 F10. D1
G3 I-1.0 J0
G1 G40 X0
G0 Z1.
M2

What dia. would you have put in the CDC table (1.00" or -1.00")?

What type of cut would you expect to see (conventional or climb)?

*edit: added M3
Reply With Quote

  #9   Ban this user!
Old 05-22-2005, 04:08 PM
 
Join Date: Jul 2003
Location: Daly City, Ca
Posts: 99
scottsss is on a distinguished road

Okay, wish the instructor mentioned this in his lector. I didn't find it i the reading either.

WHile I'm picking your brains. Anything else I should know about cutter comp.Going around a straight line, problem's etc.

The simple straight line programs I have written went smothly. But figure I'd ask while we are still on the subject.
Reply With Quote

  #10  
Old 05-22-2005, 07:00 PM
miljnor's Avatar
S.N.A.F.U.
 
Join Date: Jan 2005
Location: usa
Posts: 1,844
miljnor is on a distinguished road

i don't know what Others do, but after I learned how to program and run cnc (awhile back) they put those handy little tool tables in the machine for the cutter diameter(or radius) and when programing by hand they were great..

Along comes cad cam. I found for me (not neccessarily for everyone, although all the guys I know) zero the tool size and only use the wear offset. Genrealy Ive found this causes less heartache. The cad programs often make cuttpaths that double back on them selves and some machines have issues with cutter comp interference telling you that you gouged the wall. Which is kind of annoying. Now you can turn the machine off but you still have the problem of the comp intiation and cancell moves that can be pretty dramatic when the tool gets larger.

All in all I find it easier to leave the diameter zero and use the offset like normal.

just my 2 cents.
__________________
thanks
Michael T.
"If you don't stand for something, chances are, you'll fall for anything!"
Reply With Quote

Sponsored Links
  #11  
Old 05-22-2005, 09:21 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,448
ger21 is on a distinguished road
Buy me a Beer?

Originally Posted by CNCgr
Nope! You made me take my books out but I was right.
I don't think so. Conventional is G42, climb is G41.
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

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

  #12   Ban this user!
Old 05-22-2005, 09:35 PM
ghyman's Avatar  
Join Date: Feb 2005
Location: USA
Posts: 214
ghyman is on a distinguished road

In the example program, it appears as though you are milling inside a round pocket (as opposed to milling outside a round boss).
Since you are cutting CCW (as the G3 shows), then your tool is to the LEFT side of the material (as viewed from the tool). In this case, you want to use a G41 cutter comp.
Now: Using a ø1.0" endmill, the value to put in the comp register is going to depend on the control. Most Fanuc and fanuc clones will use cutter RADIUS comp. Fadals use the acutal cutter DIAMETER. And, I am certain there is a parameter that will allow any machine to use diameter or radius.
But, for the purpose of this thread, I assume you are using a fanuc, in which case, you would put .500 (1/2 the cutter diameter) in your comp register.
And, I would expect it to cut a 2.00" hole.
As the tool wears, or is reground, then is will be smaller. You would then put a smaller value in the comp register, and the control will adjust the cut to compensate.

If you were willing around the outside of a boss using G3 (conventional milling), then the tool would still cut CCW, but now the tool is to the right of the material, so you would use a G42, but still use .500 in the comp register.
If you were climb cutting (G3 on the outside of a boss), then it would be a G41, but still with the .500 in the offset (comp register).

Imagine driving around a curvey road halfway up the side of a mountain. You are either on the left side of the rock wall, or the right. The endmill is doing the same thing, no matter if it climb- or conventional- cutting.

Here's how I learned it, hopefully it will work for you as well:
Clock-wise is 2 words, so it must be G2
Counter-clock-wise is 3 words, therefore G3
The tool is either to the left of the material, or it is to the right (as viewed from the tool). "L-e-f-t" has fewer letters than "R-i-g-h-t", so it uses the lower number (G41). I know it's a little silly, but I've never forgotten it, either.

Full cutter comp is what I have always called it when the actual dimension of the tool is put in the offset. This allows you to essentially program the contour using dimensions right off the print. It also allows you to change cutter sizes without editing the program.
Partial comp is when the program is already 'offset' for the tool, which allows you to keep your cutter comp offset at zero, and only adjust it as it wears. This is the only time you should use a negative value in your comp. Most CAM systems will output code that supports partial comp. However, if you want to change tool size for some reason, then the program will need edited, or you will have to have some funky numbers in your offset.

In either case, every time the G41 or G42 is called up, the tool must be able to move at least the amount in the cutter comp offset.
Either way works, but keep this in mind... every program you write should always use the same method (full or partial). If the next person who sets up the job doesn't know, and guesses wrong, there will be some wonderful surprises!!!

Last edited by ghyman; 05-22-2005 at 09:41 PM. Reason: mis-read the sample program. twice.
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
FeatureCam cutter comp Jim Bass FeatureCAM CAD/CAM 10 03-28-2006 07:49 AM
Need help with cutter comp on Roeder RP800 blue 01 General CNC (Mill and Lathe) Control Software (NC) 0 06-09-2005 05:04 PM
cutter comp in pockets rayenginee Mastercam 3 05-19-2004 09:59 PM
G-Code Cutter Comp Program jcc3inc DIY-CNC Router Table Machines 0 02-27-2004 10:29 AM
Not using cutter comp HuFlungDung OneCNC 6 05-28-2003 04:59 AM




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