ADTECH9 Series CNC Programming Manual
M code for program control
M00………program stops. When NC executes M00, the program execution is
interrupted; after reset, press the Start button to continue executing the
program.
M30………program ends, and returns to program header
M98………call subroutine
M99………subroutine ends, and returns to the main program
Other M codes
M03………spindle positive rotation. Use this instruction to rotate the spindle
counterclockwise (CCW) with currently specified spindle rotation.
M04………spindle reverse rotation. Use this instruction to rotate the spindle
clockwise (CW) with currently specified spindle rotation.
M05………spindle stops.
M06………tool change starts. M06 T02 instruction is to change tool #2.
M08………cooling on
M09………cooling off
M32………lubrication on
M33………lubrication off
M88………specify input IO port to check the voltage level; continue to
execute if the levels are same, or else wait. If no voltage level signal is
specified, it is low voltage level signal by default. For example: M88 P0 L1,
wait until IN0 is high voltage level, or else wait all along.
M89………specify output IO port to check the voltage level; if no voltage
level signal is specified, it is low voltage level signal by default; if Q value is
specified, the operation needs to delay for Q ms and then output IO signal.
For example: M89 P5 L0, specify OUT5 to output low voltage level.
Note:
If the motion instruction and M are in the same segment, M instruction will be executed first.
If the program has several M codes in current line, only one is valid, i.e. the last defined M code.
Summary of Contents for CNC9640
Page 1: ...ADTECH9 Series CNC Programming Manual ...
Page 21: ...ADTECH9 Series CNC Programming Manual Workpiece Coordinate System Diagram ...
Page 44: ...ADTECH9 Series CNC Programming Manual 2 Occasions that inner corner rotates ...
Page 45: ...ADTECH9 Series CNC Programming Manual ...
Page 62: ...ADTECH9 Series CNC Programming Manual Manual insertion ...
Page 65: ...ADTECH9 Series CNC Programming Manual Tool radius compensation start and axis Z cut in action ...
Page 117: ...ADTECH9 Series CNC Programming Manual ...
Page 118: ...ADTECH9 Series CNC Programming Manual ...
Page 142: ...ADTECH9 Series CNC Programming Manual ...
Page 143: ...ADTECH9 Series CNC Programming Manual ...