Universal Robots+

USB communication

We develop URCaps that an in-house manufactured device and the UR5e robot communicate with by USB serial communication.
URCaps recognizes the device conneced by python and communicates with pyserial.
We have checked that the communication with our UR5e robot and devices is succesed when we connect with our UR5e robot.
We have also checked that the communication is succesed on URsim.

However, the communication with URCaps is failed on our user’s UR5e robot.
It is considered that the UR5e robot don’t detect the device.
Both of the UR5e robots have 5.8 version of polyscope.

We would like some solutions about this problem.

Thanks in advance.

Check this forum:

to find ports if running from a script

import serial
Serial_List = serial.tools.list_ports

at this point you will get a list of serial ports

If you do not get a return power on the U.r
remove the usb and then reinstall the u.s.b and re run the script

The below link is for the python serial library.

if you need more help
i my self would use c #.
Python is a easy language to learn but it has some industrial case use issues .