Im currentle running a copy of a program already on the controller.


The sub spindle (w-axis) travels to the set point, clamps the part and the main spindle opens.

Then the spindles just keep turning and the w-axis do not retract as it is suposed to.

No feed hold, or alarm/messages, it just sits there turning both spindles.

The part change over program looks like this:

M81 (Sub spindle chuck open)
M87 (1. and 2. sp sync on)
G0 W-887. (Sub spindle to set pickup point)
M82 (Sub spindle chuck close)
G4 X2. (2sec dwell)
M21 (main spindle chuck open) (Program stops in this block)
G28 W0. (Sub spindle return to home position)
M88 (1. and 2. sp sync off)
M90 (Call sub spindle)
G55 (New work zero)

The yellow marker line for the block sits on the M21 command line.


Any help on this one??