What you can do is setup your IO that is controlling (power source) your motor to “Program Stop Low” in the Installation IO Tab.
Unfortunately there is actually no routine to call on program stop so i suggest to second this Feature Request
What you can do is setup your IO that is controlling (power source) your motor to “Program Stop Low” in the Installation IO Tab.
Unfortunately there is actually no routine to call on program stop so i suggest to second this Feature Request