Epson EZ Modules 1-Axis Robots User manual

Category
Robotics
Type
User manual
Rev.1 EM208S4467F
EPSON RC+ 7.0
SPEL
+
Language
Reference
Ver.7.5
EPSON RC+ 7.0 (Ver.7.5) SPEL
+
Language Reference Rev.1
EPSON RC+ 7.0 (Ver.7.5) SPEL+ Language Reference Rev.1 i
EPSON RC+ 7.0 (Ver.7.5)
SPEL
+
Language Reference
Rev.1
Copyright 2012-2020 SEIKO EPSON CORPORATION. All rights reserved.
ii EPSON RC+ 7.0 (Ver.7.5) SPEL+ Language Reference Rev.1
FOREWORD
Thank you for purchasing our robot products.
This manual contains the information necessary for the correct use of the EPSON RC+ 7.0
software.
Please carefully read this manual and other related manuals before installing the robot
system.
Keep this manual handy for easy access at all times.
WARRANTY
The robot and its optional parts are shipped to our customers only after being subjected to
the strictest quality controls, tests, and inspections to certify its compliance with our high
performance standards.
Product malfunctions resulting from normal handling or operation will be repaired free of
charge during the normal warranty period. (Please contact the supplier of your region for
warranty period information.)
However, customers will be charged for repairs in the following cases (even if they occur
during the warranty period):
1.
Damage or malfunction caused by improper use which is not described in the manual,
or careless use.
2.
Malfunctions caused by customers’ unauthorized disassembly.
3.
Damage due to improper adjustments or unauthorized repair attempts.
4.
Damage caused by natural disasters such as earthquake, flood, etc.
Warnings, Cautions, Usage:
1.
If the robot or associated equipment is used outside of the usage conditions and product
specifications described in the manuals, this warranty is void.
2.
If you do not follow the WARNINGS and CAUTIONS in this manual, we cannot be
responsible for any malfunction or accident, even if the result is injury or death.
3.
We cannot foresee all possible dangers and consequences. Therefore, this manual cannot
warn the user of all possible hazards.
EPSON RC+ 7.0 (Ver.7.5) SPEL+ Language Reference Rev.1 iii
TRADEMARKS
Microsoft, Windows, Windows logo, Visual Basic, and Visual C++ are either registered
trademarks or trademarks of Microsoft Corporation in the United States and/or other
countries. Pentium is a trademark of Intel Corporation. Other brand and product names are
trademarks or registered trademarks of the respective holders.
TRADEMARK NOTATION IN THIS MANUAL
Microsoft® Windows® 8 Operating system
Microsoft® Windows® 10 Operating system
Throughout this manual, Windows 8 and Windows 10 refer to above respective operating
systems. In some cases, Windows refers generically to Windows 8 and Windows 10.
NOTICE
No part of this manual may be copied or reproduced without authorization.
The contents of this manual are subject to change without notice.
Please notify us if you should find any errors in this manual or if you have any comments
regarding its contents.
MANUFACTURER
CONTACT INFORMATION
Contact information is described in SUPPLIERS in the first pages of the following
manual:
Robot System Safety and Installation Read this manual first
iv EPSON RC+ 7.0 (Ver.7.5) SPEL+ Language Reference Rev.1
SAFETY PRECAUTIONS
Installation of robots and robotic equipment should only be performed by qualified
personnel in accordance with national and local codes. Please carefully read this manual
and other related manuals when using this software.
Keep this manual in a handy location for easy access at all times.
WARNING
This symbol indicates that a danger of possible serious
injury or death exists if the associated instructions are not
followed properly.
CAUTION
This symbol indicates that a danger of possible harm to
people or physical damage to equipment and facilities
exists if the associated instructions are not followed
properly.
Table of Contents
EPSON RC+ 7.0 (Ver.7.5) SPEL+ Language Reference Rev.1 v
Summary of SPEL+ Commands 1
System Management Commands ................................................................ 1
Robot Control Commands ............................................................................ 2
Torque Commands ........................................................................................ 7
Input / Output Commands ............................................................................. 7
Point Management Commands .................................................................... 9
Coordinate Change Commands ................................................................. 10
Program Control Commands ....................................................................... 11
Program Execution Commands .................................................................. 12
Pseudo Statements ..................................................................................... 12
File Management Commands ..................................................................... 13
Fieldbus Commands .................................................................................... 14
Numeric Value Commands ......................................................................... 14
String Commands ....................................................................................... 15
Logical Operators ........................................................................................ 15
Variable Commands .................................................................................... 16
Security Commands .................................................................................... 16
Conveyor Tracking Commands ................................................................... 16
Force Sensing Commands .......................................................................... 17
DB Commands ............................................................................................ 17
PG Commands ............................................................................................ 17
Collision Detection Commands ................................................................... 17
Parts Consumption Commands ................................................................... 18
Simlator Commands..................................................................................... 19
SPEL+ Language Reference 20
SPEL+ Error Messages 793
Appendix A: SPEL+ Command Use Condition List 929
Appendix B: Precaution of Compatibility 939
B-1: Precaution of EPSON RC+ 6.0 Compatibility .................................... 939
B-2: Precaution of EPSON RC+ 5.0 Compatibility .................................... 949
B-3: Precaution of EPSON RC+ Ver.4.* Compatibility ............................... 960
Table of Contents
vi EPSON RC+ 7.0 (Ver.7.5) SPEL+ Language Reference Rev.1
Appendix C: Commands of EPSON RC+7.0 971
C-1: List of Commands Added EPSON RC+4.0 or Later ........................... 971
C-2: List of Commands Added for Each Version of EPSON RC+ 7.0 ........ 974
C-3: Deletion Commands (Sort by Version) ............................................... 980
Summary of SPEL+ Commands
EPSON RC+ 7.0 (Ver.7.5) SPEL+ Language Reference Rev.1 1
Summary of SPEL
+
Commands
The following is a summary of SPEL+ commands.
System Management Commands
Reset Resets the controller.
SysConfig Displays controller setup.
SysErr Returns the latest error status or warning status.
Date Sets the system date.
Time Sets system time.
Date$ Returns the system date as a string.
Time$ Returns system time as a string.
Hour Displays / returns controller operation time.
Stat Returns controller status bits.
CtrlInfo Returns controller information.
RobotInfo Returns robot information.
RobotInfo$ Returns robot text information.
TaskInfo Returns task information.
TaskInfo$ Returns task text information.
DispDev Sets the current display device.
EStopOn Return the Emergency Stop status.
CtrlDev Returns the current control device number.
Cls Clears the EPSON RC+ 6.0 Run, Operator, or Command window
text area.
Clears the TP print panel.
Toff Turns off execution line display on the LCD.
Ton Specifies a task which shows an execution line on the LCD.
SafetyOn Return the Safety Door open status.
Eval Executes a Command window statement from a program and returns
the error status.
ShutDown Shuts down EPSON RC+ and optionally shuts down or restarts
Windows.
TeachOn Returns the Teach mode status.
WindowsStatus Returns the Windows startup status.
Summary of SPEL+ Commands
2 EPSON RC+ 7.0 (Ver.7.5) SPEL+ Language Reference Rev.1
Robot Control Commands
AIO_TrackingSet Sets the distance tracking function.
AIO_TrackingStart Starts the distance tracking function.
AIO_TrackingEnd Ends the distance tracking function.
AIO_TrackingOn Function Returns the status of the distance tracking function.
AtHome Retunes if the current robot orientation is Home position or not.
Calib Replaces the current arm posture pulse values with the current CalPls
values.
CalPls Specifies and displays the position and orientation pulse values for
calibration.
Hofs Returns the offset pulses used for software zero point correction.
MCal Executes machine calibration for robots with incremental encoders.
MCalComplete Returns status of MCal.
MCordr Specifies and displays the moving joint order for machine
calibration Mcal. Required only for robots with incremental
encoders.
Power Sets / returns servo power mode.
Motor Sets / returns motor status.
MHour Function Returns the accumulated MOTOR ON time of the robot motors.
SFree Removes servo power from the specified servo axis.
SLock Restores servo power to the specified servo axis.
SyncRobots Start the reserved robot motion.
Jump Jumps to a point using point to point motion.
Jump3 Jumps to a point using 3D gate motion.
Jump3CP Jumps to a point using 3D motion in continuous path.
JumpTLZ Jumps to a point using 3D gate motion.
Arch Sets / returns arch parameters for Jump motion.
LimZ Sets the upper Z limit for the Jump command.
LimZMargin Sets / returns the margin for error detection when the operation starts
at the position higher than LimZ value.
Sense Sets / returns the condition to stop the manipulator above the target
coordinate when Sense is specified by Jump command.
JS Returns status of Sense operation.
JT Returns the status of the most recent Jump command for the current
robot.
Go Moves the robot to a point using point to point motion.
Pass Executes simultaneous four joint Point to Point motion, passing near
but not through the specified points.
Pulse Moves the robot to a position defined in pulses.
BGo Executes Point to Point relative motion, in the selected local
coordinate system.
BMove Executes linear interpolation relative motion, in the selected local
coordinate system.
Summary of SPEL+ Commands
EPSON RC+ 7.0 (Ver.7.5) SPEL+ Language Reference Rev.1 3
TGo Executes Point to Point relative motion, in the current tool coordinate
system.
TMove Executes linear interpolation relative motion, in the selected tool
coordinate system.
Till Specifies motion stop when input occurs.
TillOn Returns the current Till status.
!…! Process statements during motion.
Speed Sets / returns speed for point to point motion commands.
Accel Sets / returns acceleration and deceleration for point to point motion.
SpeedFactor Sets / returns speed for point to point motion commands.
Inertia Specifies or displays the inertia settings for the robot arm.
Weight Specifies or displays the weight settings for the robot arm.
Arc Moves the arm using circular interpolation.
Arc3 Moves the arm in 3D using circular interpolation.
Move Moves the robot using linear interpolation.
Curve Defines the data and points required to move the arm along a curved
path. Many data points can be defined in the path to improve
precision of the path.
CVMove Performs the continuous spline path motion defined by the Curve
instruction.
SpeedS Sets / returns speed for linear motion commands.
AccelS Sets / returns acceleration and deceleration for linear motion.
SpeedR Sets / returns speed for tool rotation.
AccelR Sets / returns acceleration and deceleration for tool rotation.
AccelMax Returns maximum acceleration value limit available for Accel.
Brake Turns brake on or off for specified joint of the current robot.
Home Moves robot to user defined home position.
HomeClr Clears the home position definition.
HomeDef Returns status of home position definition.
HomeSet Sets user defined home position.
Hordr Sets motion order for Home command.
InPos Checks if robot is in position (not moving).
CurPos Returns current position while moving.
TCPSpeed Returns calculated current tool center point velocity.
Pallet Defines a pallet or returns a pallet point.
PalletClr Clears a pallet definition.
Fine Specifies and displays the positioning error limits. (Unit: pulse)
FineDist Specifies and displays the positioning error limits (Unit: mm)
FineStatus Function Returns whether Fine or FineDist is used by the integer.
Summary of SPEL+ Commands
4 EPSON RC+ 7.0 (Ver.7.5) SPEL+ Language Reference Rev.1
QP Sets / returns Quick Pause status.
QPDecelR Sets the deceleration speed of quick pause for the change of tool
orientation during the CP motion.
QPDecelS Sets the deceleration speed of quick pause in the CP motion.
CP Sets CP (Continuous Path) motion mode.
Box Specifies and displays the approach check area.
BoxClr Clears the definition of approach check area.
BoxDef Returns whether Box has been defined or not.
Plane Specifies and displays the approach check plane.
PlaneClr Clears (undefines) a Plane definition.
PlaneDef Returns the setting of the approach check plane.
InsideBox Returns the check status of the approach check area.
InsidePlane Returns the check status of the approach check plane.
GetRobotInsideBox Returns a robot which is in the approach check area.
GetRobotInsidePlane Returns a robot which is in the approach check plane.
Find Specifies or displays the condition to store coordinates during motion.
FindPos Returns a robot point stored by Find during a motion command.
PosFound Returns status of Find operation.
WaitPos Waits for robot to decelerate and stop at position before executing
the next statement while path motion is active.
Robot Selects the current robot. (Returns the robot number by Robot
Function)
RobotModel$ Returns the robot model name.
RobotName$ Returns the robot name.
RobotSerial$ Returns the robot serial number.
RobotType Returns the robot type.
TargetOK Returns a status indicating whether or not the PTP (Point to Point)
motion from the current position to a target position is possible.
JRange Sets / returns joint limits for one joint.
Range Sets limits for all joints.
XYLim Sets or displays the permissible XY motion range limits for the robot.
XYLimClr Clears the XYLim definition.
XYLimDef Returns whether XYLim has been defined or not.
XY Returns a point from individual coordinates that can be used in a
point expression.
Summary of SPEL+ Commands
EPSON RC+ 7.0 (Ver.7.5) SPEL+ Language Reference Rev.1 5
Dist Returns the distance between two robot points.
PTPBoost Specifies or displays the acceleration, deceleration and speed
algorithmic boost parameter for small distance PTP (point to point)
motion.
PTPBoostOK Returns whether or not the PTP (Point to Point) motion from a
current position to a target position is a small travel distance.
PTPTime Returns the estimated time for a point to point motion command
without executing it.
CX Sets / returns the X axis coordinate of a point.
CY Sets / returns the Y axis coordinate of a point.
CZ Sets / returns the Z axis coordinate of a point.
CU Sets / returns the U axis coordinate of a point.
CV Sets / returns the V axis coordinate of a point.
CW Sets / returns the W axis coordinate of a point.
CR Sets / returns the R axis coordinate of a point.
CS Sets / returns the S axis coordinate of a point.
CT Sets / returns the T axis coordinate of a point.
Pls Returns the pulse value of one joint.
Agl Returns joint angle at current position.
PAgl Return a joint value from a specified point.
JA Returns a robot point specified in joint angles.
AglToPls Converts robot angles to pulses.
DegToRad Converts degrees to radians.
RadToDeg Converts radians to degrees.
Joint Displays the current position for the robot in joint coordinates.
JTran Perform a relative move of one joint.
PTran Perform a relative move of one joint in pulses.
RealPls Returns the pulse value of the specified joint.
RealPos Returns the current position of the specified robot.
RealAccel Function Returns the Accel value automatically adjusted by OLAccel.
PPls Return the pulse position of a specified joint value from a specified
point.
LJM Function Returns the point data with the orientation flags converted to enable
least joint motion when moving to a specified point based on the
reference point.
AutoLJM Sets the Auto LJM
AutoLJM Function Returns the state of the Auto LJM
AutoOrientationFlag Changes orientation flag of N6-A1000**
AutoOrientationFlag Function Returns the state of the AutoOrientationFlag
AvoidSingularity Sets the Singularity avoiding function
AvoidSingularity Function Returns the state of the Singularity avoiding function
SingularityAngle Sets the singularity neighborhood angle for the singularity
avoiding function
Summary of SPEL+ Commands
6 EPSON RC+ 7.0 (Ver.7.5) SPEL+ Language Reference Rev.1
SingularityAngle Function Returns the singularity neighborhood angle for the singularity
avoiding function
SingularitySpeed Sets the singularity neighborhood speed for the singularity
avoiding function
SingularitySpeed Function Returns the singularity neighborhood speed for the singularity
avoiding function
SingularityDist Sets the singularity neighborhood distance necessary for the
singularity avoiding function.
SingularityDist Function Returns the singularity neighborhood distance necessary for the
singularity avoiding function.
AbortMotion Aborts a motion command and puts the running task in error status.
Align Function Returns point data converted to align robot orientation with the
nearest coordinate axis in local coordinate system.
AlignECP Function Returns point data converted to align robot orientation with a nearest
coordinate axis in ECP coordinate system.
SoftCP Sets / returns SoftCP motion mode.
SoftCP Function Returns the status of SoftCP motion mode.
Here Teach a robot point at the current position.
Where Displays current robot position data.
PerformMode Sets the mode of the robot.
PerformMode Function Returns the robot performance mode number.
VSD Sets the variable speed CP motion of SCARA robots.
VSD Function Returns the variable speed CP motion setting of SCARA robots.
CP_Offset Sets the offset time to start the subsequent motion command when
executing CP On.
CP_Offset Function Returns the offset time to start the subsequent motion command
when executing CP On.
AvgSpeedClear Clears and initializes the average of the joint speed.
AvgSpeed Displays the average of the joint speed.
AvgSpeed Function Returns the average value of the joint speed.
PeakSpeedClear Clears and initializes the peak speed for one or more joints.
PeakSpeed Displays the peak speed values for the specified joint.
PeakSpeed Function Returns the peak speed for the specified joint.
Summary of SPEL+ Commands
EPSON RC+ 7.0 (Ver.7.5) SPEL+ Language Reference Rev.1 7
Torque Commands
TC Returns the torque control mode setting and current mode.
TCSpeed Specifies the speed limit in the torque control.
TCLim Specifies the torque limit of each joint for the torque control mode.
RealTorque Returns the current torque instruction value of the specified joint.
ATCLR Clears and initializes the average torque for one or more joints.
ATRQ Displays the average torque for the specified joint.
PTCLR Clears and initializes the peak torque for one or more joints.
PTRQ Displays the peak torque for the specified joint.
OLAccel Sets up the automatic adjustment of acceleration/deceleration
that is adjusted.
OLRate Display overload rating for one or all joints for the current robot.
LimitTorque Sets / returns the upper torque value in High power mode.
LimitTorque Function Returns the LimitTorque setting value.
LimitTorqueLP Sets / returns the upper limit torque value in Low power mode.
LimitTorqueLP Function Returns the LimitTorqueLP setting value.
LimitTorqueStop Specifies /returns whether or not to stop the robot when torque
reaches the upper limit in High power mode.
LimitTorqueStop Function Returns the LimitTorqueStop setting value.
LimitTorqueStopLP Specifies / returns whether or not to stop the robot when torque
reaches the upper limit in Low power mode.
LimitTorqueStopLP Function Returns the LimitTorqueStopLP setting value.
Input / Output Commands
On Turns an output on.
Off Turns an output off.
Oport Reads status of one output bit.
Sw Returns status of input.
In Reads 8 bits of inputs.
InW Returns the status of the specified input word port.
InBCD Reads 8 bits of inputs in BCD format.
Out Sets / returns 8 bits of outputs.
OutW Simultaneously sets 16 output bits.
OpBCD Simultaneously sets 8 output bits using BCD format.
MemOn Turns a memory bit on.
MemOff Turns a memory bit off.
MemSw Returns status of memory bit.
MemIn Reads 8 bits of memory I/O.
MemOut Sets / returns 8 memory bits.
MemInW Returns the status of the specified memory I/O word port.
Each word port contains 16 memory I/O bits.
MemOutW Simultaneously sets 16 memory I/O bits.
Summary of SPEL+ Commands
8 EPSON RC+ 7.0 (Ver.7.5) SPEL+ Language Reference Rev.1
Wait Wait for condition or time.
TMOut Sets default time out for Wait statement.
Tw Returns the status of the Wait condition and Wait timer interval.
Input Receives input data from the display device and stored in a
variable(s).
InReal Reads an input data of 2 words (32 bits) as a floating-point data
(IEEE754 compliant) of 32 bits.
Print Display characters on current display window.
Line Input Input a string from the current display window.
Input # Allows string or numeric data to be received from a file,
communications port, or database and stored in one or more
variables.
Print # Outputs data to the specified file, communications port, database,
or device.
Line Input # Reads data of one line from a file, communication port, database,
or the device.
Lof Checks whether the specified RS-232 or TCP/IP port has any
lines of data in its buffer.
SetIn For Virtual IO, sets specified input port (8 bits) to the specified
value.
SetInW For Virtual IO, sets specified input word (16 bits) to the specified
value.
SetSw For Virtual IO, sets specified input bit to the specified value.
IOLabel$ Returns the I/O label for a specified input or output bit, byte, or
word.
IONumber Returns the I/O number of the specified I/O label.
IODef Returns whether the specified I/O label is defined.
OpenCom Open an RS-232 communication port.
OpenCom Function Acquires the task number that executes OpenCom.
CloseCom Close the RS-232C port that has been opened with OpenCom.
SetCom Sets or displays parameters for RS-232C port.
ChkCom Returns number of characters in the reception buffer of a
communication port
OpenNet Open a TCP/IP network port.
OpenNet Function Acquires the task number that executes OpenNet.
OutReal Output the output data of real value as the floating-point data
(IEEE754 compliant) of 32 bits to the output port 2 words (32
bits).
CloseNet Close the TCP/IP port previously opened with OpenNet.
SetNet Sets parameters for a TCP/IP port.
ChkNet Returns number of characters in the reception buffer of a network
port
Summary of SPEL+ Commands
EPSON RC+ 7.0 (Ver.7.5) SPEL+ Language Reference Rev.1 9
WaitNet Wait for TCP/IP port connection to be established.
Read Reads characters from a file or communications port.
ReadBin Reads binary data from a file or communications port.
Write Writes characters to a file or communication port without end of
line terminator.
WriteBin Writes binary data to a file or communications port.
InputBox Displays a prompt in a dialog box, waits for the operator to input
text or choose a button, and returns the contents of the box.
MsgBox Displays a message in a dialog box and waits for the operator to
choose a button.
RunDialog Runs an EPSON RC+ dialog from a SPEL
+
program.
LatchEnable Enable / Disable the latch function for the robot position by the
R-I/O input.
LatchState Function Returns the latch state of robot position using the R-I/O.
LatchPos Function Returns the robot position latched using the R-I/O input signal.
SetLatch Sets the latch function of the robot position using the R-I/O input.
AIO_In Function Reads analog value form analog I/O input channel.
AIO_InW Function Reads one word input data from analog I/O input channel.
AIO_Out Output analog value on the analog I/O output channel.
AIO_Out Function Returns the output state of analog I/O output channel.
AIO_OutW Output the one word data to analog I/O output channel.
AIO_OutW Function Returns the output state by one word of analog I/O output
channel.
AIO_Set Output the speed information to analog I/O output channel.
AIO_Set Function Returns setting information of robot speed output which is set
on optional analog I/O output channel.
Point Management Commands
ClearPoints Clears all point data in memory.
LoadPoints Loads point data from a file in memory.
SavePoints Saves point data to a file in memory.
ImportPoints Imports a point file into the current project for the specified robot.
ExportPoints Exports a point file to the specified path in the PC.
P# Defines a specified point.
PDef Returns the definition status of a specified point.
PDel Deletes specified position data.
PLabel Defines a label for a specified point.
PLabel$ Returns the point label associated with a point number.
PNumber Returns the point number associated with a point label.
PList Displays point data in memory for the current robot.
PLocal Sets the local attribute for a point.
PDescription Define a description of specified point data.
PDescription$ Returns description of point that defined to the specified
point number
Summary of SPEL+ Commands
10 EPSON RC+ 7.0 (Ver.7.5) SPEL+ Language Reference Rev.1
WorkQue_Add Adds the work queue data (point data and user data) to the
specified work queue.
WorkQue_AutoRemove Sets the auto delete function to the specified work queue.
WorkQue_AutoRemove Function Returns the state of the auto delete function set to the work
queue.
WorkQue_Get Function Returns the point data from the specified work queue.
WorkQue_Len Function Returns the number of the valid work queue data registered
to the specified work queue.
WorkQue_List Displays the work queue data list (point data and user data)
of the specified work queue
WorkQue_Reject Sets and displays the minimum distance for double
registration prevention of the point data to the specified work
queue
WorkQue_Reject Function Returns the distance of the double registration prevention set
to the specified work queue
WorkQue_Remove Deletes the work queue data (point data and user data) from
the specified work queue
WorkQue_Sort Sets and displays the Sort type of the specified work queue
WorkQue_Sort Function Returns the Sort type of the specified work queue
WorkQue_UserData Resets and displays the user data (real number) registered to
the specified work queue
WorkQue_UserData Function Returns the user data (real number) registered to the specified
work queue
Coordinate Change Commands
Arm Sets / returns current arm.
ArmSet Defines an arm.
ArmDef Returns status of arm definition.
ArmClr Clears an arm definition.
Tool Sets / returns the current tool number.
TLSet Defines or displays a tool coordinate system.
TLDef Returns status of tool definition.
TLClr Clears a tool definition.
ECP Sets / returns the current ECP number.
ECPSet Defines or displays an external control point.
ECPDef Returns status of ECP definition.
ECPClr Clears an ECP definition.
Base Defines and displays the base coordinate system.
Local Define a local coordinate system.
LocalDef Returns status of local definition.
LocalClr Clears (undefines) a local coordinate system.
Summary of SPEL+ Commands
EPSON RC+ 7.0 (Ver.7.5) SPEL+ Language Reference Rev.1 11
Elbow Sets / returns elbow orientation of a point.
Hand Sets / returns hand orientation of a point.
Wrist Sets / returns wrist orientation of a point.
J4Flag Sets / returns the J4Flag setting of a point.
J6Flag Sets / returns the J6Flag orientation of a point.
J1Flag Sets / returns the J1Flag setting of a point.
J2Flag Sets / returns the J2Flag orientation of a point.
J1Angle Returns the J1Angle attribute of a point.
J4Angle Returns the J4Angle attribute of a point.
VxCalib Creates the calibration data.
VxTrans Converts the pixel coordinates to the robot coordinates and
returns the converted the point data.
VxCalInfo Returns the calibration completion status / calibration data.
VxCalDelete Deletes the calibration data.
VxCalSave Saves the calibration data to the file.
VxCalLoad Loads the calibration data from the file.
Program Control Commands
Function Declare a function.
For...Next Executes one or more statements for a specific count.
GoSub Execute a subroutine.
Return Returns from a subroutine.
GoTo Branch unconditionally to a line number or label.
Call Call a user function.
If..Then..Else..EndIf Conditional statement execution.
Else Used with the If instruction to allow statements to be
executed when the condition used with the If instruction is
False. Else is an option for the If/Then instruction.
Select ... Send Executes one of several groups of statements, depending on
the value of an expression.
Do...Loop Do...Loop construct.
Declare Declares an external function in a dynamic link library (DLL).
Trap Specify a trap handler.
OnErr Defines an error handler.
Era Returns the robot joint number for last error.
Erf$ Returns the function name for last error.
Erl Returns the line number of error.
Err Returns the error number.
Ert Returns the task number of error.
Errb Returns the robot number of error.
ErrMsg$ Returns the error message.
Signal Sends a signal to tasks executing WaitSig.
SyncLock Synchronizes tasks using a mutual exclusion lock.
SynUnlock Unlocks a sync ID that was previously locked with SyncLock.
WaitSig Waits for a signal from another task.
Summary of SPEL+ Commands
12 EPSON RC+ 7.0 (Ver.7.5) SPEL+ Language Reference Rev.1
ErrorOn Returns the error status of the controller.
Error Generates a user error.
EResume Resumes execution after an error-handling routine is finished.
PauseOn Returns the pause status.
Exit Exits a loop construct or function.
Program Execution Commands
Xqt Execute a task.
Pause Pause all tasks that have pause enabled.
Cont Resumes the controller after a Pause statement has been
executed and continues the execution of all tasks.
Halt Suspend a task.
Quit Quits a task.
Resume Resume a task in the halt state.
MyTask Returns current task.
TaskDone Returns the completion status of a task.
TaskState Returns the current state of a task.
TaskWait Waits to for a task to terminate.
Restart Restarts the current main program group.
Recover Executes safeguard position recovery and returns status.
RecoverPos Returns the position where a robot was in when safeguard
was open.
StartMain Executes the main function from a background task.
Pseudo Statements
#define Defines a macro.
#ifdef ... #endif Conditional compile.
#ifndef ... #endif Conditional compile.
#include Include a file.
#undef Undefines an identifier previously defined with #define.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266
  • Page 267 267
  • Page 268 268
  • Page 269 269
  • Page 270 270
  • Page 271 271
  • Page 272 272
  • Page 273 273
  • Page 274 274
  • Page 275 275
  • Page 276 276
  • Page 277 277
  • Page 278 278
  • Page 279 279
  • Page 280 280
  • Page 281 281
  • Page 282 282
  • Page 283 283
  • Page 284 284
  • Page 285 285
  • Page 286 286
  • Page 287 287
  • Page 288 288
  • Page 289 289
  • Page 290 290
  • Page 291 291
  • Page 292 292
  • Page 293 293
  • Page 294 294
  • Page 295 295
  • Page 296 296
  • Page 297 297
  • Page 298 298
  • Page 299 299
  • Page 300 300
  • Page 301 301
  • Page 302 302
  • Page 303 303
  • Page 304 304
  • Page 305 305
  • Page 306 306
  • Page 307 307
  • Page 308 308
  • Page 309 309
  • Page 310 310
  • Page 311 311
  • Page 312 312
  • Page 313 313
  • Page 314 314
  • Page 315 315
  • Page 316 316
  • Page 317 317
  • Page 318 318
  • Page 319 319
  • Page 320 320
  • Page 321 321
  • Page 322 322
  • Page 323 323
  • Page 324 324
  • Page 325 325
  • Page 326 326
  • Page 327 327
  • Page 328 328
  • Page 329 329
  • Page 330 330
  • Page 331 331
  • Page 332 332
  • Page 333 333
  • Page 334 334
  • Page 335 335
  • Page 336 336
  • Page 337 337
  • Page 338 338
  • Page 339 339
  • Page 340 340
  • Page 341 341
  • Page 342 342
  • Page 343 343
  • Page 344 344
  • Page 345 345
  • Page 346 346
  • Page 347 347
  • Page 348 348
  • Page 349 349
  • Page 350 350
  • Page 351 351
  • Page 352 352
  • Page 353 353
  • Page 354 354
  • Page 355 355
  • Page 356 356
  • Page 357 357
  • Page 358 358
  • Page 359 359
  • Page 360 360
  • Page 361 361
  • Page 362 362
  • Page 363 363
  • Page 364 364
  • Page 365 365
  • Page 366 366
  • Page 367 367
  • Page 368 368
  • Page 369 369
  • Page 370 370
  • Page 371 371
  • Page 372 372
  • Page 373 373
  • Page 374 374
  • Page 375 375
  • Page 376 376
  • Page 377 377
  • Page 378 378
  • Page 379 379
  • Page 380 380
  • Page 381 381
  • Page 382 382
  • Page 383 383
  • Page 384 384
  • Page 385 385
  • Page 386 386
  • Page 387 387
  • Page 388 388
  • Page 389 389
  • Page 390 390
  • Page 391 391
  • Page 392 392
  • Page 393 393
  • Page 394 394
  • Page 395 395
  • Page 396 396
  • Page 397 397
  • Page 398 398
  • Page 399 399
  • Page 400 400
  • Page 401 401
  • Page 402 402
  • Page 403 403
  • Page 404 404
  • Page 405 405
  • Page 406 406
  • Page 407 407
  • Page 408 408
  • Page 409 409
  • Page 410 410
  • Page 411 411
  • Page 412 412
  • Page 413 413
  • Page 414 414
  • Page 415 415
  • Page 416 416
  • Page 417 417
  • Page 418 418
  • Page 419 419
  • Page 420 420
  • Page 421 421
  • Page 422 422
  • Page 423 423
  • Page 424 424
  • Page 425 425
  • Page 426 426
  • Page 427 427
  • Page 428 428
  • Page 429 429
  • Page 430 430
  • Page 431 431
  • Page 432 432
  • Page 433 433
  • Page 434 434
  • Page 435 435
  • Page 436 436
  • Page 437 437
  • Page 438 438
  • Page 439 439
  • Page 440 440
  • Page 441 441
  • Page 442 442
  • Page 443 443
  • Page 444 444
  • Page 445 445
  • Page 446 446
  • Page 447 447
  • Page 448 448
  • Page 449 449
  • Page 450 450
  • Page 451 451
  • Page 452 452
  • Page 453 453
  • Page 454 454
  • Page 455 455
  • Page 456 456
  • Page 457 457
  • Page 458 458
  • Page 459 459
  • Page 460 460
  • Page 461 461
  • Page 462 462
  • Page 463 463
  • Page 464 464
  • Page 465 465
  • Page 466 466
  • Page 467 467
  • Page 468 468
  • Page 469 469
  • Page 470 470
  • Page 471 471
  • Page 472 472
  • Page 473 473
  • Page 474 474
  • Page 475 475
  • Page 476 476
  • Page 477 477
  • Page 478 478
  • Page 479 479
  • Page 480 480
  • Page 481 481
  • Page 482 482
  • Page 483 483
  • Page 484 484
  • Page 485 485
  • Page 486 486
  • Page 487 487
  • Page 488 488
  • Page 489 489
  • Page 490 490
  • Page 491 491
  • Page 492 492
  • Page 493 493
  • Page 494 494
  • Page 495 495
  • Page 496 496
  • Page 497 497
  • Page 498 498
  • Page 499 499
  • Page 500 500
  • Page 501 501
  • Page 502 502
  • Page 503 503
  • Page 504 504
  • Page 505 505
  • Page 506 506
  • Page 507 507
  • Page 508 508
  • Page 509 509
  • Page 510 510
  • Page 511 511
  • Page 512 512
  • Page 513 513
  • Page 514 514
  • Page 515 515
  • Page 516 516
  • Page 517 517
  • Page 518 518
  • Page 519 519
  • Page 520 520
  • Page 521 521
  • Page 522 522
  • Page 523 523
  • Page 524 524
  • Page 525 525
  • Page 526 526
  • Page 527 527
  • Page 528 528
  • Page 529 529
  • Page 530 530
  • Page 531 531
  • Page 532 532
  • Page 533 533
  • Page 534 534
  • Page 535 535
  • Page 536 536
  • Page 537 537
  • Page 538 538
  • Page 539 539
  • Page 540 540
  • Page 541 541
  • Page 542 542
  • Page 543 543
  • Page 544 544
  • Page 545 545
  • Page 546 546
  • Page 547 547
  • Page 548 548
  • Page 549 549
  • Page 550 550
  • Page 551 551
  • Page 552 552
  • Page 553 553
  • Page 554 554
  • Page 555 555
  • Page 556 556
  • Page 557 557
  • Page 558 558
  • Page 559 559
  • Page 560 560
  • Page 561 561
  • Page 562 562
  • Page 563 563
  • Page 564 564
  • Page 565 565
  • Page 566 566
  • Page 567 567
  • Page 568 568
  • Page 569 569
  • Page 570 570
  • Page 571 571
  • Page 572 572
  • Page 573 573
  • Page 574 574
  • Page 575 575
  • Page 576 576
  • Page 577 577
  • Page 578 578
  • Page 579 579
  • Page 580 580
  • Page 581 581
  • Page 582 582
  • Page 583 583
  • Page 584 584
  • Page 585 585
  • Page 586 586
  • Page 587 587
  • Page 588 588
  • Page 589 589
  • Page 590 590
  • Page 591 591
  • Page 592 592
  • Page 593 593
  • Page 594 594
  • Page 595 595
  • Page 596 596
  • Page 597 597
  • Page 598 598
  • Page 599 599
  • Page 600 600
  • Page 601 601
  • Page 602 602
  • Page 603 603
  • Page 604 604
  • Page 605 605
  • Page 606 606
  • Page 607 607
  • Page 608 608
  • Page 609 609
  • Page 610 610
  • Page 611 611
  • Page 612 612
  • Page 613 613
  • Page 614 614
  • Page 615 615
  • Page 616 616
  • Page 617 617
  • Page 618 618
  • Page 619 619
  • Page 620 620
  • Page 621 621
  • Page 622 622
  • Page 623 623
  • Page 624 624
  • Page 625 625
  • Page 626 626
  • Page 627 627
  • Page 628 628
  • Page 629 629
  • Page 630 630
  • Page 631 631
  • Page 632 632
  • Page 633 633
  • Page 634 634
  • Page 635 635
  • Page 636 636
  • Page 637 637
  • Page 638 638
  • Page 639 639
  • Page 640 640
  • Page 641 641
  • Page 642 642
  • Page 643 643
  • Page 644 644
  • Page 645 645
  • Page 646 646
  • Page 647 647
  • Page 648 648
  • Page 649 649
  • Page 650 650
  • Page 651 651
  • Page 652 652
  • Page 653 653
  • Page 654 654
  • Page 655 655
  • Page 656 656
  • Page 657 657
  • Page 658 658
  • Page 659 659
  • Page 660 660
  • Page 661 661
  • Page 662 662
  • Page 663 663
  • Page 664 664
  • Page 665 665
  • Page 666 666
  • Page 667 667
  • Page 668 668
  • Page 669 669
  • Page 670 670
  • Page 671 671
  • Page 672 672
  • Page 673 673
  • Page 674 674
  • Page 675 675
  • Page 676 676
  • Page 677 677
  • Page 678 678
  • Page 679 679
  • Page 680 680
  • Page 681 681
  • Page 682 682
  • Page 683 683
  • Page 684 684
  • Page 685 685
  • Page 686 686
  • Page 687 687
  • Page 688 688
  • Page 689 689
  • Page 690 690
  • Page 691 691
  • Page 692 692
  • Page 693 693
  • Page 694 694
  • Page 695 695
  • Page 696 696
  • Page 697 697
  • Page 698 698
  • Page 699 699
  • Page 700 700
  • Page 701 701
  • Page 702 702
  • Page 703 703
  • Page 704 704
  • Page 705 705
  • Page 706 706
  • Page 707 707
  • Page 708 708
  • Page 709 709
  • Page 710 710
  • Page 711 711
  • Page 712 712
  • Page 713 713
  • Page 714 714
  • Page 715 715
  • Page 716 716
  • Page 717 717
  • Page 718 718
  • Page 719 719
  • Page 720 720
  • Page 721 721
  • Page 722 722
  • Page 723 723
  • Page 724 724
  • Page 725 725
  • Page 726 726
  • Page 727 727
  • Page 728 728
  • Page 729 729
  • Page 730 730
  • Page 731 731
  • Page 732 732
  • Page 733 733
  • Page 734 734
  • Page 735 735
  • Page 736 736
  • Page 737 737
  • Page 738 738
  • Page 739 739
  • Page 740 740
  • Page 741 741
  • Page 742 742
  • Page 743 743
  • Page 744 744
  • Page 745 745
  • Page 746 746
  • Page 747 747
  • Page 748 748
  • Page 749 749
  • Page 750 750
  • Page 751 751
  • Page 752 752
  • Page 753 753
  • Page 754 754
  • Page 755 755
  • Page 756 756
  • Page 757 757
  • Page 758 758
  • Page 759 759
  • Page 760 760
  • Page 761 761
  • Page 762 762
  • Page 763 763
  • Page 764 764
  • Page 765 765
  • Page 766 766
  • Page 767 767
  • Page 768 768
  • Page 769 769
  • Page 770 770
  • Page 771 771
  • Page 772 772
  • Page 773 773
  • Page 774 774
  • Page 775 775
  • Page 776 776
  • Page 777 777
  • Page 778 778
  • Page 779 779
  • Page 780 780
  • Page 781 781
  • Page 782 782
  • Page 783 783
  • Page 784 784
  • Page 785 785
  • Page 786 786
  • Page 787 787
  • Page 788 788
  • Page 789 789
  • Page 790 790
  • Page 791 791
  • Page 792 792
  • Page 793 793
  • Page 794 794
  • Page 795 795
  • Page 796 796
  • Page 797 797
  • Page 798 798
  • Page 799 799
  • Page 800 800
  • Page 801 801
  • Page 802 802
  • Page 803 803
  • Page 804 804
  • Page 805 805
  • Page 806 806
  • Page 807 807
  • Page 808 808
  • Page 809 809
  • Page 810 810
  • Page 811 811
  • Page 812 812
  • Page 813 813
  • Page 814 814
  • Page 815 815
  • Page 816 816
  • Page 817 817
  • Page 818 818
  • Page 819 819
  • Page 820 820
  • Page 821 821
  • Page 822 822
  • Page 823 823
  • Page 824 824
  • Page 825 825
  • Page 826 826
  • Page 827 827
  • Page 828 828
  • Page 829 829
  • Page 830 830
  • Page 831 831
  • Page 832 832
  • Page 833 833
  • Page 834 834
  • Page 835 835
  • Page 836 836
  • Page 837 837
  • Page 838 838
  • Page 839 839
  • Page 840 840
  • Page 841 841
  • Page 842 842
  • Page 843 843
  • Page 844 844
  • Page 845 845
  • Page 846 846
  • Page 847 847
  • Page 848 848
  • Page 849 849
  • Page 850 850
  • Page 851 851
  • Page 852 852
  • Page 853 853
  • Page 854 854
  • Page 855 855
  • Page 856 856
  • Page 857 857
  • Page 858 858
  • Page 859 859
  • Page 860 860
  • Page 861 861
  • Page 862 862
  • Page 863 863
  • Page 864 864
  • Page 865 865
  • Page 866 866
  • Page 867 867
  • Page 868 868
  • Page 869 869
  • Page 870 870
  • Page 871 871
  • Page 872 872
  • Page 873 873
  • Page 874 874
  • Page 875 875
  • Page 876 876
  • Page 877 877
  • Page 878 878
  • Page 879 879
  • Page 880 880
  • Page 881 881
  • Page 882 882
  • Page 883 883
  • Page 884 884
  • Page 885 885
  • Page 886 886
  • Page 887 887
  • Page 888 888
  • Page 889 889
  • Page 890 890
  • Page 891 891
  • Page 892 892
  • Page 893 893
  • Page 894 894
  • Page 895 895
  • Page 896 896
  • Page 897 897
  • Page 898 898
  • Page 899 899
  • Page 900 900
  • Page 901 901
  • Page 902 902
  • Page 903 903
  • Page 904 904
  • Page 905 905
  • Page 906 906
  • Page 907 907
  • Page 908 908
  • Page 909 909
  • Page 910 910
  • Page 911 911
  • Page 912 912
  • Page 913 913
  • Page 914 914
  • Page 915 915
  • Page 916 916
  • Page 917 917
  • Page 918 918
  • Page 919 919
  • Page 920 920
  • Page 921 921
  • Page 922 922
  • Page 923 923
  • Page 924 924
  • Page 925 925
  • Page 926 926
  • Page 927 927
  • Page 928 928
  • Page 929 929
  • Page 930 930
  • Page 931 931
  • Page 932 932
  • Page 933 933
  • Page 934 934
  • Page 935 935
  • Page 936 936
  • Page 937 937
  • Page 938 938
  • Page 939 939
  • Page 940 940
  • Page 941 941
  • Page 942 942
  • Page 943 943
  • Page 944 944
  • Page 945 945
  • Page 946 946
  • Page 947 947
  • Page 948 948
  • Page 949 949
  • Page 950 950
  • Page 951 951
  • Page 952 952
  • Page 953 953
  • Page 954 954
  • Page 955 955
  • Page 956 956
  • Page 957 957
  • Page 958 958
  • Page 959 959
  • Page 960 960
  • Page 961 961
  • Page 962 962
  • Page 963 963
  • Page 964 964
  • Page 965 965
  • Page 966 966
  • Page 967 967
  • Page 968 968
  • Page 969 969
  • Page 970 970
  • Page 971 971
  • Page 972 972
  • Page 973 973
  • Page 974 974
  • Page 975 975
  • Page 976 976
  • Page 977 977
  • Page 978 978
  • Page 979 979
  • Page 980 980
  • Page 981 981
  • Page 982 982
  • Page 983 983
  • Page 984 984
  • Page 985 985
  • Page 986 986
  • Page 987 987
  • Page 988 988

Epson EZ Modules 1-Axis Robots User manual

Category
Robotics
Type
User manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI