Hi Daz,
still struggling with coroutines.
Is it possible to switch back and forth between the Gcode interpreter and the GUI?
The reason I ask is because there is a thread on the forum where the OP wishes when an M6 is encountered in
a Gcode job, ie Gcode interpreter is in control, he wishes to manually jog and/or MDI ,ie GUI in control then
revert back to the interpreter to continue the job.
Naturally would require some coding so that on resumption of the job that the machine coordinates remain in sync.
Can a coroutine work across the two instances of Lua?
Craig