Creating a New Device Task

This procedure describes how to create a new device task. As a resource-oriented process dedicated to robot programming, a task is a linear sequence of activities called operations. Each operation can contain a motion activity and a set of actions.

This task shows you how to:


Before you begin: To perform this procedure, the selected robot must not be a member of more than one motion group.

Create a New Device Task

You can create a new device task.

  1. Click New Device Task .
  2. Select the device under which you want the task to appear.

    The Create Task as Service dialog box appears.
  3. You can now:
    • Enter a Name for the new task, or use the default name provided.
    • Select Create Task as Service to create a task that is not local to the selected resource and can be called in the organizational resource.
    • Select Create as Spawnable to create a task that can be called from a main task and run in parallel with the calling task.
    • When multiple motion groups exist under the active controller, Select Motion Groups displays a list of all possible motion groups that can be assigned to the task. If only a single motion group exists, this feature does not appear.

      Motion groups can be assigned or unassigned by selecting the Assigned cell for each respective motion group in the list.

  4. Click OK.
    The new task is created and appears in the Behavior side tab of the immersive browser.



Generating a Task from a Trajectory

You can generate a task for a robot based on tags and trajectories you select.

When you add a tag, tag group, or trajectory to a robot task, you automatically add an operation to the robot task. Each operation contains a Move To activity that references the tag.

  1. Click Generate Robot Task .
    You are prompted to select a robot.
  2. Select a robot in the work area.
    The Create Operations dialog box appears, and you are prompted to select a trajectory.
  3. Select a tag, tag group, or trajectory that you want to add to the task.
    Trajectories are added to the list in the Create Operations dialog box as they are selected.
  4. Click OK to generate the task.