Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 sub programs conversationally (without writing Python robot code “by hand”).

...

  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.

Widget Connector
overlayyoutube
_templatecom/atlassian/confluence/extra/widgetconnector/templates/youtube.vm
width400px
urlhttps://www.youtube.

...

com/watch?v=FXfEcXKEWyM
height300px

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.