The controller changes the tool by first moving to the tool change point, outputting M61, controlling the spindle orientation, and waiting for the feedback signal M22; then outputting M73, controlling the tool magazine to pop out, and waiting for the tool magazine pop-up feedback signal T06;
Controller,the spindle releases the tool, outputs M10, and waits for the tool release completion signal T02; then the spindle rises, controls the tool magazine to rotate, outputs M63 (forward rotation of the tool magazine) or M71 (reverse rotation of the tool magazine), checks the T08 signal, forwards one position,
Controller,the tool number +1, reverses one position, the tool number -1, and resets to 1 if the maximum number of tools is exceeded;
Controller,the spindle releases the tool and outputs M10, waiting for T02 to release the tool completion signal; the spindle descends to the tool change point;
the spindle clamps the tool, closes M10, and checks the clamping tool signal T05;
the tool magazine retracts and recycles, outputs Y24 signal, and checks the tool magazine retracts and recycles signal T07