:100 G70 (INCH MODE) G90 (ABSOLUTE MODE) G75 (4 QUADRANT ARCS) M00 (STOP TO SET TOOL = 1/16 drill) G92 X0.0 Y0.0 Z1.0 (MACHINE ACCEPTS AS CURRENT POSITION) G00 Z1.1 (HOP UP TO CLEAR & START MOTOR) (part A1) G00 X0.0625 Y0.0625 (corner post) G25 #drillA (Runs subroutine #drillA) G00 X0.1634 Y0.1063 (wire hole) G25 #drillA (Runs subroutine #drillA) G00 X0.5625 Y0.5625 (post centering pin) G25 #drillA (Runs subroutine #drillA) G00 X0.2514 Y0.8107 (LED hole) G25 #drillA (Runs subroutine #drillA) G00 X0.0625 Y1.0625 (corner post) G25 #drillA (Runs subroutine #drillA) G00 X1.0625 Y1.0625 (corner post) G25 #drillA (Runs subroutine #drillA) G00 X0.8736 Y0.8107 (LED hole) G25 #drillA (Runs subroutine #drillA) G00 X0.9616 Y0.1063 (wire hole) G25 #drillA (Runs subroutine #drillA) G00 X1.0625 Y0.0625 (corner post) G25 #drillA (Runs subroutine #drillA) (part A2)(already 1/8 deep) (drill the spindle) G00 X1.8444 Y0.5625 G00 Z0.875 (hop to surface) G01 Z0.625 (PLUNGE 1/4) G00 Z1.1 (hop to CLEAR PLANE) (drill 20 holes around a bolt circle) G00 X2.24500 Y0.56250 (Line to First Point on Bolt Circle) G25 #drillA (Runs subroutine #drillA) G00 X2.22539 Y0.68629 (Line to Point on Bolt Circle) G25 #drillA (Runs subroutine #drillA) G00 X2.16849 Y0.79797 (Line to Point on Bolt Circle) G25 #drillA (Runs subroutine #drillA) G00 X2.07987 Y0.88659 (Line to Point on Bolt Circle) G25 #drillA (Runs subroutine #drillA) G00 X1.96819 Y0.94349 (Line to Point on Bolt Circle) G25 #drillA (Runs subroutine #drillA) G00 X1.84440 Y0.96310 (Line to Point on Bolt Circle) G25 #drillA (Runs subroutine #drillA) G00 X1.72061 Y0.94349 (Line to Point on Bolt Circle) G25 #drillA (Runs subroutine #drillA) G00 X1.60893 Y0.88659 (Line to Point on Bolt Circle) G25 #drillA (Runs subroutine #drillA) G00 X1.52031 Y0.79797 (Line to Point on Bolt Circle) G25 #drillA (Runs subroutine #drillA) G00 X1.46341 Y0.68629 (Line to Point on Bolt Circle) G25 #drillA (Runs subroutine #drillA) G00 X1.44380 Y0.56250 (Line to Point on Bolt Circle) G25 #drillA (Runs subroutine #drillA) G00 X1.46341 Y0.43871 (Line to Point on Bolt Circle) G25 #drillA (Runs subroutine #drillA) G00 X1.52031 Y0.32703 (Line to Point on Bolt Circle) G25 #drillA (Runs subroutine #drillA) G00 X1.60893 Y0.23841 (Line to Point on Bolt Circle) G25 #drillA (Runs subroutine #drillA) G00 X1.72061 Y0.18151 (Line to Point on Bolt Circle) G25 #drillA (Runs subroutine #drillA) G00 X1.84440 Y0.16190 (Line to Point on Bolt Circle) G25 #drillA (Runs subroutine #drillA) G00 X1.96819 Y0.18151 (Line to Point on Bolt Circle) G25 #drillA (Runs subroutine #drillA) G00 X2.07987 Y0.23841 (Line to Point on Bolt Circle) G25 #drillA (Runs subroutine #drillA) G00 X2.16849 Y0.32703 (Line to Point on Bolt Circle) G25 #drillA (Runs subroutine #drillA) G00 X2.22539 Y0.43871 (Line to Point on Bolt Circle) G25 #drillA (Runs subroutine #drillA) (part A3) G00 X2.6263 Y0.0625 (corner post) G25 #drillA (Runs subroutine #drillA) G00 X2.7272 Y0.1063 (wire hole) G25 #drillA (Runs subroutine #drillA) G00 X3.1263 Y0.5625 (post centering pin) G25 #drillA (Runs subroutine #drillA) G00 X2.8152 Y0.8107 (LED hole) G25 #drillA (Runs subroutine #drillA) G00 X2.6263 Y1.0625 (corner post) G25 #drillA (Runs subroutine #drillA) G00 X3.6263 Y1.0625 (corner post) G25 #drillA (Runs subroutine #drillA) G00 X3.4374 Y0.8107 (LED hole) G25 #drillA (Runs subroutine #drillA) G00 X3.5254 Y0.1063 (wire hole) G25 #drillA (Runs subroutine #drillA) G00 X3.6263 Y0.0625 (corner post) G25 #drillA (Runs subroutine #drillA) (part B3)(already 1/16 deep) G00 X3.6263 Y2.3111 (corner post) G25 #drillB (Runs subroutine #drillB) G00 X3.4374 Y2.5634 (LED hole) G25 #drillB (Runs subroutine #drillB) G00 Z1.1 (hop to CLEAR PLANE) G00 X3.1263 Y2.8111 (post centering pin) G25 #drillB (Runs subroutine #drillB) G00 Z1.1 (hop to CLEAR PLANE) G00 X3.5254 Y3.2679 (wire hole) G25 #drillB (Runs subroutine #drillB) G00 X3.6263 Y3.311 (corner post) G25 #drillB (Runs subroutine #drillB) G00 X2.6263 Y3.311 (corner post) G25 #drillB (Runs subroutine #drillB) G00 X2.7272 Y3.2679 (wire hole) G25 #drillB (Runs subroutine #drillB) G00 X2.8152 Y2.5634 (LED hole) G25 #drillB (Runs subroutine #drillB) G00 X2.6263 Y2.3111 (corner post) G25 #drillB (Runs subroutine #drillB) G00 Z1.1 (hop to CLEAR PLANE) (part B2)(already 3/16 deep) (drill the spindle) G00 X1.8444 Y2.8111 G00 Z0.8125 (hop to surface) G01 Z0.5625 (PLUNGE 1/4) G00 Z0.9475 (hop to clear work) (drill 20 holes around a bolt circle) G00 X2.24500 Y2.81110 (Line to First Point on Bolt Circle) G25 #drillB (Runs subroutine #drillB) G00 X2.22539 Y2.93489 (Line to Point on Bolt Circle) G25 #drillB (Runs subroutine #drillB) G00 X2.16849 Y3.04657 (Line to Point on Bolt Circle) G25 #drillB (Runs subroutine #drillB) G00 X2.07987 Y3.13519 (Line to Point on Bolt Circle) G25 #drillB (Runs subroutine #drillB) G00 X1.96819 Y3.19209 (Line to Point on Bolt Circle) G25 #drillB (Runs subroutine #drillB) G00 X1.84440 Y3.21170 (Line to Point on Bolt Circle) G25 #drillB (Runs subroutine #drillB) G00 X1.72061 Y3.19209 (Line to Point on Bolt Circle) G25 #drillB (Runs subroutine #drillB) G00 X1.60893 Y3.13519 (Line to Point on Bolt Circle) G25 #drillB (Runs subroutine #drillB) G00 X1.52031 Y3.04657 (Line to Point on Bolt Circle) G25 #drillB (Runs subroutine #drillB) G00 X1.46341 Y2.93489 (Line to Point on Bolt Circle) G25 #drillB (Runs subroutine #drillB) G00 X1.44380 Y2.81110 (Line to Point on Bolt Circle) G25 #drillB (Runs subroutine #drillB) G00 X1.46341 Y2.68731 (Line to Point on Bolt Circle) G25 #drillB (Runs subroutine #drillB) G00 X1.52031 Y2.57563 (Line to Point on Bolt Circle) G25 #drillB (Runs subroutine #drillB) G00 X1.60893 Y2.48701 (Line to Point on Bolt Circle) G25 #drillB (Runs subroutine #drillB) G00 X1.72061 Y2.43011 (Line to Point on Bolt Circle) G25 #drillB (Runs subroutine #drillB) G00 X1.84440 Y2.41050 (Line to Point on Bolt Circle) G25 #drillB (Runs subroutine #drillB) G00 X1.96819 Y2.43011 (Line to Point on Bolt Circle) G25 #drillB (Runs subroutine #drillB) G00 X2.07987 Y2.48701 (Line to Point on Bolt Circle) G25 #drillB (Runs subroutine #drillB) G00 X2.16849 Y2.57563 (Line to Point on Bolt Circle) G25 #drillB (Runs subroutine #drillB) G00 X2.22539 Y2.68731 (Line to Point on Bolt Circle) G25 #drillB (Runs subroutine #drillB) G00 Z1.1 (hop to CLEAR PLANE) (part B1)(already 1/16 deep) G00 X1.0625 Y2.3111 (corner post) G25 #drillB (Runs subroutine #drillB) G00 X0.8736 Y2.5634 (LED hole) G25 #drillB (Runs subroutine #drillB) G00 Z1.1 (hop to CLEAR PLANE) G00 X0.5625 Y2.8111 (post centering pin) G25 #drillB (Runs subroutine #drillB) G00 Z1.1 (hop to CLEAR PLANE) G00 X0.9616 Y3.2679 (wire hole) G25 #drillB (Runs subroutine #drillB) G00 X1.0625 Y3.3110 (corner post) G25 #drillB (Runs subroutine #drillB) G00 X0.0625 Y3.3110 (corner post) G25 #drillB (Runs subroutine #drillB) G00 X0.1634 Y3.2679 (wire hole) G25 #drillB (Runs subroutine #drillB) G00 X0.2514 Y2.5634 (LED hole) G25 #drillB (Runs subroutine #drillB) G00 X0.0625 Y2.3111 (corner post) G25 #drillB (Runs subroutine #drillB) G00 Z1.1 (hop to CLEAR PLANE) G95 #PATH030 (CHAIN TO 1/8 drill program) (**************SUBROUTINE #drillA****************) (drills 1/4 deep from Z1.0) #drillA G00 Z1.0 (hop to surface) G01 Z0.75 (PLUNGE 1/4) G00 Z1.1 (hop to CLEAR PLANE) M17 (return from subroutine) (**************SUBROUTINE #drillB****************) (drills 1/4 deep from Z0.9375) #drillB G00 Z0.9375 (hop to surface) G01 Z0.6875 (PLUNGE 1/4) G00 Z0.9475 (hop to clear work) M17 (return from subroutine)