550
7
7 Motion Control
M: Auxiliary parameter number
M: Auxiliary parameter number
◆
Overview
The M instruction is used to enable specic auxiliary functions.
M00 – M99
Auxiliary parameter
number
Applicable model:
H3U-PM
Note: M auxiliary parameter numbers range from 0 to 99. M02, M30, M98, and M99 have been dened;
whereas others are reserved.
A G-code subprogram le can have multiple Oxxxx subprograms ranging from O0000 to O9999. Oxxxx
indicates the main program, and the remaining numbers indicate subprograms. The Oxxxx main program
is determined by the position instead of the serial number. O1000 is used as the Oxxxx main program by
default.
M02 and M30: auxiliary parameter numbers
◆
Overview
The M02 and M30 instructions are used to return to the main program or the caller of the previous layer
when the Oxxxx main program in the G-code subprogram is nished (that is, the G-code subprogram is
nished).
M02
End of the Oxxxx
main program
Applicable model:
H3U-PM
M30
End of the Oxxxx
main program
Applicable model:
H3U-PM
M98: Auxiliary parameter number
◆
Overview
The M98 instruction is used to call the specied Oxxxx subprogram continuously for the specied times.
M98
P_ L_
Call of the Oxxxx
subprogram
Applicable model:
H3U-PM
P Number of the
O subprogram
Serial number of the subprograms O000 to O9999
called
L Number of
calls
Number of times the subprogram is called