Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Connect to UR5

#41
Are you using a recent version of RoboDK?
Did you set the controller variable to 1 as specified here?
//www.sinclairbody.com/forum/Thread-Connect-...585#pid585

Do you get any errors or warnings on the robot?
On a command line window (Windows key + Run, then, type cmd), type:
netstat
You should see your computer's IP listed with the port (the port you specified in the connection parameters)
#42
Hi Albert.

I have answered your questions in previous posts:

- latest version of RoboDK
- variable set to 1
- no errors or warnings

Using netstat and TCPView for Windows (part of Windows Sysinternals), I can see connections being negotiated and established with our CB3-based UR5, but with the CB2-based UR5 the connection is never established. Instead, it gets stuck in the listening state. I am currently running SW 1.8.16941, having downgraded from SW 1.8.25319 to see if it was a UR software issue, but the situation remains the same. I am currently trying to determine the software version that originally shipped with the CB2 robot - I believe it was 1.8.16941, but am verifying with our local agent to be sure.
#43
Having downgraded through several software revisions with no change in outcome, the only conclusion I am able to draw is that it is not possible to use RoboDK with a CB2-based UR5. Again, if any readers of this thread have managed to successfully connect to their CB2-based UR5 using RoboDK, please let the rest of us know, as at this stage I am out of ideas.
#44
Let's try to set up the UR driver manually:
  1. Take the file attached and update the IP and port in the first 2 lines (IP of the robot and the communication port you specify in RoboDK).
  2. You can load the attached file on the robot and run it (you'll need to setup a new program to run a script file as shownhere).
  3. You may see errors in the log (let me know if this is the case).
If you don't see any errors it means something is blocking the connection (firewall, antivirus or Windows user account control doesn't let you setup a server connection).


Attached Files
.zip RoboDK_driver.zip(Size: 1.67 KB / Downloads: 481)
#45
Hello,
I think i might solved this problem.
I tried to connect to robot by using RoboDK on my PC and directly connection with Ethernet cable to Control Box.
The problem was that every time i tried clicking on "Connect" button there was "Waiting" status and nothing happened.

Solution:
1) I pluged Ethernet cable to router and connected my PC to that router by WiFi to that router. Then I set DHCP to assigns an IP address in PolyScope on control panel (touchscreen) and entered the same address in RoboDK on PC.
2) Robot MUST be in operational mode.

After I have done 1) and 2) robot the connection between PC and CB was established. I think that point 1) is not and issue and a real problem was point 2).

My UR robot is UR10e. I disabled all antivirus and windows firewall. I set remote control on touchscreen.
If that helped, you can send me a bottle of good whiskey :)
#46
Hello,
I had the same problem with ur5e.
I didn't know what was meant by ''operational mode''. I mean it is obvious that your robot should be turned on and you should start motors on.

In my case, the connection starts working when I chose remote control on the robot controller. I also let the port in RoboDK environment the same as it is automatically selected in my case it was Robot port: 2000.

Best regards,
Simon
#47
Try to turn Windows Firewall OFF to troubleshoot communication issues with the robot.
#48
Hi,

I was having the same problem as you and could not find the solution anywhere on the internet.
The problem is that the UR is set to local control by default.
This means that you can only control it via the teach pendant.
If you set thecontrol modetoremote controlit should work with external control software such as ROBODK.
You can find this setting in the top right corner of the teach pendant.

Kind regards,
Edwin
#49
I had a similar problem connecting a UR3e:

-Universal Robots UR3e, Polyscope 5.4x? (as delivered in December 2019)
-Set IP address on PC to 192.168.1.1, subnet mask to 255.255.255.0
设置UR3e机器人192.168.1.2 IP地址
-Windows 10 Firewall: turned OFF
-CAT6 cable from UR controller to PC
-Ping test: successful
-Connect: waiting . . . (never connects, no timeout or other indication to the user - something RoboDK could improve)

SOLUTION: (what worked for me):

-Installed Ethernet switch with another CAT6 cable between the PC and the UR Controller
-Connect: . . . waiting . . . (~ 0.5 sec delay) . . . CONNECTED!

Notes:

-You could also try a router; an ethernet crossover cable might work too
-I did NOT make any changes to the /RoboDK-Drivers/apiur.exe.ini file
#50
I am experiencing some issues trying to connect to a UR3e

The log as shown:

Process stopped
Sending command...
Driver apiur not running
Disconnected
Stopped
开始robot driver: C:/RoboDK/api/robot/apiur.exe
开始...
RoboDK driver for UR v3.9.0
Loading settings: C:/Users/kyle.watson/AppData/Roaming/RoboDK-Drivers/apiur.exe.ini
MoveJ with Joints: Yes
MoveL with Joints: Yes
MoveL as: movel(...)
Controller Version: 3
Communication Timeout (ms): 1000
Disconnected
Sending command...
Driver apiur not running
Disconnected
Error: Process crashed (id 1)
Stopped


The ping is successful and remote control is enabled as well as active when I try to establish connection. After hitting connect the bar flashes red and says stopped. I have double clicked disconnect and tried many times.




Users browsing this thread:
1 Guest(s)