Why does this code not work? Machine will run the first call for the subroutine and stops on the last line of the sub Z1.0 and the spindle shuts down. Acts like it is not seeing the M99
G43 M6 T1 H1
M3 S500
G54
G0 Z4.0
M98 P1234
G0 Z4.0
G55
M98 P1234
G0 Z4.0
Y80.0
M30
O1234
G0 X1.15 Y6.955
Z.1
G1 Z-.313 F20.0
X.786
X1.15 Y7.319
X1.514 Y6.955
X1.15 Y6.591
X.786 Y6.955
X1.15
G0 Z1.0
M99