Creating a Tag Position Variable
Click Play to watch the video: 
-
In the Behavior
side tab, double-click a trajectory or tag group.

The Trajectory Editor dialog box appears.

-
To assign resources to the trajectory, click Assign or Unassign Motion
Group to/from Trajectory
.
The Resource Assignment dialog box appears.

-
If there are no resources in the list, you can select a resource in the tree or work area.
The resource appears in the list once selected.

-
Close the Resource Assignment dialog box, and from the
Trajectory Editor, assign a Reference Frame to the tag
group.
The tag's coordinates update relative to the Reference Frame assigned.
- Select a robot resource in the Sequencing side tab.
-
From the commands at the bottom of the panel, click Create Global
Var
.
The Global Variable dialog box appears.
-
Define the type as Position to create a position variable
associated with a tag.
The Position type in the dialog has 3 options. The User Interface changes based on the option selected. The 3 options are:
- Position (target or offset)


- Position (tool)


- Position (object frame)


The target or offset type replaces the current position type.
If Tool or Object Frame Position data types are selected:
- The position Type field (None, Tag, Joint) does not display.
- Configs, Turns, Aux Joints, Redundant angle does not display.
- Apply dofs option does not display and Jog is not used.
- For a tool and object frame, elements cannot be empty and a selection is required.
- Ref Frame populated from Computation Reference Frame object frame profile attribute or set automatically from the tool profile type.
- The object frame or tool profile is chosen from a list that displays a list of all
object frames or tool profiles that can be used.
- It cannot be empty.
- default object frames and tool profiles cannot be used as variables.
- Non-RTCP tool profiles are not listed.
- Stationary tool profiles are not listed.
- A profile cannot be associated with more than 1 variable.
- All elements of an array variable are prepopulated with a valid selection.
Note: In all other places (example: variable list, IO monitor) only the data type position lists. Targets, tools, and object frames all use the same position data type.Additional data fields for position variables display.

- Position (target or offset)
-
Choose tag as the position variable type and select a Tag from the
Trajectory Editor or work area.
The tag information is populated in the Global Variable window.


-
Select OK.
The tag position variable is created.