Looping is used to perform repetitive moves without having to write long programs. The start of a loop is defined by LSnn where "nn" is number of times to execute the loop. At the end of the loop put a LF on a line by itself. NOTE: Comments cannot be used inside the loop.
Here is a loop program for a decorative piece using g10 and g02:
With the G10 work shift you can take a program and loop it with the shift so that you get multiple parts done on a single feedout. Here is a loop program where three parts will be made with one barfeed sequence: