I have a Mazak quick turn Nexus 250 II with a LNS Quick Load 80 bar feeder works great lathe runs great but when the lathe sees the end of bar at the M69 it jumps to the sub program 9999 it will run the sub just fine open the chuck bring the stop down push to the stop close the chuck but here is where it gets funny it will get to the M99 and jump back to the top of the sub star all over again not go back to the main program I have even tried to use a M98 to get back to the main program and get an alarm that says it can’t find that program number put a M30 at the end it will go back to the top of the sub and stop I can write test programs and jump back to the main from the sub run in a loop jumping back and forth it all work just fine this only happens when the M69 calls the sub. LNS says its Mazaks problem Mazak has no ideas at this point anyone ever run into this?

Thanks for your help in advance

O3030 (main program)
Do
All the
Work
N30 (BAR PUSH FOR NEXT PART)
M5
T1010
G0Z1.
X0
Z.03
M69 (END OF BAR CHECK) jump to sub 9999 if EOB
M206 (OPEN CHUCK)
M68 (BAR PUSH)
M207 (CHUCK CLOSE)
G0Z3.
X10.
M1

O9999(BAR SUB PROGRAM)
(*)
(*)
(*)
M5
M9
G28U0
G28W0
M0(REMOVE DROP)
T1010
G0Z1.
X0
Z.03
M206
M68
M207
G4P2500
G0Z1.
G28U0M5
G28W0
M1
(*)
(*)
(*)
M99
%
I forgot to say I have another set of machines just like this and it works fine on them