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

RoboDK connection with KR C5

#1
Hi team.

I am writing to you because I have adquired a KUKA KR300 R2700 with a KRC5 controller that will be used to perform milling operations. Now I'm lagging behind because I'm trying to connect RoboDk with the robot controller so I can read the position during zero positioning. I'm using the same files I used on a KR C4 (kukaProxy, RoboDKsync562, C3 KukaBridge, etc) but I'm having a lot of compilation errors with the RoboDKsync562 and I think it's because it's the wrong version for the KUKA. C5.

Is it possible to add the files to C5?

Thank you very much in advance.
#2
What compilation errors do you see? Did you define the required global variables as mentioned in the documentation section of the KUKA driver?

You can find more information about how to configure the KUKA driver here:
https://robodk.com/doc/en/Robots-KUKA.html#DriverKUKA
#3
(05-30-2024, 12:07 PM)Albert Wrote: What compilation errors do you see? Did you define the required global variables as mentioned in the documentation section of the KUKA driver?
You can find more information about how to configure the KUKA driver here:
https://robodk.com/doc/en/Robots-KUKA.html#DriverKUKA

Hello Albert! 
Thank you for your assistance.
 
I was able to fix the compilation problem, it was because apparently the modifications to the CONFIG.DAT file were not saved. I already have the C3 Bridge working and the controller on automatic with the RoboDKsync562 file. I also selected the kukabridge controller, set the IP and port, but the connection is still not made. Any suggestion?
#4
What error messages do you see in the robot connection log from RoboDK's end?
#5
Apparently is a problem in the comunication via ethernet between the C5 and the computer. I was testing the connection with WorkVisual to check if comunication was working, and it just work when the IP of the PC is set up in Automatic, but it dosn´t work when I try to use the IP that appear in network configuration of the SmartPAD of the robot. 

Then when I have to set up the IP of the robot in RoboDK it just ping with the automatic IP but not with the one that the controller shows. I don´t know if this a problem related with the type of windows installed in C5 (Windows 11) or what, but before I did the same with a C4 compact and I could perform the comunication without problems.

Rhe log of RoboDK shows the following: 
Code:
Disconnected
Stopped
Starting robot driver: C:/RoboDK/api/robot/kukabridge.exe
Using RoboDK RoboDK v5.6.7
Starting...
Not started
Sending command...
Connecting
Sending command...
Disconnected
Connecting
Disconnected (socket error)
Connecting (attempt 1)
Disconnected (socket error)
Connecting (attempt 2)
Disconnected (socket error)
Connecting (attempt 3)
Disconnected (socket error)
Connecting (attempt 4)
Disconnected (socket error)
Connecting (attempt 5)
Disconnected (socket error)
Connecting (attempt 6)
Disconnected (socket error)
Connecting (attempt 7)
Disconnected (socket error)
Connecting (attempt 8)
Disconnected (socket error)
Connecting (attempt 9)
Disconnected (socket error)
Connecting (attempt 10)
Disconnected (socket error)
Connecting (attempt 11)
Disconnected (socket error)
Connecting (attempt 12)
Disconnected (socket error)
Connecting (attempt 13)
Disconnected (socket error)
Connecting (attempt 14)
Disconnected (socket error)
Connecting (attempt 15)
Disconnected (socket error)
Connecting (attempt 16)
Disconnected (socket error)
Connecting (attempt 17)
Disconnected (socket error)
Connecting (attempt 18)
Sending command...
Disconnected (socket error)
Connecting
Disconnected (socket error)

Apparently is a problem in the comunication via ethernet btw the C5 and the computer. I was testing the connection with WorkVisual to check if comunication was working, and it just work when the IP of the PC is set up in Automatic, but it dosn´t work when I try to use the IP that appear in network configuration of the SmartPAD of the robot. 

Then when I have to set up the IP of the robot in RoboDK it just ping with the automatic IP but not with the one that the controller shows. I don´t know if this a problem related with the type of windows installed in C5 (Windows 11) or what, but before I did the same with a C4 compact and I could perform the comunication without problems.

Rhe log of RoboDK shows the following: 
Code:
Disconnected
Stopped
Starting robot driver: C:/RoboDK/api/robot/kukabridge.exe
Using RoboDK RoboDK v5.6.7
Starting...
Not started
Sending command...
Connecting
Sending command...
Disconnected
Connecting
Disconnected (socket error)
Connecting (attempt 1)
Disconnected (socket error)
Connecting (attempt 2)
Disconnected (socket error)
Connecting (attempt 3)
Disconnected (socket error)
Connecting (attempt 4)
Disconnected (socket error)
Connecting (attempt 5)
Disconnected (socket error)
Connecting (attempt 6)
Disconnected (socket error)
Connecting (attempt 7)
Disconnected (socket error)
Connecting (attempt 8)
Disconnected (socket error)
Connecting (attempt 9)
Disconnected (socket error)
Connecting (attempt 10)
Disconnected (socket error)
Connecting (attempt 11)
Disconnected (socket error)
Connecting (attempt 12)
Disconnected (socket error)
Connecting (attempt 13)
Disconnected (socket error)
Connecting (attempt 14)
Disconnected (socket error)
Connecting (attempt 15)
Disconnected (socket error)
Connecting (attempt 16)
Disconnected (socket error)
Connecting (attempt 17)
Disconnected (socket error)
Connecting (attempt 18)
Sending command...
Disconnected (socket error)
Connecting
Disconnected (socket error)
#6
Since 2020, new KUKA controllers use Windows 10 IOT. If your controller uses Windows 10 or 11, port 7000 may be occupied by the nginx process. In this case, follow the instructions in section Changing the port number:
https://robodk.com/doc/en/Robots-KUKA.html#C3ChangePort
#7
Finally, I was able to establish the connection. I want to clarify that my KR C5 is mounted in a dualcab that has an Ethernet port on the cabinet door, which is used to connect with WorkVisual and goes directly to the XF1 interface. It was impossible for me to establish the connection with this port, so I tried accessing with the robot's IP through one of the other 8 ports the robot has (XF1 ....XF8). I managed to establish the connection through the XF5 interface, replacing KukaBridge with Kukaproxy and using the apiKuka driver in RoboDk.

Thank you so much.
  




Users browsing this thread:
1 Guest(s)