KUKA Setup Instructions

This section introduces the process of loading the robot master-control program onto a KUKA robot.

The process consists of the following steps:

Please have a flash drive ready at hand.

Check Controller and Software Compatibility

Compatibility requirements are as follows:

  • 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 correspondance 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

  • Mech-Mind Software Suite: latest version recommended

Note

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

Hardware Connection

Plug the Ethernet cable into:

  • An Ethernet port on the IPC

  • The corresponding port on the controller:

    • KR C4 Compact: X66 port

    • Other KR C4 controllers: KLI port

    • KR C5: XF5 port

    ../../../../_images/port1.png
    ../../../../_images/port2.png
    ../../../../_images/port3.png

IP Address Configuration

To allow communication between the IPC and the robot controller, the IP addresses of the two must be in the same subnet.

  1. Check the IP address of the IPC: please use the ipconfig command in Command Prompt or PowerShell to check the IP address.

  2. Switch to expert mode:

    1. Press on robot_icon, and then select Configuration ‣ User group.

      ../../../../_images/user_group_1.png
    2. Select Expert, enter the password (the default password is kuka), and press on Log on.

      ../../../../_images/user_group_2.png
  3. Press on robot_icon, and then select Start-up ‣ Network configuration.

    ../../../../_images/user_group_3.png
  4. Input an IP address in the same subnet as that of the IPC, and then press on Save. In the next two pop-up windows, press on Yes and OK, respectively.

    ../../../../_images/user_group_4.png
    ../../../../_images/user_group_5.png
  5. Restart the robot to finish setting the IP address:

    1. Press on robot_icon, and select Shutdown.

      ../../../../_images/user_group_6.png
    2. Press on Reboot control PC.

      ../../../../_images/user_group_7.png

Load the Program Files

Attention

Before operating the robot, please follow the backup instructions below to back up the system.

Backup

Note

Make sure you have switched to expert mode on the teach pendant. For instructions, see step 2 in IP Configuration.

  1. Plug the flash drive for storing the backup file to the controller, and make sure that the flash drive shows up on the teach pendant.

    ../../../../_images/backup_1.png
  2. Press on robot_icon, and then select File ‣ Archive ‣ USB (cabinet).

    ../../../../_images/backup_2.png
  3. After selecting USB (cabinet), select All in the last column.

    ../../../../_images/backup_3.png
  4. Press on Yes in the pop-up window to start the backup process.

    ../../../../_images/backup_4.png
  5. 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.

    ../../../../_images/backup_5.png

Prepare the Files

The program files are stored in the installation directory of Mech-Mind Software Suite.

Navigate to xxx\Mech-Mind Software Suite-x.x.x\Mech-Center\Robot_Server\Robot_FullControl\kuka\kuka_new, and copy all the program files to your flash drive.

Load the Files to the Robot

Note

Make sure you have switched to expert mode on the teach pendant. For instructions, see step 2 in IP Configuration.

  1. Plug the flash drive to the controller.

  2. Select the flash drive, and locate the above files.

  3. Select mm_motion.xml, press on Edit, and then select Copy.

    ../../../../_images/load_the_files_1.png
  4. Navigate to C:/KRC/ROBOTER/Config/User/Common/EthernetKRL, press on Edit, and then select Paste.

    ../../../../_images/load_the_files_2.png
  5. Navigate back to the flash drive, and repeat steps 3 and 4 for mm_status.xml.

  6. Navigate to KRC:/R1, and press on New.

    ../../../../_images/load_the_files_3.png
  7. Input mechmind for the folder name, and press on OK.

    ../../../../_images/load_the_files_4.png
  8. Navigate back to the flash drive, and copy and paste the other 5 files to KRL:/R1/mechmind.

    Note

    Long-press and drag to select multiple adjacent files.

    ../../../../_images/load_the_files_5.png

Set Autostart for Background Program

Note

Make sure you have switched to expert mode on the teach pendant. For instructions, see step 2 in IP Configuration.

  1. Press on s_icon and then Display/Assign.

    ../../../../_images/further_config_1.png
  2. Press on Cold start configuration, and then press on the text box to the right of SYS.

    ../../../../_images/further_config_2.png
  3. Select the blank in the drop-down menu, and then press on the check-box in Autostart to uncheck it.

    ../../../../_images/further_config_3.png
  4. Similarly, select mm_server from the drop-down menu for EX1, and make sure Autostart is checked.

    ../../../../_images/further_config_4.png
  5. Press on Current display/assignment, press on the text box to the right of SYS, and then press Deselect.

    ../../../../_images/further_config_5.png
  6. Press on the text box to the right of SYS again, and select the blank in the drop-down menu.

    ../../../../_images/further_config_6.png
  7. Similarly, select mm_server from the drop-down menu for EX1, and press on Select/Start.

    ../../../../_images/further_config_7.png

Select Foreground Program

  1. Open the mechmind folder, select mainmodule.src, and then press on Select.

    ../../../../_images/further_config_8.png
  2. The following should appear on the screen.

    ../../../../_images/further_config_9.png

Run Program in AUT Mode

  1. Turn the key switch to horizontal, select T1 on the screen, and then turn the switch back to vertical.

    ../../../../_images/further_config_10.png
  2. Check the icon to the right of s_icon:

    • If it looks like i_icon, then skip this step.

    • If it looks like o_icon, then press on it and select i_button in the drop-down window.

    ../../../../_images/further_config_11.png
  3. Press on the enabling switch (either one of three) on the back of the pendant and start_icon on the front at the same time to move the robot back to Home position. When the screen displays a message saying Programmed path reached (BCO), and r_icon_yellow turns red, release the enabling switch and start_icon.

    Note

    Set an appropriate velocity for the robot before moving it, and observe its motion carefully to avoid accidents.

    ../../../../_images/further_config_12.png
  4. Switch to AUT mode as described in step 10, and press on start_icon to start running the master-control program (r_icon_red should turn green).

    ../../../../_images/further_config_13.png

Test Robot Connection

Configure Robot in Mech-Viz

  1. Open Mech-Viz, click New project to create a new project.

  2. Select the robot model in use in the next page.

  3. Save the project by pressing Ctrl + S.

  4. In the toolbar, change the Vel. (velocity) and Acc. (acceleration) parameters to 5%.

  5. Right-click the project name in Resources and select Autoload Project.

Configure Settings in Mech-Center

  1. Open Mech-Center and click on Deployment Settings.

  2. Go to Robot Server, and make sure Use robot server is checked.

  3. Check if the robot model displayed next to Robot type in Mech-Viz project matches the one in use.

  4. Set the Robot IP address, and click Save.

Connect to Robot in Mech-Center

  1. Click Connect Robot on the toolbar.

  2. The robot is successfully connected if:

    • A message saying Robot: server connected to the robot shows up in the Log panel, and

    • A robot icon with the robot model shows up in the Service Status panel.

Move the Robot

  1. In Mech-Viz, click Sync Robot on the toolbar to synchronize the pose of the real robot to the simulated robot. Then, click Sync Robot again to disable the synchronization.

  2. Click the Robot tab in the lower right, and change the joint position of J1 slightly (for example, from 0° to 3°). The simulated robot will move accordingly.

  3. Click Move real robot, the real robot should move accordingly.

Attention

When moving the robot, please pay attention to safety hazards. In the case of an emergency, press the emergency stop button on the teach pendant!