![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Coding Post your Coding for opensource projects here. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
| CNC Lathe Help I found this code on the web and by trying to understand G-code I commented it. I was wondering if this was correc OTP1 (X= Radial Dimension, Z=axial Dimension) G50 S2000 (Max Spindle Speed 2000 rpm) G00 T0606 (Rapid Positioning, Change Tool Rought Turn Tool) G96 S300 M03 (Constant Surface Speed, Spindle Speed 300 rpm, Spindle On Forward) G95 X37. Z0. (End Face Live Tooling Rigid Tap X=37mm Z=0mm) G01 X-1. F0.2 (Linear Interpolation Motion X=1mm, Feed Rate .2 mm/min) Z1. (Z=1mm) G00 X30. (Rapid Positioning Motion X=30mm) G01 Z-20. (Linear Interpolation Motion Z=20mm) X33. (Feed to the Position X=33mm) X35. Z-21. (Feed to the Position X=35mm, Z=21mm) Z-25. (Feed to the Position Z=25mm) X37. (Feed to the Position X=37mm) G00 X150. Z300. (Rapid Positioning Motion X=150mm, Z=300mm) M01 (Optional Program Stop) T0101 (18MM DRILL) G97 S1000 M03 (Constant Non-Varying Spindle Speed=1000, Spindle On Forward) G94 X0. Z5. (End Facing X=0mm, Z=5mm) G01 Z-25. F100 (Linear Interpolation Motion Z=25mm, Feed Rate =100 mm/min) G00 Z5. (Rapid Positioning Motion, Z=5mm) X150. Z300. (X=150mm, Z=300mm) M05 (Spindle Stop) M30 (Program End and Reset) |
|
#2
| |||
| |||
| for the most part yes it is correct. its been a little bit since I have done in depth lathe programming, stuff like g94 and g95 I forget but all the other stuff appears to be good |
|
#3
| |||
| |||
| Hi nosleeves I'm a turner by trade and have worked CNC lathes for the last 20 years, what part are you having trouble with. the program will run, but it's not as clean as it could be. if you just want to know what things will do then ask about the things you are having trouble with. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |