Turn off a Digital Output when Emergency Stop has been pressed

If you are using a Digital Output you can look at using " set_runstate_standard_digital_output_to_value(outputId, state)" which will change the state of the Digital Output when the program starts. You can see the different “states” in the URScript manual. You can also set this up in the Installation Tab as well by going to Installation → General → IO Setup then click the Digital Output you are using and change the “Action in Program” to your desired state.

4 Likes