Programming Code Guides

Programming Code Guides
Collision Avoidance System (CAS) Training Guide
Collision-Avoidance-System-Training-GuideDownload
Hartwig Inc. Hartwig Inc.
Programming Code Guides
System Variable List — Okuma Lathes
System Variable List — OkumaDownload
Greg Hartwig Hartwig, Inc.
Programming Code Guides
M-Code List — Okuma Lathes
Use this cheat sheet for M-Codes for Okuma lathes. M-Code List for OkumaDownload
Greg Hartwig Hartwig, Inc.
Programming Code Guides
G-Code List — Okuma Lathes
Use this cheat sheet for a G-code list for Okuma lathes. Okuma G-Code ListDownload
Greg Hartwig Hartwig, Inc.
Programming Code Guides
Local Variables and G101 for Lathe — Example Program
M110G94 M08G17M146()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...
Greg Hartwig Hartwig, Inc.
Programming Code Guides
Tool Life Management / Part Transfer (G22) / Sub-Spindle LB15IIMW — Example Program
G140VTLIN[1]=3 VTLFN[1]=1 VTLL[1]=1.625 VTLA2[1]=5 VTLA1[1]=80VTLIN[1]=1 VTLFN[1]=1 VTLL[1]=1.625 VTLA2[1]=5 VTLA1[1]=80VGRIN[2]=9 VGRFN[2]=1 VGRL[2]=1.625 VGRA2[2]=5 VGRA1[2]=55VGRIN[2]=7 VGRFN[2]=1 VGRL[2]=1.625 VGRA2[2]=5 VGRA1[2]=55VTLIN[3]=28...
Greg Hartwig Hartwig, Inc.
Programming Code Guides
ID Oil Groove on Okuma Lathe — Example Program
CLEARDEF WORKPS LC,[-60,0],[65,50]PS LC,[-60,0],[65,10],0ENDDRAWG0X20Z20T0101X.9Z.5S200M3M42G0 Z-.5X.995G34 Z-3 X1.010 F.25 J1Z-.5 X1.020Z-3 X1.030Z-.5 X1.040Z-3 X1.050Z-.5 X1.060Z-3 X1.070Z-.5 X1.080Z-3 X1.090Z-.5...
Greg Hartwgi Hartwig, Inc.
Programming Code Guides
G88 Threading Cycle for Lathe — Example Program
N1G0X20Z20G50S3500T1111M42M3S1000X3.25Z3.25G71 X2.25 Z.5 B60 U.001 M32 M73 D.03 H.1 F.1 I-.1G88 NLAP1 D.03 H.1 B60 U.001 M32...
Greg Hartwig Hartwig, Inc.
Programming Code Guides
Common Variable for Lathe — Example Program
N10 G14N20 CLEARN30 DEF WORKN40 PS LC,[-30,0],[30,23]N50 ENDN60 DRAWN70 (V1=OD)N80 (V2=Length of fin part)N90 (V3=ID)N100 (V4=Counterbore I.D.)N110...
Greg Hartwig Hartwig, Inc.
Programming Code Guides
Guiding Code Program
Hartwig Inc. Hartwig Inc.
Programming Code Guides
Coding Program Guide
Hartwig Inc. Hartwig Inc.
Programming Code Guides
Program Code Guide
Hartwig Team Hartwig, Inc.