gcode:mcodes:mcode-m99

M99 - Return From Subprogram

Return from subprogram. If M99 is called from main program, main program is restarted and will loop until stop.

Syntax

M99

Parameters

none

Examples

M98 P1000
M98 P2000 L3
M2
 
O1000
(print,This is subprocedure O1000)
M99
 
O2000
(print,This is subprocedure O2000)
M99

Output:

This is subprocedure O1000
This is subprocedure O2000
This is subprocedure O2000
This is subprocedure O2000

See also

M98

gcode/mcodes/mcode-m99.txt · Last modified: 2023/02/17 11:08 by 127.0.0.1

Page Tools