I am trying to write a program that will cut a key hole slot and an outside perimeter. It should cut 20 parts in a 4x5 grid pattern. This is what I have right now and of course if any one has suggestions to do this better I am open. I have a Fagor 8050m controller.
T1 D1
M06
G00 X5.89375 Y16.32500
(MCALL 10)
G62 X35.2125 I12.2724 Y65.7 J16.425
(MDOFF)
T2 D2
M06
G00 X2.70625 Y2.90625
(MCALL 20)
G62 X35.2125 I12.2724 Y65.7 J16.425
(MDOFF)
G90 G00 X0 Y0
(SUB 10)
G01 Z-0.25 F200
G01 X6.89375 Y16.32500
G01 X5.89375 Y16.32500
G00 Z0.5
(RET)
(SUB 20)
G01 Z-0.75 F200
G01 X10.08125 Y2.90625
G01 X10.08125 Y14.96875
G01 X2.70625 Y14.96875
G01 X2.70625 Y2.90625
G00 Z0.5
(RET)