Using NRL Teach

Teach provides a user interface for interactively authoring, simulating, and debugging a robot program. NRL Teach as provided in Robot Programming adds an interface to Teach that displays the text of the native robot language (NRL) program, and allows you to directly edit and insert NRL instructions. There are 2 options for editing the NRL program: in the NRL view with the program displayed when downloaded or with the parameter values displayed as columns in the Teach table.

This task shows you how to:

Inserting Instructions Using NRL Teach

Before you begin: You have for the robots included in your scenario.
  1. From the Programming section of the action bar, click NRL Teach .
    You are prompted to select a device or task.
  2. Select a robot task.

    The NRL Teach panel appears, and displays the instructions for the task in the native robot language.



    Menus along the top of the NRL Teach panel list all the available instructions that can be inserted in the task for the selected robot manufacturer.



    All fields shown within brackets <> are editable after the instruction is inserted.

    The Edit shortcut toolbar also appears, and provides commands to modify and delete the selected target.

    Note: Click to switch between NRL view (displaying native instructions) and Nominal view (displaying robot motions).
  3. From the menu toolbar, select an instruction.

    The selected instruction is appended in the Activities list, and its fields are editable.



  4. Edit the fields as required. Use and to move the instruction to the proper line in the Activities list.
    After editing a field, select OK and Cancel to activate the instruction. Click OK to apply the edited fields, or Cancel to revert any changes you have made.
  5. Optional: You can also select an existing instruction in the Activities list.

    The robot moves to the selected target, and all fields of the selected instruction become editable.

Result:

Comparing Tasks

This procedure describes how to compare two tasks with the same motion groups belonging to the same robot in NRL Teach.

Once you activate this mode, you can select a second task and can view both the tasks simultaneously.

  1. Click NRL Teach .
    You are prompted to select a device or task.
  2. Click Compare Mode and select tasks that belong to the same robot or motion group.
    You can view both tasks simultaneously. You can edit both tasks independently and cut/copy/paste instructions between the two tasks.

    If there is a mismatch in the Robot or Motion group, then it ignores Compare Mode and opens a new Teach window for the robot.
    Note: Compare Mode View remains available when clicking Switch to Nominal View .

Customizing the Teach Layout with NRL Columns

The many NRL instruction parameters can be embed as columns in the Teach table. This allows you to mix and match standard DELMIA parameter columns with NRL columns in the table view.

This feature is available for the following translators:

  • Fanuc
  • Motoman
  • Kuka

  1. Enable the Teach Layouts and Custom Columns preferences.

    Note: In this example for KUKA, specify the Teach Columns for KUKA in Preferences / Robot Simulation / Teach Column Layout.

    See also Concepts.
  2. Import our predefined layouts from <installation folder>\win_b64\startup\OLP\NRLTeachLayouts.xml.

    You can also modify the layouts to customize them as you like.

  3. Specify the appropriate application on the robot in the controller parameters.
    This is required if you have layouts that are only displayed for a specific application like spot welding.

    Then you are able to see the column values in teach. Then you can double-click any cell value to edit.