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

For FANUC 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 FANUC robot and allows the program to run in the background.

Before you begin, please ensure that FANUC Standard Interface communication is set up.
  1. Create a program that can be run in the background. For example, the sample code shown in the following figure indicates to trigger the Mech-Vision project to run and obtain the vision result.

    faq17 1
  2. Select the program and select Detail. Then, change all entries for Group Mask to * to indicate that this program does not occupy any motion group and set Ignore Pause to ON to indicate that this program will ignore external pause signals.

    faq17 2
  3. Create a foreground program file and write the program code based on the actual workflow. For example, the sample code in the following figure indicates that the foreground program calls the RUN command to run the background program when F[1] is set to ON.

    The RUN command triggers the background program to run but does not stop the foreground program.
    faq17 3
  4. For information about how to run the foreground program, 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.