Skip to main content
Skip table of contents

Register and manage variables

In Task Builder/Writer, variable, array and pose variables can be registered for use during program creation.
There are three types of variables are supported which is System Variable, Global Variable and Define variable.

The variable types and their respective registration screens are as follows.

Variable type

Registration Screen

Reference screen image

System Variable

  • Workcell Manager → System Variable tab

  • Task Builder/Writer → Variable tab → System Variable → Edit & Add

image-20240513-070015.png
image-20240513-070921.png

Global Variables

  • Task Builder/Writer → GlobalVariables command → Property tab → Edit & Add

image-20240513-071136.png

Define

  • Task Builder/Writer → Add Define command → Property tab → Edit & Add

image-20240513-071329.png

Depending on the use case, different variable types can be registered, and registration screens for each variable type provide the same functionality.

image-20240514-051155.png

  1. Add new variable: Select the variable option(Variable, Array, Pose) to register, enter the variable name and value, and click the "Add" button to register a new variable. The newly registered variable will be added to the end of the current list.

  2. Edit: Select a registered variable and activate the Edit mode check box to modify the variable name and value. After making the changes, click the "Apply" button to apply the modifications. The edited variable will move to the end of the list after applying the changes.

  3. Row Up: Move the selected variable's single row up by one line.

  4. Row Down: Move the selected variable's single row down by one line.

  5. Multi-Select: Select multiple variables at once and use them in conjunction with the copy, cut, and delete functions.

  6. Copy: Copy the selected variables and temporarily save to the clipboard.

  7. Cut: Cut the selected variables and temporarily save to the clipboard.

  8. Paste: Paste the variables saved in the clipboard below the currently selected variable. In Task Builder/Writer, copying or cutting variables actions are allowed between different variable types.

  9. Delete: Select the variables to delete from the variable list and click the Delete button to delete them.

  10. Sort by variable name: Ascending order / Descending order / Clear sorting

    • An example of sorting in ascending order:

image-20240513-072324.png
  1. Sort by variable value: Variable value will be sorted by Type in Ascending order / Descending order / Clear sorting

    • When sorted by variable value in ascending order, the order of variable types will be Variable → Array → Joint Pose → Task Pose.

    • When sorted by variable value in descending order, the order of variable types will be Task Pose → Joint Pose → Array → Variable

    • An example of sorting in descending order by variable value:

image-20240513-072406.png


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.