I read previous posts about this issue and adding % at the top and bottom did not help. I also removed all comments. The M98s go to the right place fine, but the program stops the spindle and hangs after the first iteration of the nested loop. It just stops after executing the G1Y-2 in O2000 one time. Help please!
%
g90
g40
s4000
f10
m3
G0Z0
g0x0y0
G92A-7.2
G0Z-4
M98 P1000 L5
F20
G1B-7.9188
F10
G0Z-.96
G0X-5.48
G92A-7.2
M98 P1000 L5
M5
M2
M30
O1000
G91
G0X.5
G0a7.2
M98 P2000 L20
G90
G99
O2000
G0X.005
G0Y2
G0X-.03
G1Y-2
G99
%