ur5_setup icon indicating copy to clipboard operation
ur5_setup copied to clipboard

readrobotMsg is missing

Open EnriqM opened this issue 7 years ago • 4 comments

In your Matlab code, inside moverobotJoint.m , you make a call to the function readrobotMsg:

    success  = readrobotMsg(t);
end
if ~strcmp(success,'1')
    error('error sending robot joints')

which is missing in your repository. Could you upload it?

EnriqM avatar Oct 17 '18 09:10 EnriqM

The UR just returns a 1 or 0 string flag for success or failure. so you can replace the first line with

success = char(fread(t,1));

jaspereb avatar Dec 17 '18 03:12 jaspereb

I'm not sure if this is the right place to pose this particular question but I have a ur5 right now with a teaching pendant (TP) that is not working. So I'm trying to use a laptop to connect to the box and use it as if it was the TP. My intention is to download the newest version of the ur5 FW and see if it can help taking care of that issue.

The setup I see here would not help me as the TP is not showing anything. Would be grateful for any tip.

Zomnipotential avatar Nov 02 '21 11:11 Zomnipotential

I'm not familiar with using just a computer with no teach pendant, but wouldn't recommend it as a lot of the functionality is much more difficult to use programmatically (ie, you need a teach pendant to do most tasks efficiently).

We've also had teach pendants die on us, seems to be a somewhat common issue. If it is just the touch screen not registering touches, you can plug a usb mouse into the pendant port and use that with the pendant. Good luck

jaspereb avatar Nov 02 '21 11:11 jaspereb

Thank you so much for the quick response!!

It's not by choice; those using the robot told me that it used to work. But now, when I turn the robot on, the screen shows the UR's usual start screen and then goes totally black with three white square dots in its middle. That's all.

Somewhere I read that updating the firmware would remove the issue but as long as I can't see what is going on I cannot update the FW. That's why I'm trying to find a way to use my laptop as a replacement for the TP.

Thank you anyways!

Zomnipotential avatar Nov 02 '21 13:11 Zomnipotential