Hello, I have made programs like you need with stagger. 960 holes last time.
My program did not use variables, just subprograms like this:
L100
G91X10.L19(DOES TOTAL OF 20 HOLES 10MM APART)
A10.L0
X5.
X-10.L19
A10L0
X-5.
M17
M30
T1M6
G0G90G54X0Y0S3000M3
G43Z10.H1(YEP, 10 MM'S!)(FRIENDS CALL ME METRICMAN)
Z2
G81Z-1.R1.F100
L118(WILL DO 18 SETS OF STAGGERED ROWS, 36 AROUND PART)
G80M5
G090G49E48Y0Z0A0
M30
It's late, program prob has typo mistakes, sorry.
Try that, just changing those G91 X10.(10mm shift between holes and L for amount of holes in row -1 of course, first positioning drill first:20 holes = L19) |