I don't know how it is supposed to function, but if you have code running, then activate output 1 Mach stops like you say but then when you deactivate 1, Mach resumes.
Probably not a good idea to have it this way ?
Should at least require a restart button press.
Also, If no code is running, and 1 is activated then hit Cycle Start nothing will happen....till you deactivate IN1 then it starts automatically.
I've never seen any lockout work this way. They ALWAYS require a reset and restart.
The function maybe should be:
If Mach is running, it functions as an EStop.
If not running, it inhibits RUN and doesn't allow RUN to latch the way it does and requires a restart once IN1 is not active.
Just seems safer.
If you Feed Hold, then activate IN1 to disable the running, then hit START it will come off of Feed Hold then resume when the guard is closed and IN1 deactivates. Stuff shouldnt start, or be able to with the closure of a door or gate.
Russ