Supported Features
Instruction Support
Epson Instruction Support
The Epson Translator supports upload and download of all instructions in the DELMIA
Robotics language that are available in the Epson in the SPEL+ language. All features of
the supported instructions support Epson.
The Epson SPEL+ programs consist of logic program files (.PRG) and
target definition files (.PTS). The point file
(.PTS) contains a checksum number that generates by the EPSON
proprietary algorithm, which we cannot replicate.
To solve this issue, on download, we create 2 .PRG files, this
contains the DELMIA task logic, and the other create-point .PRG
file contains SPEL+ functions (such as P0 = XY(0.000, 565.001, 554.518, 0.000,
-90.000, -90.000)) to generate the point file
(.PTS)).
Execute the create-point .PRG program on the EPSON controller or
EPSON RC+ simulator that uses the SPEL+ XY function to generate the
point file.
On upload, we process both the .PRG and the
.PTS files to create tasks and the robot motion targets defined
in the .PTS files.
The following table summarizes the level of support for each DELMIA Instruction by the
DELMIA Epson Translator and DELMIA Simulation.
| DELMIA Instruction |
Level of Support |
Epson Instructions |
Comments |
| Robot Motion |
Support |
GO, MOVE, ARC3 |
Joint, Linear, and Circular moves
Robot and Aux axis targets
|
| Goto |
Support |
GOTO Label |
|
| Condition |
Support |
IF THEN ELSE ENDIF |
|
| Test |
Support |
Select |
|
| For |
Support |
FOR-NEXT |
|
| While-Do |
Support |
DO [{WHILE|UNTIL} condition] … LOOP |
The condition must be true for the statements inside the Loop to
execute. |
| Do-While |
Support |
DO … LOOP [{WHILE|UNTIL} condition] |
Statements inside the Loop execute once even if not satisfying the
condition. |
| Run (procedure) |
Support |
CALL |
|
| Assign |
Support |
Variable=Expression |
Assignment |
| Assign |
Support |
On 1
On 1, 0.5
Off 1
Off 1, 0.5
|
Boolean IO set Output 1 to On
set Output 1 to On for 0.5 sec (Pulse)
Set Output 1 to Off
set Output 1 to Off for 0.5 sec (Pulse)
|
| Wait |
Support |
WAIT time
WAIT Sw(1)
WAIT Sw(1), 0.5
|
Pure delay
Wait for IO
Wait for IO with TimeOut
|
| Break |
Support |
Exit Do
Exit For
|
Inside a For or While loop. |
| Custom |
Support |
Any unsupported instruction |
|
| ' (Comment) |
Supported |
|
|
- Unsupported Instructions
- Any instruction that is not supported on download generates a warning message. Any
SPEL+ instruction that is not supported on upload generates a warning and creates a
custom instruction so that it can download.
- Custom
- A custom instruction text downloads into the task the same. On upload, any
unsupported instruction is created as a custom instruction, with the name of the
custom instruction being the Epson instruction's text.
- Assign
- A DELMIA assign instruction is translated into an Epson On or Off if the destination
variable is an output signal, otherwise it is translated into an Epson assign
instruction.
- Wait
- A DELMIA wait instruction is translated into an Epson Wait. It can be a pure time
delay, or wait for an Input condition to be satisfied, with or without a TimeOut.
- Run (Procedure)
-
A DELMIA Run instruction, where the Run is calling a procedure, translates into an
Epson CALL function instruction.
In an Epson program file, there can be several functions (routines). The first
function’s name must be the same as the program file name. If the first function is
named PICK1, then the program file name must be PICK1.PRG. Any function in a program
file can be called from another program file.
In 3DX, we use a ‘#’ symbol in a task name (for example
<subroutine_name#program_name>) to indicate that the task downloads as an Epson
function named <subroutine_name> in the program file <program_name>.PRG. 3DX
tasks not named in the format <subroutine_name#program_name> download to separate
program files.
On upload the program files being called but not selected for upload are searched
in the same folder as the program file selected for upload. If they do not exist, a
blank task is created for the Run instruction to be valid.
- GoTo
-
A DELMIA Goto instruction translates into an Epson Goto
instruction. A label, which is the target of the Goto
instruction, is required on another instruction. In the SPEL+ language, the label,
denoted by an identifier followed by a colon (“:”), is its
own an instruction.
On upload the label is specified on a DELMIA instruction created for the Epson
instruction following the label instruction.
SPEL+ Labels start with a letter of the alphabet and is up to 32 characters long.
The characters that may be used are the alphanumeric and the underscore
(“_”).
- Robot Motion
-
Joint, linear, and circular moves are supported and are downloaded as
Go, Move, and
Arc3 instructions respectively.
- Condition
- A DELMIA Condition instruction translates into an Epson SPEL+ IF-THEN-[ELSE]-[ENDIF]
instruction. The expressions in the DELMIA Condition must conform to the Epson IF
logical expressions. You may also use the Logical operations
And, Or, and
Xor.
- Test
- A DELMIA Test instruction translates to an Epson Select-Case instruction.
- For-loop
- A DELMIA For-loop instruction translates to an Epson For-Next instruction. DELMIA
restricts the Step to be either 1 or -1.
- While-Do and Do-While
- A DELMIA While-Do instruction translates to Epson Do [{While|Until} condition] …
Loop instruction, and a DELMIA Do-While instruction translates to Epson Do … Loop
[{While|Until} condition].
- Break
- A DELMIA Break instruction inside a For-loop or While-loop is translated to Epson
Exit For or Exit Do instruction.
Controller Parameters
The Epson Controller Parameters create as a stand-alone applicative profile called
Epson Controller Profile. The parameters for this release.
| Parameter Name |
Usage |
Measure |
Default Value |
Description |
| ProgramFileEncoding |
Download and Upload |
String |
UTF-8 |
The parameter specifies the encoding of the robot program to upload or to
create. Commonly used are ISO-8859-1 (West European), and SHIFT_JIS
(Japanese) |
| CommentWaitSignal |
Upload |
Boolean |
False |
The Wait signal instructions create as Custom instructions (that is, commented
out) if selecting this parameter as True. |
| MaxProgramLength |
Download |
Integer |
0 |
Max number of instructions allowed per robot task when downloading. If the task
has more instructions than the number specified, it 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 does not split. |
| DownloadAsRobotMotion |
Download |
Boolean |
False |
Used to output nonsupported motion types (anything other
than robot motion) as a robot motion. |
| DownloadTargetType |
Download |
String |
|
Used to output a specified target type
"JOINT, CARTESIAN, or the default
(as specified in V6). |
| PartGrabbed |
Upload |
String |
|
Use this parameter to specify the grabbed part in an uploaded grab
instruction. |
| TagPrefix |
Upload |
String |
|
Use this parameter to add a prefix to all tag names during upload. |
Position Variables
To Enable Position Variable Support
The position variable support in Epson Translator is disabled by default.
To enable position variable support, select the Tools action bar.
You might need to expand it by clicking the right arrow, then select
Macros.

