I'm trying to hand code a sequence of holes. One row is .5 dia. holes and 4 more rows are 1" dia. holes. It simulates small holes fine but it only locates and does 1st hole for the rest of them. This piece worked fine as a stand along before.
G20
G00 G90 X1.75 Y2 (works)
M98 P3 L11
G00 G90 X1.5 Y3 (locates and 1 hole only)
M98 P4 L6
G00 G90 X2.5 Y4
M98 P4 L5
G00 G90 X1.5 Y5
M98 P4 L6
G00 G90 X2.5 Y6
M98 P4 L5
G90 G00 X0 Y0 Z.125
M30
%
O1 (LIFT TOOL)
G01 G90 Z.125
M99
O2 (PLUNGE TOOL)
G01 G90 Z-.125
M99
O3 (CUTTING SMALL HOLES)
M98 P2
G91 x0 y0
G02 x0 y0 I.25 J0 F5
M98 P1
G00 G91 X1
M99
O4 (CUTTING BIG HOLES)
M98 P2
G91 x0 y0
G02 x0 y0 I.5 J0 F5
M98 P1
G00 G91 X2
M99
Apparently I needed "M30" at the end of the sub-routines. Who would have funked.