Hello everyone! I am an undergraduate student who just got into a research laboratory with a professor. My task is to program our laser (which functions with G code) to make fairly simple designs, but a lot of them. I need to find a way to run a simple loop where I can designate the start point (probably absolute coordinates), allow it to run maybe 20-30 times, making a simple design (in a horizontal x direction) and then return to the start position, only an increased y amount upwards, so I may begin another row. I think I have the other parts down, I just need a way to run the loop a specified number of times without having to program the same code 100000 times and I am not very familiar with G code.
Thank you all very much!