I have an auto tool changer on my mill with a macro that works great. Only problem i have is this. When single blocking thru program, if i hit cycle start one too many times, it tries to execute the line after the tool change while it is trying to tool change. Basically it is turning the spindle on while it is trying to orient the spindle. This crashes the bearing that locks the spindle. Is there some way to disable the cycle start once it enters into the macro. Or make it wait for a finish signal before any other command can be executed? My macro is not setup as a sub routine. Would changing that make it wait for the m99 before allowing the next line to execute?