Hello.
I have script in lua external buttons for cycle start/feedhold and cycle stop.
When i run m03 and stops with the external button the spindle stops and then starts again and run aprox half a rev then stops again.
BUTT.

not every time.
If i do the same on the screen with my mouse on screen buttons it works fine.
If i start on screen and stops with button its the same error not stoping every time so i think its something with the external button script.
For information im running this functions through a pokey 56 e that im using for extra inputs.
Any ideas?