Specifications
_____________________________________________________________________ 
_____________________________________________________________________ 
 CONCISE GUIDE FANUC 15 
2.9 “M” AUXILIARY FUNCTIONS 
Auxiliary functions are used to send commands to the control and to the machine tool and they are divided 
between functions that become operational as soon as they are read, and functions that become operative 
at the end of block (M0, M1, M3, M4).. 
The list below indicates the most commonly used M auxiliary functions : 
M0 => Stop program . Interrupts the program running and stands by until it receives consent to continue 
from the operator (start cycle). 
M1 => Stop program-optional. When active it interrupts the program running and stands by until it receives 
consent to continue from the operator (start cycle). 
To activate this command see paragraph 19.1 
M3 => Clockwise spindle rotation. The spindle rotates clockwise at the previously set speed S. 
M4 => Spindle anti-clockwise rotation. The spindle rotates anti-clockwise at the previously set speed S 
M5 => Spindle rotation stop. This function stops the spindle rotation 
M8 => Open coolant. This function activates the delivery of the coolant. The spindle rotation influences the 
function activation: if the spindle is not rotating the coolant delivery is deactivated. 
M9 => Stop coolant. This function stops the delivery of the coolant. 
M13 => Spindle clockwise rotation at previously set speed S and coolant delivery activated. 
M14 => Spindle anti-clockwise rotation at previously set speed S and coolant delivery activated. 
M19 => Spindle orientation. This function stops the spindle in a defined angle position. M19 can be 
programmed also with the spindle rotating. The stopping angle is programmed through the optional 
address S. The M5 function must always be programmed after this function . 
Example: N22 …… 
N23 M19 S45 
 N24 M5 
 N25 …… 
M30 => End of program. This function terminates the running of the program and sets the NC to start from 
the first block. 










