I removed M5 from Okuma's postprocessor before toolchange to shorten cycle time and now the spindle automatically stops (=orients) when moving to tool change position. Or at least, in 90% cases it does. Sometimes the spindle just keeps rotating and the orient led keeps flashing, recoverable only by reset. I'd hate to put the M5 back because it will add at least one second of cycle time.

Ideas?