Set up Standard Interface Communication with KUKA
This topic introduces the process of setting up the Standard Interface communication with a KUKA robot.
Check Controller and Software Compatibility
-
Robot: 6-axis KUKA robot
-
Controller model: KUKA KR C4, C5
-
Controller system software version: KSS 8.2, 8.3, 8.5 or 8.6
-
Add-on software package: Ethernet KRL (V 2.2.8, 3.0.3 or 3.1.2.29) The correspondence between KSS and Ethernet KRL versions is as follows:
KSS version Ethernet KRL version 8.2 or 8.3
2.2.8
8.5
3.0.3
8.6
3.1.2.29
All teach pendant actions in this chapter are performed on KSS 8.6. The specific steps and menu selections may differ slightly in older versions of system software. |
Set up the Network Connection
Set the IP Address
-
Switch to the Expert mode:
-
Click , and select
to enter the log-on interface. -
Select Expert, enter the password (the default password is kuka), and click Log on.
-
-
Set the IP address:
-
Click , and select
. -
Input an IP address in the same subnet as that of the IPC. Then click Save. Click Yes and OK, respectively, in the next two pop-up windows.
-
-
Restart the robot controller to finish setting the IP address:
-
Click , and select Shutdown to enter the shutdown interface.
-
Click Reboot control PC in the shutdown interface.
-
Set up “Robot and Interface Configuration” in Mech-Vision
-
Click Robot and Interface Configuration in the toolbar of Mech-Vision.
-
Select Listed robot from the Select robot drop-down menu. Click Select robot model to select the robot model that you use. Then click Next.
-
In Communication Option, select Standard Interface for Interface Type, TCP Server and HEX-Little endian for Protocol, and then click Apply.
-
Make sure the Interface Service is started: on the toolbar of Mech-Vision, the Interface Service switch on the far right is flipped and turned to blue.
Load the Program Files
Back up Robot Programs
Make sure you have switched to the expert mode. Otherwise, the flash drive will not show up on the teach pendant. |
-
Plug the flash drive storing the backup file to the controller, and make sure that the flash drive shows up on the teach pendant.
-
Click , select
, and click Yes in the pop-up window to start the backup process. -
The following message is displayed when backup is in process. Once the backup is completed, this message disappears, and a ZIP file is created in the flash drive. Lastly, remove the flash drive.
Prepare the Program Files
Navigate to Mech-Center\Robot_Interface\KUKA
from the installation directory of Mech-Mind Software Suite, and copy the following files to your flash drive.
-
mm_module.src (program file)
-
mm_module.dat (program file)
-
XML_Kuka_MMIND.xml (network configuration file)
Load the Program Files
-
Plug the flash drive into the controller. Select the flash drive on the left panel, and locate the above files.
-
Copy mm_module.src and mm_module.dat and paste them to KRC\R1\mechmind (create one if there is no such a folder). Create a mechmind folder: Click the R1 folder and click New.
Input mechmind for the folder name, and click OK.
-
Select mm_module.src and mm_module.dat, click Edit, and then select Copy.
Long-press and drag to select multiple adjacent files. -
Select the mechmind folder, and click Open.
-
Click Edit. Then select Paste.
-
Copy and paste XML_Kuka_MMIND.xml to
C:/KRC/ROBOTER/Config/User/Common/EthernetKRL
following the above steps. -
Select XML_Kuka_MMIND.xml, and click Open.
-
Select line 4 and click on the left to call out the keyboard. Change the IP address in this line to that of the IPC, and click again to hide the keyboard. Check line 5 to see if the port number is correct. If not, change it to the IPC’s actual port number following the above step.
-
After modifying the parameters, click the close button on the left, and click Yes to save changes.
-
Switch to the Administrator mode following the instructions of Step 2 in IP Address Configuration. Click and select Shutdown.
-
Select Cold start, Reload files, and then Reboot control PC.
-
Click Yes in the pop-up window to restart the robot.
Test Robot Connection
Select the Program and Switch to the AUT Mode
On the teach pendant, open the mechmind folder, select mm_module.src, and press Select.
-
How to switch the mode: Turn the key switch to horizontal, select T1 or AUT in the pop-up dialog box on the screen, and then turn the switch back to vertical.
-
Switch to the T1 mode following the above step. Click O, and click I in the pop-up window to switch the status of Drives to I. If the status of Drives is I at the start, ignore this step.
-
Set an appropriate velocity for the robot before moving it, and observe its motion carefully to avoid accidents. Press the enabling switch (either one of three) on the back of the pendant and the green start button on the front at the same time to move the robot back to P0 position. When the screen displays a message saying Programmed path reached (BCO), release the enabling switch and the green start button.
-
Switch to the AUT mode as described in the above step, and press the start button to run the program (the R icon should turn green).
-
If the robot is connected successfully, the Console tab of Mech-Vision Log panel will display a log.