Enabling RRS-II Automatic Download during Simulation

This task describes how to enable RRS-II Automatic Download and the required OLP Translator customization to support it.

This page discusses:

General Information

When a robot connects to an RRS-II VRC Server and the Robot Task simulation invokes, a native program gets loaded to and executed by the VRC module.

RRS-II Automatic Download is an optional RRS-II simulation capability that causes:

  1. The automatic generation of the native program corresponding to the simulated Robot Task using OLP Download,
  2. The transfer of OLP-generated program files to the VRC using RRS-II File Transfer,
  3. And the loading and activation of the native program by the VRC before simulation and VRC native program execution starts.

RRS-II Automatic Download requires a custom OLP Translator that generates a special data file. This file instructs 3DEXPERIENCE, which files to transfer to the VRC and the details of the native program file to load, activate, and execute.

Enabling RRS-II Automatic Download

The OLP Translator that invokes during RRS-II Automatic Download you must first import it into the 3DEXPERIENCE database and assigned to the robot’s Controller Type using the OLP Translator Preferences.

Enable RRS-II Automatic Download in one of two ways [*]:

  1. Enabling RRS-II Automatic Download for all simulated Tasks of the robot: If selecting the RRS-II option for the robot’s Controller Type in the OLP Translator Preferences, RRS-II Automatic Download always gets invoked for an RRS-II connected robot. Use this whenever any of its tasks is simulated.

  2. Enabling RRS-II Automatic Download for a specific Robot Task: Use the Applicative Profile to create an instance of the RRS-II Main Task Profile. Its main_task attribute indicates which tasks of the robot to download during RRS-II Automatic Download when the Robot Task whose first move has this profile instance specified on it simulates:
    • _main_task=* (asterisk character): RRS-II autocomplete download this robot task.
    • _main_task=<Robot Task name>: RRS-II autocomplete download the named robot task.

    Note: The RRS-II option for the robot’s Controller Type does not need selecting when using option 2.


[*] For an RRS-II connected robot, when invoking Task simulation inside of Teach, RRS-II simulation (hence RRS-II Automatic Download) invokes only if selecting the Activate RRS-II Motion Planner During Teach/OLP RRS-II Simulation Preferences option.

OLP Translator Customization for RRS-II Automatic Download

RRS-II Automatic Download works only if the OLP Translator that gets invoked generates a special data file named download_log_file on the AST structure.

As shown below, this is a text file made up of two sections:

  • A FILE_TRANSFER section that lists the names and destination folders on the VRC of all files that needs to transfer to the VRC using RRS-II file transfer.
  • A VRC_PROGRAM section that designates the program file and program name that the VRC needs to load, activate, and start executing. Use the = character as the field separator in both sections. Here is an example download_log_file:



  1. Names and destination folders (on VRC) of files to transfer to the VRC.
  2. Program file and program name for the VRC to load, activate, and execute.

It is best if the OLP Translator generates the files listed in the FILE_TRANSFER section also on the AST structure for performance reasons. However, if they are not on the AST structure, 3DEXPERIENCE assumes that they are actual files generated on the 3DEXPERIENCE file system. It then attempts the file IO to read their contents before transferring them using RRS-II file transfer calls.

Also, OLP translation works slightly different for RRS-II automatic download versus a standard download:

  1. Commented out instructions in the sequence editor omits from the download and therefore ignored during RRS-II simulation.

  2. The following selection ignores Wait instructions during simulation in teach. Ignoring a wait instruction also omits it from the download and then ignores it during RRS-II simulation also.

  3. Called tasks are automatically downloaded: If simulating the task and it calls other tasks, those tasks also get downloaded hence simulate when called.
  4. You can download Additional system variables.