Filename: anilam.txt - Code Template Author: Bill Hemphill Date: Feb. 8, 2010 Target: Anilam Crusader II / Bridgeport CNC Vertical Mill Tools: As required Tooling: N/A Notes: Formatted for tab spacing: 10, monospaced font (Courier New), Font size: 9 ----- CNC Code Between '%' characters --------------------------- % N0010 G00 G90 G70 $RPD ABS INCH N0020 T0 $ CANCEL TLO N0030 Z0 $ SPINDLE UP $ Add tool numbers and specify TLOs as required N0101 G29 T1001 Z-2.000 $ TLO TOOL #1 N0102 G29 T1002 Z-3.187 $ TLO TOOL #2 N0103 G29 T1003 Z-2.543 $ TLO TOOL #3 $ Typical program begginning code segments follow N0150 X2.625 Y3 $ TO WCP N0160 G04 $DWELL LOAD PAPER/PART N0200 G00 G90 X6.25 Y-2 $RPD ABS TO TCP N0210 T1 $ LOAD TOOL #1 $ Contouring commands follow Nxxxx G02 X+99.9999 Y+99.9999 Z+99.9999 I+99.9999 J+99.9999 F99.9 $CW COMMENT HERE Nxxxx G01 G91 Z+99.9999 $F/R INC COMMENT HERE Nxxxx G03 X+99.9999 Z+99.9999 I+99.9999 K+99.9999 $CCW COMMENT HERE Nxxxx G01 G90 Z+99.9999 $F/R ABS COMMENT HERE Nxxxx G00 G91 X+99.9999 Y+99.9999 $RPD COMMENT HERE $Code segment for ending main program N0900 T0 $ CANCEL TLO N0910 G00 G90 Z0 $RPD ABS SPINDLE UP N0920 X2.625 Y3 $ TO WCP N0930 G29 E %