1
General Mach Discussion / Associate script to button while running code
« on: March 08, 2013, 06:29:02 AM »
Hi guys.
Been reading this forum for some time now, learned a lot but I need help now that I could not find an answer on my own.
I would like to associate a script to a button. Something similar to E-stop, but that instead would do feedhold, stop spindle and raise the Z axis.
This is to stop program if i think the part is cut all the way trough, but still be able to resume if it is not.
I can do a script that does this, but it will not run if a program is running. I assume you can't run Gcode in a script while the main Gcode is running.
Any thoughts?
Tks
Been reading this forum for some time now, learned a lot but I need help now that I could not find an answer on my own.
I would like to associate a script to a button. Something similar to E-stop, but that instead would do feedhold, stop spindle and raise the Z axis.
This is to stop program if i think the part is cut all the way trough, but still be able to resume if it is not.
I can do a script that does this, but it will not run if a program is running. I assume you can't run Gcode in a script while the main Gcode is running.
Any thoughts?
Tks