I have my lathe CNC retrofit completed and running on Mach3. I can write a basic step in step out code and the machine performs well. I would like to do a basic turning program that repeats and steps the X axis in by 0.1mm each time a cut is taken until the final depth in reached. Rather than write dozens of lines with each line giving a step in increment of 0.1mm each time. Is there a G-Code command that can be used that will allow repeating of each step giving a new X axis value each time?
How would this look?
Any help would be greatly appreciated.

Cam