Click Macro libraries, select PLM VSTA
projects in Library types, and Add existing
library.

In the search bar, enter vsta: DELMIA Epson Translator. Select the
search result (Ver2334 or latter), click
Close, then Edit.
This opens Microsoft Visual Studio. Select a menu View
-> Solution Explorer, double-click EpsonOptions.vb to
open. Change Boolean ENABLE_POSITION_VARIABLE to
True.
Selecting menu Build -> Build DELMIA Epson Translator_vst-*.
Enables Position variable support.
What Are Supported with Position Variables
Defining Epson points are in a .PTS file with point Labels
(sLabel). In Epson robot programs, use labels if required in
places points.
The DELMIA Epson Translator supports Labels by uploading them as aliases of position
variables, and use aliases when using targets.
This table summarizes the support when involving position variables.
| Epson SPEL+ Instructions |
DELMIA Instructions |
Comments |
|
P2 = P1
P(2) = P(1)
Tag2 = Tag1
|
P[2] := P[1]
P[2] := P[1]
Tag2 := Tag1
|
Assignments using simple point variables, point variables of array elements,
or Epson point Labels, which upload as Aliases. |
|
CX(P1) = 100
CY(P1) = CY(P1) + 200
CW(P1) = CW(P1) + 10
|
P[1].x := 100
P[1].y := P[1].y + 200
P[1].w := P[1].w + 10
|
Epson point (target) Cartesian component modifications using functions CX,
CY, CZ, CU, CV, and CW. |
|
P2 = XY(X, Y, Z, U, V, W)
Note: X, Y, Z in mm; U, V, W in degrees.
|
P[2] := Cartesian(x, y, z, w, p, r)
Note: x, y, z in m; w, p, r in radians.
|
Epson XY function, which defines a target. |
| RealNum = Dist(P1, P2) |
RealNum := dist(P[1], P[2]) |
Epson function Dist that calculates the distance
between to target points. |
| Go P1 -Y(50) :Z(100) |
InlineTargetCalc := P1
InlineTargetCalc.y := InlineTargetCalc.y - 50
InlineTargetCalc.z := 100
RobotMotion with tag target InlineTargetCalc
|
Epson motion with point alterations. |
[1] Epson, RC700, and SPEL+ are or may be trademarks or registered trademarks of
Epson or its subsidiaries in the U.S. and in other countries.
|