How do i control light which can change color from green, yellow and red in such a way that when i switch on the robot it automatically triger red ligjht and turns green when robot is activated. also, blinks green when programme is running. i am using python for programming where robot is in remote mode.
Since light is already connected. i am able to use setdigitaloutput function to turn on and off light but i want to light on when i switch on the robot not only when iam running the program
My light is on, as long the robotcontroller is switched on and no programm is running.
I wired a LED to an configurable safety output and configured this output as “Prog-Stop-Hi”. In my program i have a thread, that sets this output low.
1 Like