Local Variables and G101 for Lathe — Example Program
M110
G94 M08
G17
M146
()
SFM=80 (Surface Feet Per Minute)
IPT=.0005 (Inches per Tooth)
DIA=1.265 (Diameter of Cutter)
TETH=13 (Number of Teeth on Cutter)
()
G00 X2.3269 Z0 T0101 SB=[3.82/DIA]*SFM
C-29.4594 G42 M13
G01 Z-0.19 F15
G101 X2.3269 C29.4594 F=IPT*TETH*[[3.82/DIA]*SFM]
G0 X3
G40
G95 M12
M109
G00 X20 Z20
M02
More Posts Like This
Explore Full Content LibraryReady to talk with a machine tool expert?
Your Hartwig representative can help connect you with the solution that will power your business’s next big innovation and efficiency.