Page 1 of 1

Gcode G-code Loop some code for an amoutn of times

Posted: Tue May 09, 2017 5:35 pm
by siteadmin
M98 P1 L10 ( perform an operation 10 times )

O1 Letter "O" defines the beginning of subroutine, "1" is the label or name of the subroutine.
G01 Z0
G01 Y3
G01 X2 Y0
G01 X0 Y0
M99 ( Always enter after M99 to create a newline or it is ignored.)