I am using the Cincinnati Milacron Sabre (vertical cnc mill). I've looked through the manual but havn't found the best method to do this...
Id like to program one piece and (using a subprogram?) have it repeat all the toolpaths a number of times, offsetting it in X and/or Y a desired number of times.
I'd like the operator to be able to adjust how many times it repeats the subprogram.
This is an example of the program that I ran and it works...
%
(REPEAT TEST)
:0 G0 T1 M06
N30 M01
N40 G0 H0 X3 Y3 S3000 M13
N50 G0 Z6.0
N60 (DFS,L22)
N1040 G1 Z5.0 F40.0
N1070 X4.0
N1080 Y2.0
N1090 X1.0
N1100 Y3.0
N1110 X3Y3
N1120 G0 Z6.0
N1130 G92 X0.0
N1140 (ENS)
N1150 (CLS,L22)
N1160 (CLS,L22)
N1170 (CLS,L22)
N60 G0 Z15.0
N70 H0 X0.0 Y20.0
N80 M52 M02
%
DFS defines subprogram called "22"
ENS ends subprogram "22"
CLS calls subprogram "22".
What this program does, as it is, is calls up sub "22" 3 times (since N1150, N1160, N1170 all call sub "22"). Unfortunately, to make it user-friendly for the operator, I need to call sub "22" about 50 times for this job. I know on other machine controllers, there is a "Repeat" code called L where you would program it like this:
N5000 M98P22 L50 (this calls subprogram 22 50 times)...
Does anyone know how to achieve something similar on the Acromatic? The L word isn't used to "repeat" as on other controllers.