|
Re: Help - G-Code Circular Motion for CNC Milling
I think I have finally found what I need. I just realized that the answer probably was in my HAAS Programming manual so I decided to take a look. What I found was a code called G12. It seems to be just what I need but I have one question. Will it ramp downward?
Here's the sample code the manual gives:
N1 T1 M06
N2 G90 G54 G00 X2.5 Y2.5 (position to X Y center of cirular pocket)
N3 S1900 M03
N4 G43 H01 Z0.1 M08
N5 G01 Z-0.5 F30. (to feed Z axis slower, or faster, than what's in the G12 line
N6 G12 Z-0.5 I0.5 D01 F11. (1.0 Dia. x .5 deep circular pocket)
N7 G00 Z1. M09
N8 G53 G49 Y0. Z0.
N9 M30
My question is does line 5 run the cutter down into the part? That would seem a bit odd to me. Another version of the code does not have line 5 and I guess only makes 1 revolution before getting all the way down.
See what I think I want to do is make it go around and around several times constantly ramping down very slowly. Is that right? How do I make it do that? Someone please help.
EDIT: I think I may have a solution. What if I incrementally went down to rought out a little bit smaller hole, and then I absolutely went around to just enlarge it slightly and to get a nice finish. Would that work?
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004
Last edited by sanddrag : 26-06-2004 at 02:12.
|