1319
« on: April 04, 2015, 10:03:23 PM »
Here is a simple G16 routine where MACH3 does all the math. Try it. It drills a center hole and a bolt circle of 5" radius 4 holes 90 deg apart.
G90
G0 X0.00 Y0.00
G0 X6.00 Y6.00 (move to center point of bolt circle)
G81 X6.00 Y6.00 Z-.250 R.250 F10 (drill the center point hole)
G16 (X will set a radius from the center point, Y sets the angle)
G81 X5.00 Y0 Z-.250 R.250 F10 ( Drill first drill point at 5.00"radius and at zero deg:3 oclock)
X5.000 Y90 ( rotate to 90 degress and drill hole)
X5.000 Y180 ( rotate to 180 deg)
X5.000 Y270 (rotate to 270 deg)
G80 (cancel cycle)
G15 ( cancel G16)
M30
%