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 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, making it callable in the organizational resource.
    • Select Create as Spawnable to create a task callable from a main task and can 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 you can assign to the task. If only a single motion group exists, this feature does not appear.

      You can assign or unassign motion groups 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.



Result:

Generate a Robot Task from a Trajectory

You can generate a robot task for a robot from one or more and trajectories with predefined parameters.

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 the Preferences in the Create Operations dialog box.
    This displays the Trajectories List dialog box.

    See: Using Auto Populate in Create Operations Dialog box
  4. 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. You can manually add trajectories, regardless of the trajectory type or the Robot and reorder or remove existing ones.
    Note: Enabling Create Operations with Target Name in Accessing and Customizing Preferences, Robot Spot Simulation: Point Fastening results in creating spot operations being automatically named after the target.

  5. Click OK to generate the task.

Result:

Spot Resource Trajectory and Variant Type

A drop down to filter the type of Spot Trajectories is located in General Parameters. This option is displayed only for Spot Operation.

Context: For Spot operation and Variant device tasks.

  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 Spot Operation from the list and select the Spot Trajectory Type.


  4. Select the Preferences in the Create Operations dialog box.
    This displays the Trajectories List dialog box.

    See: Using Auto Populate in Create Operations Dialog box
  5. Select Motion Parameters, the Start Move and End Move available options are None, Tag Target, and Home Positions.
    • If Tag Target is selected, a Robot Motion with Tag target is created before the first Spot Operation (for Start Move) and after the last Spot Operation (for End Move) associated with the trajectory.
    • If a Home Position is selected, a Robot Motion with Home target is created before the first Spot Operation (for Start Move) and after the last Spot Operation (for End Move) associated with the trajectory.
    • If None is selected, no Robot Motion is created.