Troubleshooting

This section explains how to determine, diagnose, and fix issues that you might encounter when you use KUKA robot drivers with RoboDK.

Checking the availability of port 7000

1.Robots KUKA - Image 29KUKAConfigurationUser group choose Expert (password: kuka)

2.Robots KUKA - Image 30KUKAStart-upServiceMinimize HMI (the windows screen will appear)

3.Open command shell with STARTAll programs AccessoriesCommand Prompt        
or START
Runcmd

4.Request a list of all connections and listening ports using the command:

netstat -a -b -n -o -p TCP | findstr :7000

5.If the response did not contain any strings, then port 7000 is free and can be used for driver operation. Subsequent steps can be skipped.

6.If the response to the command from step 4 looked like this:

TCP    0.0.0.0:7000           0.0.0.0:0              LISTENING       1840

7.The last number in the line above is the process identifier (PID). It can be used to get information about the process name using the following command (you should use your number instead of 1840):

tasklist /fi "PID eq 1840"

8.The result of the tasklist command contains information about the process that is listening on port 7000. Sample output:

Image Name                     PID Session Name        Session#    Mem Usage

========================= ======== ================ =========== ============

c3bridge.exe                  1840 Console                    1      5,912 K

9.If the port is occupied by KukavarProxy.exe or c3bridge.exe processes, then the system is ready to work with the selected driver. If the port is occupied by some other application, it is necessary to terminate it or change the port number for the C3 Bridge Server.

Uninstalling legacy driver

If you have been using KUKAVARPROXY and wish to upgrade to C3 Bridge Server, no specific uninstallation procedure is required. Minimize the KUKA HMI, close the KUKAVARPROXY and make sure it is not loaded automatically at system startup (no shortcut in STARTAll programsStartup). It is not necessary to delete the KUKAVARPROXY executable file.

Configuration error

Procedures for automatic or manual configuration of the control system may fail. Most often this is due to the inability to overwrite the $config.dat file. This file can only be edited by a user with advanced privileges (expert). An additional condition is to stop all interpreters: robot and submit. To stop the robot interpreter, simply cancel any selected program, or select no programs if the control system has just been loaded. To cancel the submit interpreter, use the HMI as shown in the figures below for KRC2 and KRC4 systems, respectively:

Robots KUKA - Image 31

Robots KUKA - Image 32

In case the $config.dat file is still locked after stopping all interpreters, you can completely stop the execution of the software part of the robot control system. In the KRC2 system, click on the rectangular area next to the status indicators (S I R) and click the Exit button:

Robots KUKA - Image 33

In the KRC4 system, click on the green robot icon in the tray area and select Stop KRC:

Robots KUKA - Image 34

After stopping the control software, the file C:\KRC\ROBOTER\KRC\R1\System\$config.dat can be modified using any text editor. Perform a reboot of the operating system to apply the changes.