3
« Last post by wormball on May 30, 2024, 12:34:12 PM »
Hello!
As you may know, if you stop mach3 by pushing the red stop button on the screen, if you push the green cycle start button again, it will continue the program right where you stopped it without notice, and moreover, without starting the spindle. And if you forget about that, it can conclude in breaking the tool or something else, right as i did recently.
So i want to write some safety macro to prevent this kind of situations. In the elder scroll i have read the following wisdoms:
OEM LED Start 804
OEM LED Pause Feed Hold 805
OEM LED Pause 80
OEM DRO G-code Line Number (current) 816
These allowed me to distinguish between actual running state, yellow feed hold button and stop, but not allowed me to distinguish between two aforementioned kinds of stop.
The 816 dro merely indicates what line of code is scrolled to on the screen, but it can be deceptive cos there is no guarantee it is the actual current execution line. And if it is not, it may lead to some unwanted catastrophes.
Is there any way to distinguish between pause and full stop? Or get the actual line on which the execution is paused?
Thanks in advance.