|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#10
|
|||
|
|||
|
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? Last edited by sanddrag : 26-06-2004 at 02:12. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Coding / Style Standards for sharing C code | Joe Johnson | Programming | 33 | 01-05-2004 15:15 |
| heres the code. y this not working | omega | Programming | 16 | 31-03-2004 15:18 |
| Interrupt timer, executing code asap? | SeanCassidy | Programming | 10 | 07-03-2004 01:47 |
| Inserting Naviagation code into Default code? | actorindp | Programming | 3 | 28-01-2004 18:12 |