587,762 active members*
3,458 visitors online*
Register for free
Login
Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2006
    Posts
    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. #2
    Join Date
    Aug 2004
    Posts
    98
    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. #3
    Join Date
    Aug 2005
    Posts
    41

    Smile

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •