BigJohnT wrote:I would assume the only reason you need to repeat a program is if your changing parts out or have a bar feeder and both of those should be controlled externally from the g code file. When you run out of material you want to stop right? You don't want to start till the new blank or the bar feeder is done right?
John
Yes, this is what I want. CNC program will wait until new part is ready on each cycle.
I did this in ladder program where I use halui pins:
halui.machine.is-on
halui.program.is-idle
halui.program.optional-stop.is-on ... to simulate CycleRun
halui.program.run.
It works. I want to use also halui.mode.is-auto, but it goes off with M30. Is it possible to keep this sygnal on?
I attached simple ladder I use for testing.