Hello everyone,
I want to activate digital output (switch the light on) when robot goes into Safeguard Stop, light must be switched on. After pressing Safeguard Stop Reset button, it must deactivate.
Is there any way to do this?
There’s no way to do this in PolyScope. You could install a relay in parallel to one of the Safeguard inputs, though. The relay must be NC.
Then you can connect a light to the relay.
I thought about that. But the problem is, that if the door is closed, light will get switched off and the robot will still be in safeguard stop, unless I press the reset button. So, safeguard stop mode and light activation will not match to each other. Am I wrong?
I cant acess my robots for testing, but if you set up a modbus connection to loopback ( 127.0.0.1 ) I think you could use the RB status / isProtectiveStopped addresses to get that signal, Then run a thread checking those and set output based on that.
That’s true. That won’t work… The only way is to use a safety relay, as I see it then. Or a PLC or something else to check the robot status and control the light.
Well. I don’t think you can solve this without a PLC or a safety relay installed.
Or alternatively setting a digital output to high whenever the robot program is paused/stopped. This will however make the light go on no matter the reason the robot has stopped.
Have you thought about using a latching relay? The safeguard stop input would be the pulse that would latch the relay on, then you parallel the input for the reset to the robot to also reset the relay. This would allow the door to be closed but the light stay on until the reset button is pressed
They way I use is not exactly what you are searching for, but maybe good enough, because the light is switched on during a Safeguard Stop, but also if no program is running.
I connected the light to a safety output configured as Prog-Stop_HI and in my program runs a thread that sets the output to LOW and a delay of 0.5 seconds. The delay is needed, otherwise the program runs in a error.