Just wanted to see if anyone has tryed to
change their code output on subroutines to use macros.
We would like to change our 4 axis mill post to handle this.Thanks for looking
This is an example of what were looking for.
Drill 6 holes around od of part.
( 0.196 DRILL)
T5
M6
#100=6(NO HOLES)
#1=60(INDEX)
#2=1(COUNT)
#3=.0(START POS)
G90G0G98G56
X-.293Y0.A#3
S1200M3
G43Z1.H5T20M8
WHILE[#2LE#100]DO1
G73X-.293Y.0A#3Z-.6R0.1Q.06F3.
G80
#2=#2+1
#3=#3+#1
END1(END OF SUB)
G91G28Z0M9
G28Y0M5
M1
change their code output on subroutines to use macros.
We would like to change our 4 axis mill post to handle this.Thanks for looking
This is an example of what were looking for.
Drill 6 holes around od of part.
( 0.196 DRILL)
T5
M6
#100=6(NO HOLES)
#1=60(INDEX)
#2=1(COUNT)
#3=.0(START POS)
G90G0G98G56
X-.293Y0.A#3
S1200M3
G43Z1.H5T20M8
WHILE[#2LE#100]DO1
G73X-.293Y.0A#3Z-.6R0.1Q.06F3.
G80
#2=#2+1
#3=#3+#1
END1(END OF SUB)
G91G28Z0M9
G28Y0M5
M1