For spindle rotation, check your Machine System Parameters (spindle)

1st/2nd spindle S command cancel by M02/M30
When an M02/M30 command is executed, the S command value effective up to that point is cancelled.

This will also cancel the S commanded spindle speed by reset (switching modes). I'm assuming the door is closed of course.

You may also want to check this for the Milling Spindle


SB command cancel by M02/M30
When an M02/M30 command is executed, the S command value effective up to that point is cancelled.

Do you have an Operation manual for the LT- series for your machine? I'm thinking that you may have an interlock parameter such as ZB-W that may be affecting your turret indexing. Is the indexing issue occurring on both turrets? Are you taking the A-turret to both X+ and +Z limits in G140? Is the B turret at X+ Z+(w+)? Can you spin the spindle at 1500 RPM with the door close to make sure the door interlock is working correctly?


LT200/LT300 SERIES
OPERATION MANUAL





BTW which control are you using on this machine?