I know @Enric use a lot of them.
mkoester2
Hello matthewd92,
I realize this is a old post, but I have two lights on a panel box indicating different robot states: a green pushbutton with a LED, and a red LED light. The red light is set to 'High When Not Running' inside the 'Installation' tab on the teach pendant, indicating to the operator either the program is not running or the E-STOP has been pressed.
I am wanting to make the green light pulse (0.5 sec ON, 0.5 sec OFF) to indicate to the operator that the robot is ready to run. Once the pushbutton has been pressed, the green light will turn a solid HIGH, which I understand how to set inside the program.
What is the best way to set the green light to a flash inside the program?
Thanks,
matthewd92 said:
The hardest part is knowing the difference between pause and stop as setting an output to be high when the program is not running goes high when the program is stopped or paused. You will also need to reset the output low by having a background thread running that just keeps that output low when the program is running. The running is straightforward as it goes high when the program is running and low when its not. You could wire this to a relay and then use the relay to cycle between running and not running on the light tower, this keeps the programming to an absolute minimum as nothing is required to switch between these two states using the relay.
What we have done is we wire yellow to be NOT running (stopped or paused) and Green to be running. We then use the red light internally in the program when we want to notify an operator that there is something the robot needs help with, for instance out of raw material or time to take away the finished goods. We then can control this light and make it blink if we want. Then if we have different notifications that we want to visually indicate to the operator we can do that through controlling how it blinks. For instance, I need help, flash the SOS pattern, take material away, long off (2 seconds), short on (1/2 second), give me more material, short off (1/2 second), long on (2 seconds), some other notification, 1 second on, 1 second off. Obviously you just play around with the timing until you get what you and the operator can decipher with a quick look at the light.
Hi pros,
we would like to add a simple light tower with green, yellow and red on it. What is the simplest way to hook this up to the UR robot to monitor robot run, pause and stopped states of the robot with limited programming? Can we setup IOs to do this?