Hey CNC guys- code for circle? G03/2

Joined
May 23, 2003
Messages
5,952
Hello!
I have a problem here with the G02/3 command. How do I specify an interior cut and an exterior cut and when I do a tool offset, how much do I offset it by, 1/2 the end mill dia or the full end mill dia? Thanks!
 
What is the cutter comp code for your machine(G40,41)? You would offset it by the mill radius.
 
Its been a little while for me and to top it off Mazatrol is my specialty.But if I remember on a Fanuc type control G02 is circ. interpolation CW ; G03 is circ. interpolation CCW ; G41 is comp left : G42 is comp right sooo- what I'm saying is describing a pocket or a boss depends on whether you are climb milling or conventional milling as to comp left or comp right.And yes comp 1/2 the dia. of the tool.Does that make sense or help ?
 
Makes sense for now. When you say left that means in the neg direction or anywhere to the left?

Still trying to figure out what they mean when they say:
"Instructs the machine axes to move around the specific Arc Center in a Clockwise direction, maintaining an equidistant Radius (R__), on the selected inside or Outside of the circle"
 
GarageBoy said:
It's a MaxNC CL system
G40 is off
G41 is left
G42 is right

Does the software us I,J or R for circles?

G41D1G01 X Y (D1 being the cutter comp variable)
G02 X Y I J (or R instead if the I,J)

this should give you the hole size you are looking for.

Remember to always put the G41/G42 on a straight line cut -G01-
You CAN NOT use a cuttercomp on the same line as an arc -G02 or G03-
You will get a program error.
 
For NO COMP:
Just offset the circle that you are cutting by 1/2 of the cutter diameter smaller or larger.


For cutter comp:
Cut the circle as it is size wise.
The offset g41 or g42 will depend on if you are climb milling or conventional milling the circle. The other aspect is that you need to have a lead into the cut that is at least 1/2 the cutter diameter to have the g41 or g42 pick up the comp properly. This can be done with z above the top of the part if you wish. After picking up the comp you can then plunge into the circle. This is with FANUC CODE.... max nc uses it.

This is complicated and take a few tries to get it right.
I would practice this procedure several times on wood or scrap before attempting it on something of value.
 
You also, in some machines to use cutter comp, have to give it some room to turn the cutter comp on....Typically, this is going to be a number larger than the amount of cutter comp.

I personally don't use half the diameter of the tool. I program to size and use the cutter compensation for wear only....But, then again, I don't program by hand anymore...I haven't done that in about 8yrs...



Bill
 
Bill,

Good to see others that have been programming for some years.

The amount minimum needed for lead in using cutter comp is 1/2 of the cutter diameter minimum.

I started on a flex writter 28 years ago! We didnt have cad or cam in those days. We had to write it by hand.
I am happy that we dont anymore!
 
Gosh Mazatrol is so awesome compared to "old" G-Code programming.:barf: :) Any of you guys ever use it.For job shop application where the operator is creating the program,set-up,running it just seems so superior.Especially their Fusion Control.Still need CAD help with 3 D work though.But Mazatrol controls w/a 3D package will accept those programs too.A little more pricey than others but I think the cost is worth the extra cash for the simplicity of Mazatrol for applicable machining.Didn't mean to get OT but this is an issue that pops up quite often ( G-Code questions) where the operator is obviously doing 2D work and programming "by hand".BTW , 2 letters I have always despized are I's & J's.:D Please take this post for what it is -MHO.No disrespect meant anywhere here at all !!
 
David,

Mazak makes a great controller. It is for folks that don't understand gcode though.

The difference is that code programmers are at the root level.

Most Mazak folks cannot go to a g code control and make it work.

G Code programmers can go to a mazak and use the gcode converter to make the controller work.

I m not saying that one is better than the other. I am saying ill take gcode any day! It is the universal way of making machine tools run!

What has always puzzeled me is that folks that run a Mazak seem to have the attitude that mazak is the worlds best.:barf:

I am sorry to say that I disagree completely.
There are really great machines in the world that kick Mazaks butt. :D
 
You're correct in your statement that it is a universal way to make machine tools run.And also correct that they are for people that don't understand G-Code.But for Guys standing in front of a " shop job" machine I stand by my statement that they are much faster to program with far less error.The last "machining job" shop I worked at had about 50 Mazaks & several Mitsubishi's and a couple HAAS (:barf: ) machine tools.Like I said in my post prior to this one,"MHO".I guess it is what you are blessed to learn on as to your preference.And I certainly wouldn't try to tell Darrel Ralph how to do anything when it comes to machining.It is quite obvious that you know what you're talking about.You're sucess speaks for itself.I'm just an amatuer next to you Darrel.One thing I can take though is constuctive criticism,thats why I come here every day.I learn something new every time.I will step back and listen and learn from here on this thread.:)
 
David,

I agree that folks in a job shop standing in front of a machine to get it up and going the newer mazaks get the job done fast and efficient.

I am not handling out criticism. I just want to make sure that there is an understanding that g-code is the way to go if you want to be universal.

From what I hear there is programming being worked on that will make everything we know at this time look old !

It is suppose to have the power of code in plain English.

This would be sweet.

The old APT and NCODE programming started down that path but never made the grade after some years.

I see you are not a Hass fan either? We all have to use what we have.

Haas is like a Vega car to me. Use it a while and throw it away.

The best choice in this business is to choose the long term names that have a record of quality.
 
Darrel ,
I didn't mean the term "constructive crticism" in any derogatory sense.On the contrary,you are like EF Hutton to me. When you speak I listen:) .I don't care what the other guys say about you Darrel,I like you !! :D All truth be told I only hear good things about you-- ALWAYS willing to help. Spoken with truth & humility.It is always humbling for me when I come here amongst all this talent.Oh, I almost forgot,whatever format you are talking about,I can't wait to see it !! Sounds very coooooool.
 
David,

We are good to go then.

I have always had a love for CNC... Ill probably kick the bucket someday making knife parts for my folders and such at the machine.

It is good to see others finally getting into the aspect of CNC machining knives. This will change the whole industry someday no matter how hard folks fight to stop it.





YE HA lets make some knives!
 
Well by gosh you better not kick any time soon !! I've got way , way to much to learn from you yet. Need an apprentice to mentor ? You have a big sponge here.:)
 
Darrel Ralph said:
Bill,

Good to see others that have been programming for some years.

The amount minimum needed for lead in using cutter comp is 1/2 of the cutter diameter minimum.

I started on a flex writter 28 years ago! We didnt have cad or cam in those days. We had to write it by hand.
I am happy that we dont anymore!

Glad to be here!


I work in a shop that is for R&D for a large computer corp...Usually either #1 or #2 as far as computers go..We have a couple of machines that have this feature, but have been replaced with controllers....Oddball machines to say the least. I used to program lathes by hand several yrs ago..I don't miss those days....Have used several CAD/Cam packages throughout my career...Virtual Gibbs, Cimatron...and now I am using MasterCam..I don't do too much work that is in the realm of 2d anymore...Mostly it is all 3d surfacing.
 
Michigans Upper Peninsula.But I know how to drive along with a little knifemaking skill :D . Where is your shop located Darrel ? Shoot me a private email if you like.I would seriously like to continue this discussion ! I'm running back and forth between my little shop and my computer so if I don't respond right away I'm making chips.But I will respond.I know you're super busy too so we can take this one step at a time.I am seriously considering a move to further my knifmaking career,and where I am located there are -0- opertunities (spelling?)for either me or more importantly,my wife and little girl.We'll talk more.I hear noises in my shop!! Yikes----
 
Back
Top