Hey all!

I run an Amada Regius ML3015 FOL at work. It's a 6K machine.

According to Amada, because they're stand alone machines that aren't hooked to automation, we can't make regular nests with multiple layouts and just run them, and we can't auto repeat a program, we have to wait for the machine cycle to finish, and press start manually for as many times as we need to run a layout.

I've discovered changing the "M30 stop and reset" at the end of the program to an "M97 repeat" will have it loop the same program infinitely until I manually stop it.

My questions are these:

How do I get the machine to run the macros for the nozzle clean / height calibration and nozzle check / auto centering at the beginning of every program repeat, before it does the sheet detection?

Also, is there a line I can add besides that "M97" that will let me run a program "X" amount of times, then stop automatically?

Thanks for any help!