You need to turn it off when the program starts. Then it will turn back on anytime the program is paused or stopped. If you want to ensure it is always off when the program is running you can put the output in a thread and set it off anytime it’s turned on.
I am working on a project with a UR10 Universal Robot. I have a green pushbutton equipped with a green LED, and also a red LED light, both acting as indicator lights. The green light is Digital Output #3, and the red light is Digital Output #2. I have the green one working as intended.
For the red light, I want it to be 'High when not running', which is what I have it selected as in the 'Installation' tab. Even when I press the RUN button, and the program begins, the red light stays on. Am I missing some other configuration, or could that digital output be bad from the control box itself?