Simple Lathe Work Dose Not Need A Cam System, Wright It By Hand
Like Hu Flung Dung Said It Can Be Done With A G76, Or A G92
By Looking At Your Code It Will Crash G54 Z- Is A Bad Thing
Here Goes A Simple Thread Cycle
G97 S600 (SETS CONSTANT RPM)
G99 (SETS UP IPR)
G00 X.9 Z0.1 M08 (set Up A Clearance Move)
G92 X1.0 Z-.4 F.05 (f= Pitch Or Lead Of Thread 1/20=.050 )
X1.01
X1.015
X1.020 Etc Untill You Get The Proper Depth Of Thread
Or A G 76 Works Good To
G97 S600
G99 (ipr)
X.9 Z.1 M08
G76 X=minor Z= Lenght D= Depth Of Thread U= 1st Pass Depth F= Feed
G00 Z.1
Double Check Me On U
Hope This Helps
Brad
IF ITS NOT BROKE YOUR NOT TRYING HARD ENOUGH
Ashes to ashes , dust to dust , If it wasnt for Harleys the fast lane would rust.
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)