How Can the Standard Interface Programs for KUKA Robots be Run in the Background?

You are currently viewing the documentation for the latest version (2.1.0). 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.

For KUKA robots, a Standard Interface program can contain a primary program and a secondary program. When the primary program calls the secondary program, the primary program is considered a foreground program, while the secondary program is considered as a background program that needs to automatically run after the robot system starts. This guide mainly describes how to create a Standard Interface background program for a KUKA robot and allows the program to run in the background.

Before you begin, please ensure that KUKA Standard Interface communication is set up.

Create and Run Background Program

  1. Select the user group icon and switch to Expert. The default password is kuka.

    faq16 1
  2. Select the R1 folder and select New in the lower-left corner to create a new folder for storing the program file. In this example, the folder is named test.

    faq16 2
  3. In the test folder, select No objects on the right and select New in the lower-left corner to open the Template selection interface.

    faq16 3
  4. In the Template selection interface, double-select Submit to create a Submit program that can be run in the background.

    faq16 4
  5. Enter the name of the program and click ENTER to save the name. In this example, the program is named mmtrigger.

    faq16 5
  6. Select the newly-created mmtrigger.sub program file and then select EDITOR to write the program.

    faq16 6

    For example, the sample code shown in the following figure indicates to trigger the Mech-Vision project to run and obtain the vision result.

    faq16 7
  7. Select S, open the All SUBMIT interpreters interface, and then select Display/Assign to go to the configuration interface.

    faq16 8
  8. Select Current display/assignment, select mmtrigger for EX1, and then select Select/Start to start the mmtrigger program.

    faq16 9
  9. Select Cold start configuration, select mmtrigger for EX1, and then select the Autostart checkbox for the mmtrigger program.

    faq16 10

Create and Run Foreground Program

  1. Open the test folder, select mmtrigger, and then select New in the lower-left corner to open the Template selection interface.

    faq16 11
  2. In the Template selection interface, double-select Modul to create a module program. In this example, the program is named MainModul.

    faq16 12
  3. Select the newly-created MainModul.src program file and then select EDITOR to write the program.

    faq16 13

    For example, the sample code in the following figure indicates that the foreground program calls the background program when $FLAG[10] is set to TURE.

    faq16 14
  4. After ensuring that the background program can run normally, you can run the foreground program. For more information, see Run Calibration Program.

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.