![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| G-Code Programing Discuss G-code programing and problems here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
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. |
|
#2
| ||||
| ||||
| 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) |
|
#4
| ||||
| ||||
| 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) |
|
#5
| |||
| |||
| 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 |
| Sponsored Links |
|
#6
| |||
| |||
Climb cut - use G41. Conv. cut - use G42. |
|
#8
| |||
| |||
| 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 |
|
#9
| |||
| |||
| 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. |
|
#10
| ||||
| ||||
| 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!" |
| Sponsored Links |
|
#11
| ||||
| ||||
__________________ 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) |
|
#12
| ||||
| ||||
| 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. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
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 |