What's new
What's new

Editing a program to include a radius on end of part.

jdubya1969

Plastic
Joined
Oct 18, 2018
Hello
I'm a machinist that is starting to be allowed to edit proven programs, i.e. feeds/speeds anything to facilitate production. I'm just trying to put a radius on end of part to take away sharp edges. Currently am using a file. Any help would be greatly appreciated. It's a Haas SL-20. Thank you
Respectfully, Jimmy
 
Hello
I'm a machinist that is starting to be allowed to edit proven programs, i.e. feeds/speeds anything to facilitate production. I'm just trying to put a radius on end of part to take away sharp edges. Currently am using a file. Any help would be greatly appreciated. It's a Haas SL-20. Thank you
Respectfully, Jimmy

You are an operator who is being allowed to edit programs...do you have a tool in the machine to do it.? Do you know anything about g code?
 
I do know some g code, just am not sure where to put the information. At the beginning or end of the diameter?
 
T202;
g50 s1500;
g96 s750 m03;
g54 g00 x3. Z0.05 m08;
g01 z0 f0.005;
x0.85;
z0.05;
g00 x3.;
g01 x2.6458 z0;
g03 x2.687 z-0.0206 r0 .0206;
g01 z-0.2505;
x2.9888;
g03 x3.05 z-0.2826 r0.0306;
g01 z-0.9522;
x3.195;
z-1.5;
x3.75;
g00 x8. Z8. M09;
t200 m05;
g97;
m30;
 
T202;
...
g01 x2.6458 z0;
g03 x2.687 z-0.0206 r0 .0206;
...
The program already has a radius on that corner. I am guessing it's programmed for a .0156" TNR- in which case this code will put a .005" rad on that corner.

If you are using a .031" rad insert, you are going to get a sharp edge.

Tell us the TNR you are using, and we will give you the numbers you need to break that edge.

If you're using the wrong insert, the radius where you go to the 3.05" diameter is also going to be off. You should check that you are using the right insert before you change the code.
 
Ok so do you understand any of the code?
From the looks of it is is facing. Then moves off the part and rapids up, feeds to a dia and Z0.0, then puts a rad in front and turns back to Z-0.2505, then up in X followed by another rad, then straight again, then up in X (I assume you want the rad here to break the edge??), then across in Z, off the part in X and rapids away.

You would do well to post code here in capitals, makes for easier reading for the guys that are so used to the correct way. I personally wouldn't bother with the G97 at the end unless it is for a specific reason, maybe switching the spindle on manually in jog mode. Each guy programming has their own "signature" as I like to call it.

T202;
G50 S1500;
G96 S750 M3;
G54 G00 X3. Z0.05 M8;
G01 Z0.0 F0.005; (I assume you left the . after the Z out by mistake, it would not make a difference but I force myself to always use points)
X0.85;
Z0.05;
G00 X3.;
G01 X2.6458 Z0.0; (Again the . but to each their own. Z0 is the same as Z0.0 but be careful!! Z1 is not the same as Z1.0 - Z1000 might be but this is control dependent)
G03 X2.687 Z-0.0206 R0.0206;
G01 Z-0.2505;
X2.9888;
G03 x3.05 Z-0.2826 R0.0306;
G01 Z-0.9522;
I guess this is the section you want the rad before it goes to the X3.195 to break the edge so here goes (I think in metric)
X3.1338;
G03 X3.195 Z-0.9843 R0.0306; (I just used the same rad as you had on the previous point, double check my calculations)

G01 Z-1.5;
X3.75;
G00 X8. Z8. M9;
T200 M5;
G97;
M30;
 
The program already has a radius on that corner. I am guessing it's programmed for a .0156" TNR- in which case this code will put a .005" rad on that corner.

If you are using a .031" rad insert, you are going to get a sharp edge.

Tell us the TNR you are using, and we will give you the numbers you need to break that edge.

If you're using the wrong insert, the radius where you go to the 3.05" diameter is also going to be off. You should check that you are using the right insert before you change the code.
Ah crap... did I just type that out for no reason. Maybe I misunderstood the OP
 
Ah crap... did I just type that out for no reason. Maybe I misunderstood the OP
I think he is only worried about the end, but you are right- that is also a sharp corner at X3.195 Z-.952.
 
Thank you guys so much, I really appreciate it. Yep, just on ends of part. It's a 1 radius insert he said to use.
 
Thank you guys so much, I really appreciate it. Yep, just on ends of part. It's a 1 radius insert he said to use.
A "1" radius (ex: VNMG331) is .0156" TNR. That will leave a .005" rad on the end of your psrt.

A "2" radius (VNMG332) is .0312" TNR, and will leave a sharp corner.
 
I don't see a Radius on that corner, previous to that one.
You lost me there Rob. Here's his code for the end of the part:

g01 x2.6458 z0;
g03 x2.687 z-0.0206 r0 .0206;
g01 z-0.2505;

I see a .0206 rad in the G3 line, which would put a .005" rad on the part if he is using a .0156" TNR insert.

He said he is filing that end, which made me think he has a .031 TNR insert in the holder...
 
jancollc,
It puts a radius in a the middle of the part just fine, that's the only place that it ever has. I wish I could figure out how to post a pic on here. Sorry gentlemen, I'm no machinist yet. Just did 20 years in the Army and Navy, and am learning this trade. Much appreciated.
 
jancollc,
It puts a radius in a the middle of the part just fine, that's the only place that it ever has.
If you have a 1/64 rad insert, you should be getting a .005" rad at the 2.687" diameter, a .015" rad at the 3.05" diameter, and no rad at the 3.195" diameter.

You can put the same .015" rad that is in the middle of the part on the 3.195" diameter by using the numbers that NAST555 gave you.

You can increase the .005" rad on the end to .015" with this edit:

...
g01 x2.6258 z0;
g03 x2.687 z-0.0306 r0 .0306;
...
 
Just did 20 years in the Army and Navy, and am learning this trade. Much appreciated.


Don't worry about learning, apparently your programmer is still working on his training as well.

Tell him to start using tool radius comp, that way you, the poor bastard at the machine have control over the finished part.

( I for the life of me can't figure out why one wouldn't use tool nose comp on a lathe. Just can't ....:scratchchin: )
 
T202;
g50 s1500;
g96 s750 m03;
g54 g00 x3. Z0.05 m08;
g01 z0 f0.005;
x0.85;
z0.05;
g00 x3.;
g01 x2.6458 z0;
g03 x2.687 z-0.0206 r0 .0206;<jancollc highlighted this line of code
g01 z-0.2505;
x2.9888;
g03 x3.05 z-0.2826 r0.0306;
g01 z-0.9522;
X3.1538:
G3X3.195Z-.0206R.0206
G01Z-1.5;

x3.75;
g00 x8. Z8. M09;
t200 m05;
g97;
m30;

The program already has a radius on that corner. I am guessing it's programmed for a .0156" TNR- in which case this code will put a .005" rad on that corner.

Then made this statement. I don't see anywhere previous to the highlighted segment where there is a "radius" in the code that was posted. I'm sure it's a misunderstanding on my part. At the X2.687 Diameter there is only one Radius, not one that is already there.

It doesn't really matter at this point. The OP doesn't really even know what question he is asking.

Or we could spoonfeed him and say insert and edit the above code in green to get a .005"r on the last diameter. :)

People who don't copy/paste their code directly from the G-code editor, are kicking their own asses. That's why we see the smaller case letters in the code, that they manually type into the reply.

R
 








 
Back
Top