Supported Features
Instruction Support
Universal Robots Instruction Support
The Universal Robots Translator supports upload and download of all instructions in the
DELMIA Robotics language that are available in the Universal Robots PolyScope language.
There is also partial support for some of the URScript instructions. All features of the
supported instructions that apply to Universal Robots are supported.
The translation result of the tasks will be in URP-files, which you can load into the
Universal Robots controller. URP-files contain instructions. INSTALLATION-files contain
data declarations, robot setup, and configuration. Download INSTALLATION-files using a
template file. See the following INSTALLATION-file template download description for more
information. On upload, store any unsupported Universal Robots PolyScope and URScript
instructions as custom instructions so that you can download the program again without
loss of data. On download, these instructions convert back to their original format.
The following table summarizes the level of support for each Universal Robots Instruction
by the DELMIA Universal Robots translator and DELMIA simulation. Any instruction, which
does not appear in this list, uploads as a V6 Custom instruction and will not be used in
the simulation.
Supported Input Data Types
|
Supported |
File Type |
Content Format |
Content Description |
| .URP |
Yes |
Gzip |
XML with optional embedded URScript |
Stores a fully functional, fully defined copy of the robot program behavior.
It can include references to .installation and .variables files |
| .INSTALLATION |
Yes |
Gzip |
XML with optional embedded URScript |
Stores all configuration of the workcell, including UR-generated UIDs and
metadata. Stores tool configurations, as well as geometric features
defined. |
| .SCRIPT |
Yes* |
Text |
URScript |
Stores a fully functional copy of the robot program |
| .VARIABLES |
Yes* |
Text |
URScript |
Stores all installation variables defined and required by the UR
program |
| .TXT |
No |
Text |
Simplified URScript |
Provides a simplified view of the SCRIPT file by omitting nonfunctional lines
such as comments |
Supported Instructions
This table summarizes the level of support for each DELMIA instruction by the Universal
Robots translator. The following table is a detailed description of how to translate each
instruction.
| DELMIA Instruction |
Level of Support |
Universal Robots Instructions |
Comments |
| Goto |
Not Supported |
NA |
|
| Condition |
Supported |
<If> |
|
| For |
Supported |
<Loop type="counting"> |
A for instruction is translated into a <Loop> instruction of counting
type. |
| While do |
Supported |
<Loop type="While"> Or <Loop type="Forever"> |
Depending on the while condition, the loop can be of type "While" or
"Forever." A "While" loop must have an associated condition to it, whereas a
"Forever" loop will run indefinitely or until the program reaches a "Halt"
instruction. |
| Return |
Supported |
Return |
|
| Break |
Not Supported |
NA |
|
| Run (service) |
Not Supported |
NA |
|
| Run (procedure) |
Supported |
<CallSubProgram> <SubProgram\> </CallSubProgram> |
Define the called subprogram on the CallSubProgram instruction or elsewhere.
|
| Procedure |
Supported |
<MainProgram> Or <SubProgram>
Or <Script> |
Only mainprograms, subprograms, and scripts within the "BeforeStart" special
sequence are accepted as procedures. Threads and other scripts within other
special sequences will not be uploaded. |
| Custom |
Supported |
Folder instruction Or Any unsupported instruction |
Prefix folder instructions by: "Start of folder <FolderName>" at beginning
of folder, and "End of folder <FolderName>" at end of folder. Group all
instructions contained between "Start" and "End" into a Folder object named
FolderName. |
| Grab/Release |
Not supported |
NA |
|
| Tool attach/detach |
Not Supported |
NA |
|
| Assign |
Supported |
<Assignment> Or <Set> |
A DELMIA assign instruction can be either an assignment or a set instruction
in the Universal Robots space. An <Assignment> instruction generates for
non-IO-related assignments. A <Set> instruction creates for IO assignments.
|
| Wait |
Supported |
<Wait> |
Two types of wait instructions are accepted: timed wait and DI wait. |
| Robot motion |
Supported |
<Move> MoveJ MoveL MoveC MoveP* |
All joint motion type moves are downloaded as joint target. All linear/circular
motion type moves are downloaded as cartesian target.
MoveP instructions are defined as having a constant speed and blend radius.
However, because of restrictions in DELMIA’s RobotMotion, only constant speed
will be applied.
|
| Spot Operation |
Not supported |
NA |
Downloaded as standard robot motion with warning |
| Arc Operation |
Not supported |
NA |
Downloaded as standard robot motion with warning |
| Dispense/Sealant Operation |
Not supported |
NA |
Downloaded as standard robot motion with warning |
| Paint Operation |
Not supported |
NA |
Downloaded as standard robot motion with warning |
|
<urp file>\InitVariablesNode
e
Task
With assignments
var_1 = 5
var_2 = 6
|
Supported |
<InitVariablesNode>
<variables>
<variable name="var_1">
<expression>
<ExpressionChar character="5"/>
</expression>
</variable>
<variable name="var_2">
<expression>
<ExpressionChar character="6"/>
</expression>
</variable>
</variables>
</InitVariablesNode>
|
Variables can be type integer, double, Boolean and string. This element is
only used in the E controller. |
| $(Comment) |
Upload only |
|
Script file only. Comments exist only in the script file and are not
exported. |
InitVariablesNode – This is an XML element that is only in the
Universal Robots E controller. The element is used to initialize variables before the URP
main task execution. The element uploads and downloads using a task with the name <URP
file>\InitVariablesNode. The task contains the assignment instructions found in the
InitVariablesNode element.
| Universal Robots Instructions |
Support |
DELMIA Instruction Type |
Comments |
| MoveJ |
Supported |
Robot Motion |
delOlpJointMotion |
| MoveL |
Supported |
Robot Motion |
delOlpLinearMotion |
| MoveP |
Partial support |
Robot Motion |
delOlpLinearMotion Currently only speed OR distance interpolations are
supported |
| MoveC |
Supported |
Robot Motion |
delOlpCircularMotion |
| Wait |
Supported |
Wait |
|
| Set |
Supported |
Assign |
|
| Popup |
Not supported |
|
Uploads as a custom instruction |
| Loop |
Supported |
Assign |
|
| SubProgram |
Supported |
|
A subroutine becomes a robot task |
| Call |
Supported |
Run |
|
| Assignment |
Supported |
Assign |
|
| If |
Supported |
|
|
| Script |
Partial support |
Procedure* |
Only when placed on the "BeforeStart" special sequence. Support subject to
URScript language support |
| Halt |
Not supported |
|
Uploads as a custom instruction |
| Folder |
Supported |
Custom |
Uploads as two custom instructions: one to indicate the beginning of the
folder, and the other to indicate its end |
| Timer |
Supported |
Timer |
|
| Thread |
Not supported |
|
Not supported on initial implementation* |
- Unsupported Instructions
- Any instruction that is not supported on download generates a warning message. Any
instruction that is not supported on upload also generates a warning, and a custom
instruction is created. This custom instruction is downloaded so that the original NRL
command is still intact.
- Condition
- A condition instruction is translated into a Universal Robots <If> instruction,
including an <If type="If"> and an <If type="Else">. If a condition is followed
by another condition instruction with an NRL text indicating "ElseIf," then the
instruction type will be of type="ElseIf".
- For
-
A for instruction is translated into a Universal Robots <Loop type="Counting">
instruction.
- While Do
- A While Do instruction is translated into a <Loop type="Forever"> or a <Loop
type="Condition"> depending on whether the loop executes indefinitely or not.
- Custom
- Except for custom instructions that determine a folder structure within a Procedure
using "Start of folder <FolderName>" and "End of folder <FolderName>", other
custom instructions are parsed in XML form and a serialization is attempted. If the
serialization of the XML form of the custom instruction is successful, it is appended
to its parent task. Ff not, it is discarded and an error/warning is generated. On
upload, any unsupported instruction is converted into a custom instruction by copying
its XML form onto the instruction’s display text.
- Assign
- A DELMIA assign instruction is translated into either an <Assignment> or a
<Set> instruction. If the variable being assigned is not an output variable, an
<Assignment> instruction is generated. If the variable to assign is a Digital
Output, then a <Set> instruction is created.
- Wait
- A DELMIA wait instruction is translated into a Universal Robots <Wait>
instruction. If the instruction is a timed wait, then the type attribute of the
Universal Robots instruction is <Wait type="Sleep">. If the instruction waits for a
digital input, its type is "DigitalInput."
- Return
- Return instructions serve a program control usage in DELMIA. Those instructions do
not include return arguments, although local output IO can be assigned to a variable
to create a return output. In that case, the translator will attempt to match return
instructions with the return variable to create a return argument instruction in
URScript.
- Run (Procedure)
- A DELMIA run instruction, where the run is calling a procedure of type SubProgram,
is translated into a Universal Robots <CallSubProgram> instruction. The procedure
being called should have a task profile associated with it, and be of the task type
Subprogram. If the procedure has a task profile but is not of type Subprogram, or if
it does not have any associated task profile, it is converted into a subprogram.
- Robot Motion
- The following are Universal Robots standard robot motion commands. The following
table gives basic information on the level of support for different motion
options.
| Universal Robots Motion Option |
Support Level |
DELMIA Equivalent |
Description |
Translation Note |
| MoveJ |
Supported |
Joint Move |
Joint Move |
The original representation of the target is preserved throughout the
upload and download processes. All positions will be uploaded as tag
targets. |
| Move |
Supported |
Linear Move |
Linear Move |
The original representation of the target is preserved throughout the
upload and download processes. |
| MoveP |
Partial Support |
Linear Move with speed accuracy profile and flyby=On |
Linear move with constant speed and blend radius |
Currently only speed interpolation is supported. Blend radius will not
be constant. |
| MoveC |
Supported |
Circular Move |
Circular move |
A MoveP instruction precedes a circular move. Therefore, a Linear Move
with an associated speed-based accuracy profile and flyby turned on is
required before a circle move. |
| Robots MoveL and MoveC instructions using a
<featurefeatureName="<plane>" class="GeomFeatureVariable"/> |
Supported |
Linear/Circular move with objectframe profile. |
Linear/Circular move with objectframe profile. |
Universal feature plane defined in the installation file using 3 points.
Move which references a plane will contain the feature xml element. Moves
relative to a plane always contain this xml element:
<poseInFeatureCoordinates pose=<x,y,z,rot1, rot2, rot3>
The values are relative to the plane/objectframe profile.
|
|
kinematicsFlags="6"
“4”
“2”
“0”
“3”
“1”
“7”
“5”
|
Supported |
Config_1 – NUT
Config_2 – FUT
Config_3 - NDT
Config_4 – FDT
Config_5 – NDB
Config_6 – FDB
Config_7 – NUB
Config_8 – FUB
|
Configuration name |
Robot motion kinematics flag mapped to Config_1-Config_8 in the order
shown. If config names (NUT, FUT, etc…) are set for the robot those will
be used instead of Config_1-8.
|
- poseInFeatureCoordinates and plane
features – The Universal Robots installation file has plane features, which have 3
points defining the location and orientation of a reference plane. These planes
can be used as reference frames for Universal Robots MoveL and MoveC instructions
using a poseInFeatueCoordinates element. The planes are
uploaded as objectframe profiles and targets, which reference these planes are
uploaded relative to the objectframe profile. Objectframe profiles are not
downloaded to the installation file.
- kinematicsFlags – This is an XML attribute that defines
the configuration for wrist flip/noflip, elbow up/down, and base front/back. The
kinematics flag is mapped to the robotlib model configuration using the names
shown previously. Note that all currently existing Universal robot models UR3,
UR5, UR10, UR10e, and UR16e will be updated to use the configuration names NUT,
FUT, NDT, FDT, NDB, FDB, NUB, and FUB. Data that uses the old Config_1-8 name is
also supported.
- INSTALLATION File – downloaded using a template file.
If the selected
template directory contains INSTALLATION-files, they update.
Currently only tool profile information is added to
the INSTALLATION-file.
URCaps support for DELMIA Robotics upload/download
URCaps is a feature of Universal Robots that allows the creation of custom commands. As
the commands can be created by you, we cannot support the full simulation of all possible
URCaps commands. To accommodate the use of this feature in customers’ Universal Robots
programs, we have added support for upload and download of these commands as Custom
Instructions in DELMIA.
The upload to the custom instruction format is set up so that it can be re-downloaded
per-instruction. This allows you to copy and paste a known URCaps custom instruction
within tasks for a robot which supports the URCap in question. As the modules are
customizable and user-created, the translator does not attempt to store and create the
URCap module itself, only the instruction within the task, so the resulting program only
works properly if loaded onto a robot which has the used URCaps module already
installed.
The URCaps statements are structured in the program as multiple commands, which results
in multiple comments. Contributed elements have a start and end Custom Instruction, while
Data and State elements are single-line declarations which must be between the start and
end of the Contributed element they depend on. This structure must be preserved after
upload to avoid errors on download.
Expressions
If an error occurs converting an expression on upload, the instruction containing the
expression uploads as a custom instruction. If an error occurs converting an expression on
download, this skips the instruction containing the expression. This prevents compile errors
in the generated program. In both cases, a warning generates.
Expression Conversion
Universal Robots expressions have many of the operators supported in DELMIA.
| Category |
Description |
Universal Robots Operator |
DELMIA Operator |
| Binary Integer/Double |
Plus |
+ |
+ |
| Minus |
- |
- |
| Multiply |
* |
* |
| Division |
/ |
/ |
| Integer Division |
NA |
NA |
| Modulus |
NA |
MOD |
| Power |
NA |
** |
| Unary |
Negative |
- |
- |
| Not |
Not |
Not |
| Bitwise Not |
NA |
~ |
| Binary Comparison |
Equals |
=, ≟, == |
= |
| Not Equals |
≠, <> |
<> |
| Less Than |
< |
< |
| Less Than or Equal |
≤, <= |
<= |
| Greater Than |
> |
> |
| Greater Than or Equal |
≥, >= |
>= |
| Binary Boolean |
And |
And |
And |
| Or |
Or |
Or |
| XOR |
NA |
Xor |
| Bitwise And |
NA |
& |
| Bitwise Or |
NA |
| |
| Left Shift |
NA |
<< |
| Right Shift |
NA |
>> |
| Bitwise XOR |
NA |
^^ |
| Other |
Grouping |
(…) |
( ... ) |
| conditional (if) |
If ... then ... else ... |
If ... then ... else ... |
There are no Universal Robots operators that do not have a DELMIA equivalent. Universal
Robots expressions can contain functions, however, if any functions are encountered the
expression will be in error and uploaded as a custom instruction.
Controller Parameters
Universal Robots translator uses the following controller parameters during upload,
download, or both, of Universal Robots programs.
| Parameter |
Measure |
Purpose |
Default Value |
| ProgramFileEncoding |
String |
This parameter is used to set the encoding used in .SCRIPT files. (for example.
Shift-JIS) |
|
| MaxProgramLength |
Integer |
Max number of instructions allowed per robot task when downloading. If the task
has more instructions than the number specified, this splits into multiple programs
during translation. This is useful if the program size exceeds the maximum allowed
size for your controller. If the value is 0, the task will not be split. |
0 |
| PartGrabbed |
String |
Use this parameter to set the grabbed part in an uploaded grab
instruction. |
|
| TagPrefix |
String |
Use this parameter to add a prefix to all tag names during upload. |
|
| CommentWaitSignal |
Boolean |
Used to comment wait signals during upload. |
False |
| DownloadAsRobotMotion |
Boolean |
Used to output nonsupported motion types (anything other than robot motion) as
a robot motion. |
False |
| DownloadTargetType |
String |
Used to output the specified target type "JOINT," "CARTESIAN" or the default
(as set in V6). |
|
[1] URScript and PolyScope are or may be trademarks or registered trademarks of
Universal Robots or its subsidiaries in the U.S. and in other countries.
|