Connect to UR5- Printable Version +- RoboDK Forum (//www.sinclairbody.com/forum) +-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN) +--- Forum: General questions about RoboDK (//www.sinclairbody.com/forum/Forum-General-questions-about-RoboDK) +--- Thread: Connect to UR5 (/Thread-Connect-to-UR5) |
Connect to UR5-RBE-09-11-2018 Hi All. I am attempting to connect to a UR5 for the first time to get the position, but am unable to successfully connect. I can ping the UR5 controller without issue, but the connection status bar never turns green, instead stopping at "Waiting...". From the attached screen shot, is anyone able to comment on what it is I am doing wrong? 运行的控制器是一个CB3 SW1.3 running PolyScope 1.8.16941 RE: Connect to UR5-Albert-09-11-2018 The RoboDK driver for Universal Robots will not work with Polyscope Version 1.8 and earlier by default. However, you can change the following setting: CONTROLLER_VERSION=1 In the file: %APPDATA%/RoboDK-Drivers/apiur.exe.ini [attachment=51] The main difference is that previous versions do not support changing digital outputs through the driver. RE: Connect to UR5-RBE-09-11-2018 Brilliant - thank you for that. RE: Connect to UR5-RBE-09-18-2018 Unfortunately it appears I spoke too soon. Making the recommended change to the .ini file (and setting the timeout to 5000ms) results in the following RoboDK log output: Disconnected Stopped Starting robot driver: C:/RoboDK/api/robot/apiur.exe Starting... CONNECT 192.168.0.1 30002 6 MoveJ with Joints: Yes MoveL with Joints: Yes MoveL as: movel(...) Controller Version: 1 Communication Timeout (ms): 5000 Disconnected Available local IP addresses (IPv4): 132.181.60.62 192.168.0.10 Server stablished at: 192.168.0.10:30002 Warning: Using older controller compatibility (IO not supported) Connected to 192.168.0.1:30002. Sending program :/progrobodk_basic.script... Updating computer IP on program: 192.168.0.10 Updating computer port on program: 30002 Program sent. Waiting... Note that I can ping the controller, and explore its file system from within RoboDk using FileZilla, but I am unable to connect to the robot. Any other suggestions as to what may be causing the issue? Update: I have pushed the latest version of PolyScope (1.8.25319) onto the controller, but this has not improved the situation. I have used FileZilla to search for the 'progrobodk_basic.script' file on the controller after RoboDK said it had been sent, but can find no evidence of the file on the controller. RE: Connect to UR5-RBE-10-03-2018 I have replaced the UR5 with one with a CB3 controller, and I still cannot connect to the UR5 from RoboDK. As was previously the case, I can ping the controller and FTP to it using FileZilla, but I cannot connect. Log output is as follows: Stopped Stopped Starting robot driver: C:/RoboDK/api/robot/apiur.exe Starting... CONNECT 192.168.1.1 30000 6 MoveJ with Joints: Yes MoveL with Joints: Yes MoveL as: movel(...) Controller Version: 3 Communication Timeout (ms): 1000 Disconnected Available local IP addresses (IPv4): 132.181.60.62 192.168.1.10 Server stablished at: 192.168.1.10:30000 Connected to 192.168.1.1:30002. Sending program :/progrobodk.script... Updating computer IP on program: 192.168.1.10 Updating computer port on program: 30000 Program sent. Waiting... Any advice on how to solve this issue would be gratefully received! Problem solved! It turns out it was a Windows Firewall issue. I had rules for TCP and UDP on port 30000, but that was not enough. Once I added a rule for all protocols everything worked. RE: Connect to UR5-Albert-10-04-2018 Great! It is a good idea to turn Windows Firewall OFF to troubleshoot communication issues with the robot. 一旦通信正确坚定你can add an exception for the robot driver. RE: Connect to UR5-Kantares-10-31-2018 Hello everybody, I am facing similiar issues with UR3. What I have tried: - turning off firewall on Windows 10 - upgrading robotdk to most recent version - changing parameter inside the driver ini file - different IP settings both on robot side and PC side. I can ping the UR3, but nothing else is really working as I am stuck on "Program sent... Waiting...". Any ideas what I can do more to solve this issue? RE: Connect to UR5-Digitalpräsident-11-05-2018 Hello! Just wanted to say that i´ve also tryed everything of the above (switch Firewall off, Change Ini File) and have the same Problem over here. The Robot is in the same subnet and i can ping it aswell, but when i try to connect it is stuck on "waiting..." It is an UR5 with an CB2 Controller, running URControl/Polyscope 1.8.23117. Greetz RE: Connect to UR5-liushuya7-11-21-2018 Hi, I also did everything following the discussion above. But I'm still getting the exact same "waiting" frustration. Can anyone explain how to make the connection working in details? Below is my connection log:
Code:
Starting robot driver: D:/RoboDK/api/robot/apiur.exe
Code:
Connected to 192.168.1.10:30002. Sending program /DrawHex.script...
Code:
Starting robot driver: /Applications/RoboDK.app/Contents/MacOS/apiur
Controller: CB2 Interface: PolyScope 1.8.25319 ---------------- I also followed this article onOpen Firewall Ports In Windows 10.But it still doesn't change anything. Can anyone send me the progrobodk_basic.script file? Any help would be really appreciated!! Thanks, Josh RE: Connect to UR5-Albert-12-03-2018 Hi Liushuya, I recommend you to try it on a Windows computer and completely turn off your Windows firewall as shown in the attached image. Also, I noticed in your logs that the robot IP is not consistent... sometimes you use 192.168.38.2 and sometimes you use 192.168.1.10. Make sure you have the correct robot IP and you properly established a LAN between your PC and the robot. This may require you changing the IP of your network card. More information here: //www.sinclairbody.com/doc/en/Robots-Universal-Robots.html#UR-IP //www.sinclairbody.com/doc/en/Robot-Drivers.html#StaticIP-PC [attachment=105] We are fixing an issue with UR driver on a Mac and an update will be available before the end of the year. |