I have a need to execute a couple of lines of gcode and then run a script
Is it best to use a coroutine.wait or mc.mcCntl(inst,”Gxx”)
What i am asking is which is the safer to ensure that the gcode is completed
I do know how to implement the coroutine in screen load and the plc , and have it working as such