ADTECH9 Series CNC Programming Manual
3. Auxiliaryfunction
This machine tool uses S code to program spindle rotation, uses T code to program tool selection, and
other auxiliary functions are achieved with M code.
3.1
M code list
Table 11.1M code list
Spindle positive rotation
Spindle negative rotation
Tool exchange instruction
Program ends and returns to program header
Subroutine ends and returns/ Repeat
Output 02 port is in high voltage level
Output 02 port is in low voltage level
Output 03 port is in high voltage level
Output 03 port is in low voltage level
Output 06 port is in high voltage level
Output 06 port is in low voltage level
Output 07 port is in high voltage level
Output 07 port is in low voltage level
Output 08 port is in high voltage level
Output 08 port is in low voltage level
Output 09 port is in high voltage level
Output 09 port is in low voltage level