Page 1 of 1

Drill holes from a Points file.

PostPosted: Fri Mar 09, 2018 5:17 pm
by Vmax549
IF you ever get the need, I have a new Macro function that allows you
to drill hole patterns from a points file. The macro can CALL the pointfile
and feed the drill cycle the points from the file. You also have a choice for
drill cycles G81/G73. You program the basics of the drill cycle from the
macro.

P = Cycle (81/73)
E = Zdepth
H = retract height
Q = peck on teh G73 cycle
( DrillPoints.txt ) Located in C:\UCCNC\Points

G80 G90 G49
G0 X0 Y0
G1 X1 Y1
M3 S2375 M8
G98
M400 P73 E-1.532 H.123 Q.050 F35 (DrillPoints.txt)
G0 X0 Y0
M5 M9
M30


********** Points file layout CSV Comma seperated ( Xvalue,Yvalue) no
spaces
and no empty lines allowed

1,1
1.250,1
1.500,1
etc
etc

Place the macro in your macro folder and place the points file in C:\uccnc\points.

Then you can call the macro from the MDI or from Gcode.