Set up Standard Interface Communication with KUKA (KSS 9.x)

You are currently viewing the documentation for the latest version (2.2.2). To access a different version, click the "Switch version" button located in the upper-right corner of the page.

■ If you are not sure which version of the product you are currently using, please feel free to contact Mech-Mind Technical Support.

This guide shows how to load the Standard Interface program files to a KUKA robot (KSS 9.x), and set up the Standard Interface communication between Mech-Mind Vision System and the robot.

In this section, you will load the Standard Interface program and the configuration files to the robot system to establish the Standard Interface communication between the vision system and the robot.

Preparation

Check Hardware and Software Versions

The models and versions listed below are tested and can be used. For other models and versions, you may refer to this guide for operation. If any issues occur, please contact Mech-Mind Technical Support.

  • Number of robot axes: 6

  • Controller system software version: KSS 9.2 or above

    Click here for instructions

    On the teach pendant, select Menu  System Information  Info to view the system version.

    kss version 1
    kss version 2
  • Add-on software package: Ethernet KRL (V6.1.2.12 or above)

    Click here for instructions

    On the teach pendant, select Menu  System Information  Options to view the version information of Ethernet KRL.

    krl version
  • Offline programming and simulation software (iiQWorks.Sim): iiQWorks.Sim 1.2 or above needs to be installed on the IPC or computer used for loading the program files.

The operations on the teach pendant in this section are demonstrated with KSS 9.2. The operations may vary with different versions of the teach pendant.

Set up the Network Connection

Connect the Hardware

Plug one end of the network cable into the network port of the IPC, and plug the other end into port XF4 of the robot controller.

xf4 port

Switch to the Administrator User Group

  1. Tap the User/SPOC display.

  2. Select the “Administrator” user group.

  3. Enter the password (the default password is “kuka”), and then click Login to confirm.

Set the IP Address

  1. On the teach pendant, select Menu  System  System Settings  Network to open the System Settings interface.

  2. Select Network  KLI, confirm that the hardware port XF4 is connected, set Allocation to Manual (static), and then specify the IP address and Subnet mask.

    ip setting
  3. In the IPC, set the IP address of the IPC.

    The IP address of the IPC must be in the same subnet as that of the robot. That is, the network portions and subnet masks of both IP addresses must be the same. For example, 192.168.100.169/255.255.255.0 and 192.168.100.170/255.255.255.0 are in the same subnet.

Connect the Robot via iiQWorks.Sim

  1. Open the iiQWorks.Sim software on the IPC.

  2. Plug one end of the network cable into the network port of the IPC, and plug the other end into port XF1 of the robot controller. The IPC will automatically obtain the network port information.

    xf1 port
  3. Select Open  Online to view the online robots.

    connect online robot
  4. Double-click the robot to be connected. In the dialog box that appears, click OK to complete the connection.

    connect online robot confirm

Set up Robot Communication Configuration

  1. Open Mech-Vision. You may enter different interfaces. Create a new solution according to the instructions below.

    • If you have entered the Welcome interface, click New blank solution.

    create solution 1
    • If you have entered the main interface, click File  New Solution on the menu bar.

    create solution 2
  2. Click Robot Communication Configuration on the toolbar of Mech-Vision.

  3. In the Robot Communication Configuration window, complete the following configurations.

    1. Click the Select robot drop-down menu, and select Listed robot. Click Select robot model, and select the robot model that you use. Then, click Next.

    2. In the Communication mode section, select Standard Interface for Interface service type, TCP Server for Protocol, and HEX (little-endian) for the protocol format.

    3. It is recommended to set the port number to 50000 or above. Ensure that the port number is not occupied by another program.

    4. Under Robot integration, click Open program folder.

      The files needed for subsequent loading will be copied from this folder. Do not close this folder.
    5. (Optional) Select Auto enable interface service when opening the solution.

    6. Click Apply.

tcp hex little endian
  1. On the main interface of Mech-Vision, make sure that the Robot Communication Configuration switch on the toolbar is flipped and has turned blue.

    interface service

Prepare Program Files

On the IPC, you can find the program folder in the Communication Component/Robot_Interface/KUKA/KUKA_V9 path in the installation directory of Mech-Vision and Mech-Viz.

If you use another computer to load the program files, copy the program folder from the IPC to that computer first.

The KUKA_V9 folder contains the following files:

  • mm_module.src (program file)

  • mm_module.dat (program file)

  • XML_KukaiiQ_MMIND.xml (network configuration file)

  • MM_COMTEST.src (program file for testing communication)

  • MM_COMTEST.dat (program file for testing communication)

  • sample (the folder for storing example program files)

Load the Program Files to the Robot

  1. In the iiQWorks.Sim software, select Open  Online, and then select the corresponding robot controller.

    load files select controller
  2. In the device list, select KRC5 (actual controller)  Optional packages  iiQKA.EthernetKRL  Ethernet configuration, and then click the Load button in the Properties panel on the right.

    load files load button
  3. In the dialog box that appears, select the XML_KukaiiQ_MMIND.xml file (in the Communication Component/Robot_Interface/KUKA/KUKA_V9 path in the software installation directory), and then click Open.

  4. Under the Ethernet configuration node, click the XML_KukaiiQ_MMIND.xml file, and then change Server IP and Server port in the Properties panel on the right to the IP address and port number of the IPC.

    load files setting ip port
  5. In the Communication Component/Robot_Interface/KUKA/ path in the software installation directory, find the “KUKA_V9” folder and copy the folder with Ctrl + C.

  6. On the menu bar, click the Program menu, and the robot program interface will be displayed. Select Program and paste the “KUKA_V9” folder to the Program directory.

    load files paste files
  7. On the menu bar, select Configuration  Deploy Configuration onto Controller.

    load files deploy controller
  8. In the iiQWorks.Sim Project Deployment dialog box that appears, click Finish.

    load files finish

Test Standard Interface Communication

Before you start, please learn how to switch the operating mode as described below. This will not be repeated in the following sections.

Click the mode selection button and select an operating mode from the drop-down list. T1 stands for the Manual Reduced Velocity mode, and Aut stands for the Automatic mode.

change aut
  1. Following the operations above, switch to the Aut mode.

  2. On the teach pendant, select the MM_COMTEST program under Program/KUKA_V9, and then click Open Program.

    com test select program
  3. Click the first line of the MM_COMTEST program, and then click Block selection to select the program. Then, press the green play button on the left, and the robot program starts to run.

    com test run program
  4. If the communication between the robot and the vision system is successfully established, a related message will be displayed under the Console tab in the log window of Mech-Vision.

    vision center log

Is this page helpful?

You can give a feedback in any of the following ways:

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.