Creating Variables

You can create variables at the resource level or inside a task.

This task shows you how to:


Before you begin: To perform this procedure, you must have an organizational resource containing a robot, a tool device, or a human.

Create a Global Variable

You can associate variables to a resource.

  1. Select a resource and open the Sequencing tab.
  2. From the commands at the bottom of the panel, click Create Var .
    The Global Variable dialog box appears.
  3. Provide the parameters to create a variable of the integer type.
  4. Expand the content of Resource Entities and select the Var tab.

    The new variable is listed as a resource entity.

Create a Local Variable

You can create a variable as a task parameter.

  1. Select a task.
  2. Right-click the task and select Edit.
    The Sequencing Editor appears. At the bottom of the Usable frame, the commands to create local entities are available.
  3. Click Create Var .
    The Variable dialog box appear.
  4. Provide the parameters to create a variable of the Boolean type, and click OK.
  5. In the Usable frame, expand the content of the Variables row.

    The new variable is now available to be used in the Sequencing Editor.

    Tip: If a variable has been defined at the resource level, it appears in the list prefixed by the resource icon.