The legacy KUKA driver is calledapikuka并与KUKAVARPROXY一起使用。这solution is now obsolete and is being discontinued by RoboDK. If you want to use this driver, make sure it is selected in theMore optionssection of theConnection to Robotwindow.
Follow these steps to set up the legacy driver for KUKA:
1.Connect a mouse (optional, but strongly recommended).
It is possible to plug USB devices to the teach pendant or the controller (reboot is not required).
Alternatively, it is possible to establish a remote desktop connection.
These steps can also be accomplished using the teach pendant’s touch screen and the virtual keyboard.
9.Using the KUKA HMI application it is possible to open the main menu using the KUKA button, at the top left of the screen:
a.KUKA➔Configuration➔User group➔chooseAdministrator(password:kuka)
b.KUKA➔Start-up➔Service➔Minimize HMI(the windows screen will appear)
10.Copy the KUKAVARPROXY folder on the Desktop (or somewhere in the controller PC)
11.Allow port 7000 for TCP/UDP communication (this step is not required on KUKA KRC2 controllers):
a.Select the HMI.
b.KUKA➔Start-up➔Network configuration➔Advanced
c.NAT➔Add port➔Port number 7000
d.Set permitted protocols:tcp/udp
12.Start the KUKAVARPROXY.EXE program on the robot controller (running on Windows).
13.The following steps allow starting the driver automatically on the controller on reboot (recommended):
a.Create a shortcut of theKUKAVARPROXY.EXEfile
b.Select WindowsSTART➔All programs➔Right click startup➔Open
c.Paste the shortcut in the startup folder
The KUKAVARPROXY server is now ready. You can leave this program running. This server allows exchanging global variables from the KUKA controller to the remote PC.
The next steps are to set up the main program that will handle the robot movements:
1.Add the declaration of the following global variables:
To do so, locate and modify the file “KRC:\R1\SYSTEM\$CONFIG.DAT” via KUKA HMI. The folder “KRC:\R1\” can also be accessed from theC:\drive at the following Windows path: “C:\KRC\ROBOTER\KRC\”.
INT COM_ACTION=0
INT COM_ACTCNT=0
REAL COM_ROUNDM=0
REAL COM_VALUE1=0
REAL COM_VALUE2=0
REAL COM_VALUE3=0
REAL COM_VALUE4=0
DECL E6AXIS COM_E6AXIS
DECL FRAME COM_FRAME
DECL POS COM_POS
DECL E6POS COM_E6POS
2.Copy the KUKA SRC programRoboDKsyncVER.srcto the folderKRC\R1\PROGRAM. TheVERsuffix in the file name denotes the version of the program (for example,RoboDKsync543.src).
3.Manually start theRoboDKsyncVER.srcprogram to make the robot listen for commands coming from the computer.
If theRoboDKsyncVER.srcprogram is not running, RoboDK will still be able to read the robot joints if the KUKAVARPROXY program is running in the robot controller.