Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Sub programs are like subroutines in CNC programming. They allow you to organize robot programs into small, logical blocks of code that may be called one or more times during the main program.

The Sub Program tab allows you to create and call subprograms conversationally (without writing Python robot code “by hand”).

Create a Sub Program

  1. In the program area, select a program block (if the Add to Program button is inactive).

  2. Select the New Subprogram radio button.

  3. In the New Subprogram text box, type a name for the sub program.

  4. Select Add to Program to add the task to the program.

Call a Sub Program

  1. In the program area, select the block after which you wish to call the sub program.

  2. Select the Call Subprogram radio button.

  3. From the Call Subprogram drop-down menu, select the name of the sub program to call.

  4. Select Add to Program to add the task to the program.

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.