Professional Documents
Culture Documents
Table of Contents
Revision History ............................................................................................................................... i
Table of Contents ............................................................................................................................. i
Preface v
Overview ........................................................................................................................................................ v
Terms Used Often in this Manual............................................................................................................... v
Meanings of Symbols .................................................................................................................................. v
Manual Index ................................................................................................................................................ v
Safety Precautions....................................................................................................................... vii
Chapter 1 Safety............................................................................................................................. 1
1.1 For your safety ....................................................................................................................................... 1
1.2 Specialized training ............................................................................................................................... 1
1.3 List of instruction manuals of robots ................................................................................................... 1
1.4 Safety precautions for operators ......................................................................................................... 2
1.5 Robot safety precautions ...................................................................................................................... 3
1.5.1 Installation and wiring safety ............................................................................................................................3
1.5.2 Work area safety ................................................................................................................................................4
1.5.3 Operation safety .................................................................................................................................................5
1.6 Notes for moving and transferring the robot ...................................................................................... 6
1.7 Notes on robot disposal ........................................................................................................................ 6
Chapter 2 Product Confirmation................................................................................................ 1
2.1 Product confirmation ............................................................................................................................. 1
2.1.1 Contents confirmation........................................................................................................................................1
2.1.2 Order number confirmation ...............................................................................................................................1
2.2 Control cabinet ....................................................................................................................................... 1
2.3 Programming pendant .......................................................................................................................... 2
2.3.1 Appearance .........................................................................................................................................................2
2.3.2 Touch pen ............................................................................................................................................................3
2.3.3 USB slot...............................................................................................................................................................3
2.3.4 Keys .....................................................................................................................................................................4
2.3.5 Display .................................................................................................................................................................5
2.3.6 Mode switches ....................................................................................................................................................8
2.3.7 E-stop buttons.....................................................................................................................................................9
2.3.8 Servo enable switch...........................................................................................................................................9
2.3.9 Signal definition of internal wiring terminal of programming pendant .........................................................9
2.3.10 Programming pendant cables ...................................................................................................................... 10
Chapter 3 Product Use ................................................................................................................. 1
3.1 Connection methods ............................................................................................................................. 1
3.2 Operating instructions ........................................................................................................................... 1
3.2.1 Robot coordinates ..............................................................................................................................................1
3.3 Start/stop sequence .............................................................................................................................. 5
3.3.1 Teaching ..............................................................................................................................................................5
3.3.2 Playback ............................................................................................................................................................ 12
Chapter 4 Introduction to System Functions ......................................................................... 1
4.1 Project Management ............................................................................................................................. 1
4.1.1 Creating a New Project or Program.................................................................................................................3
4.1.2 Deleting a New Project or Program .................................................................................................................4
4.1.3 Renaming a Project or Program ......................................................................................................................4
4.1.4 To copy/paste a project or program .................................................................................................................5
4.1.5 Load/Cancel a New Project or Program .........................................................................................................5
4.1.6 Self-triggered Program ......................................................................................................................................6
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 1-i
Instruction Manual of ER Series Industrial Robots Table of Contents
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 1-ii
Instruction Manual of ER Series Industrial Robots Table of Contents
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 1-iii
Instruction Manual of ER Series Industrial Robots Table of Contents
Solutions...................................................................................................................................................................... 11
8.2 Power supply requirements for ESTUN robots ................................................................................11
Solution........................................................................................................................................................................ 11
8.3 The way to deal with the emergency stop status displayed after the robot is turned on .......... 12
Solution: ...................................................................................................................................................................... 12
8.4 The way to perform periodic maintenance on robots ..................................................................... 13
Solution........................................................................................................................................................................ 13
8.5 The way to backup the robot teach pendant program ................................................................... 13
Solution........................................................................................................................................................................ 14
8.6 The way to recover after triggering the robot E-stop button.......................................................... 14
Solution........................................................................................................................................................................ 14
8.7 What to do if the teach pendant cannot perform program editing and modification during use
...................................................................................................................................................................... 15
Solution........................................................................................................................................................................ 15
8.8 What communication protocols does Estun robot currently support ........................................... 16
8.9 The way to solve the problem of point deviation during normal use of the robot ...................... 16
Solution........................................................................................................................................................................ 16
8.10 How to determine if the robot cannot move after power on ........................................................ 16
Solution........................................................................................................................................................................ 16
8.11 The way to solve the failure of teach pendant to enter system after robot powering on ........ 17
Solution........................................................................................................................................................................ 17
Chapter 9 Annexes ........................................................................................................................ 1
9.1 Privilege assignment of programming pendant................................................................................. 1
9.2 ModbusTCP control interface data sheet........................................................................................... 9
9.3 List of Alarm Information ......................................................................................................................11
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 1-iv
Instruction Manual of ER Series Industrial Robots Table of Contents
Preface
Overview
This Manual is applicable to the control system RCS2 V1.30. It describes the components of the ER series
robots as well as the operation of the teaching controller, in such as way users can understand and master
the operation and use of the ER Series Robots.
Meanings of Symbols
Following signs incorporated in this Manual shall have the following meanings.
Symbol Description
Indicates a hazard with a medium or low level of risk, which if not avoided,
Warning could result in minor or moderate injury
Manual Index
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 1-v
Instruction Manual of ER Series Industrial Robots Table of Contents
The manuals usually include: Operation Manuals, Instruction Manuals for Control Cabinet, and Instruction
Manuals for Main Units. For downloads, please visit the Download section at the website of ESTUN.
Instruction Manuals for You can download information on control The Instruction Manual of
Control Cabinets cabinets in the "Downloads - Control Cabinets" Control Cabinet explains the
section. structure and functions of the
control cabinet and its
connection methods.
Instruction Manual for You can download information on control These manuals provide detailed
Main Unit cabinets in the "Downloads - Instruction information about the "robots",
Manuals for Main Units" section. and how to install them.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 1-vi
Instruction Manual of ER Series Industrial Robots Table of Contents
Safety Precautions
Robots generally have requirements which are different from other manufacturing equipment, such as
larger working areas, high-speed operation, rapid arm movements, etc., which can pose safety hazards.
Read and understand the instruction manuals and related documents, and observe all precautions in order
to avoid the risk of injury to personnel and damage to equipment. It is the users responsibility to ensure
that their safe operating environment complies with and observes local and national safety-related laws,
regulations and ordinances.
Warning
Before using this manual, be sure to read this section and all the safety precautions in "Chapter 1 Safety".
This manual explains teaching, playback, programs and file editing of the ER series robots. Read this
manual carefully and be sure to understand its contents before handling the robot.
Some drawings in this manual are shown with the protective covers or shields removed for clarity. Be
sure all covers and shields are restored as required before operating this product according to this
manual.
The drawings and photos in this manual are representative examples and differences may exist
between them and the delivered product.
Estun may modify this model without notice when necessary due to product improvements, changes
in specifications and modification to the manual for easier use. For the latest version, please concern
our website, or contact our service department.
It is not allowed to add or delete part or all of the content without our consent. Never use part or all of
the manual in the design of a third party.
Estun is not responsible for incidents arising from unauthorized modification of its products.
Unauthorized modification voids your product’s warranty, and we bear no liability for the direct or
indirect losses arising from this.
Danger
Use of E-stop button
Before operating the robot, check that servo power is turned off when the E-stop button on the front
door of the robot control cabinet and the programming pendant is pressed. In case of a servo
emergency, if the robot cannot be braked in time, a personal injury or equipment damage may then be
caused.
Once the servo power is turned on after the emergency stop is released, the accident that causing the
emergency stop must be eliminated before turning on the servo power. Robot actions caused by mis-
operation may result in the personal injury accidents.
Rotate
Observe the following precautions when performing teaching operations within the working envelope
of the robot:
-Consider the contingency plan when the robot moves suddenly to the position you are located.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 1-vii
Instruction Manual of ER Series Industrial Robots Table of Contents
Confirm that no persons are present in the robot’s working envelope and that you are in a safe location
before:
Turning ON the power of the control cabinet of robot.
Moving the robot with the programming pendant.
Running check operations.
Performing automatic reproductions.
Injury may result if anyone enters the working envelope of the robot during operation. Always press an
E-stop button immediately if there are problems. The E-stop button is located on the right of the control
cabinet and the programming pendant.
Warning
Perform the following inspection procedures prior to conducting robot teaching. If problems are found, repair
them immediately, and be sure that all other necessary measures have been performed.
Always return the programming pendant to its original position after use.
The personal injury or damage to programming pendant may be caused if it is left in the robot, on the
floor, or near fixtures, as in such a way it may collide with the robot or fixtures.
Read and understand the Explanation of Warning Labels in the instruction manuals of ER series
robots before operating the robot.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 1-viii
ER 系列工业机器人操作手册 Chapter 2 Product Confirmation
Chapter 1 Safety
Robots generally have requirements which are different from other manufacturing equipment, such as larger working
areas, high-speed operation, rapid arm movements, etc., which can pose safety hazards. Read and understand the
instruction manuals and related documents, and observe all precautions in order to avoid the risk of injury to personnel
and damage to equipment. It is the users responsibility to ensure that their safe operating environment complies with
and observes local and national safety-related laws, regulations and ordinances.
Observe the “Robots and robotic devices - Safety requirements for industrial robots” (ISO 10218) for
safe operation of robots.
Reinforce the SAFETY MANAGEMENT SYSTEM. Designate authorized workers and safety
managers, as well as give continuing safety education.
Teaching and maintaining the robot are specified as "Hazardous Operations" in the Industrial Safety
and Health Law (China only).
Workers employed in these above operations are requested to attend special training offered by
For more information about training, please contact Nanjing Estun Robotics Engineering Co., Ltd.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 1-1
ER 系列工业机器人操作手册 Chapter 2 Product Confirmation
Warning
Avoid any dangerous operations in the area where the robot is installed.
There is a danger of injury if there is contact with the robot or peripheral equipment.
Please take strict safety precautions by placing signs such as "Flammable", "High Voltage",
"Stopping", and "Off-limits to Unauthorized Personnel" in necessary areas in the factory.
Failure to observe these cautions may result in fire, electric shock, or injury due to contact with the
robot and other equipment.
Do not allow underwear, shirts, or neckties to hang out from the work clothes.
Wear protective safety equipment, such as helmets, safety shoes (with slip-proof soles), face
shields, safety glasses, and gloves as necessary.
Unauthorized persons should not approach the robot or associated peripheral equipment.
Failure to observe this may result in bodily injury due to contact with the control cabinet, the
workpiece, the positioner, etc.
Never lean on the control cabinet, and avoid inadvertently pushing buttons.
Failure to observe this may result in bodily injury or damage by unexpected movement of the robot.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 1-2
ER 系列工业机器人操作手册 Chapter 2 Product Confirmation
Danger
Select an area such as that described below to install the robot: Confirm that the area is large enough
so that the fully extended robot arm with tool will not reach a side wall, safeguarding, or the control
cabinet.
Failure to observe this may result in bodily injury or damage resulting from unexpected movement of
the robot.
Safeguarding
1000mm or more
1000mm or more
1000mm or more
1000mm or more
Perform grounding in accordance with all applicable electrical codes and rules for internal wiring.
Failure to observe this may result in fire or electric shock.
Caution
Be sure there is sufficient room for maintenance on the robot, control cabinet, and other peripheral
equipment. Failure to observe this caution could result in bodily injury during maintenance.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 1-3
ER 系列工业机器人操作手册 Chapter 2 Product Confirmation
The robot is controlled by a control cabinet or a control cabinet for fixture use.
To ensure safety, be sure to operate the controller from a location where the robot is easily visible.
Operation by unauthorized personnel may result in bodily injury or equipment damage.
Install the control cabinet outside the safeguarding of the robot’s safety enclosure. Failure to observe
this caution may result in bodily injury or damage to equipment resulting from contact with the robot.
Install the robot using bolts of the size and type specified for each robot in the instruction manual.
Failure to observe this may result in bodily injury or damage to equipment.
Be familiar with the connection diagram before wiring the control cabinet, and perform the wiring in
accordance with the connection diagram. There is a danger of equipment damage or injury due to
wrong wiring and unexpected movement of the equipment.
Protective measures shall be taken when wiring and piping between the control cabinet and robots and
peripheral equipment, for example, thread the pipes, wires or cables through the pit or cover with
protective covers to avoid being stepped on or being crushed by forklift.
Operators and other personnel may stumble on exposed wiring or piping. Cable damage can cause
unexpected robot motion resulting in injury or property damage.
Safety first
Tube Wire
Wiring duct
Danger
Install a safeguarding around the robot to prevent any accidental contact with the robot while the power is
ON. Post a warning sign stating "Off-limits during Operation" at the entrance of the enclosure. The gate of
the safeguarding must be equipped with a safety interlock.
Failure to observe this warning may result in a serious accident due to contact with the robot.
Warning
Store spare tools and similar equipment in proper locations outside of the enclosure.
Tools and loose equipment should not be left on the floor around the robot, control cabinet, or system
(welding fixture), etc., as personal injury or damage to equipment can occur if the robot comes in contact
with objects or equipment left in the work area.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 1-4
ER 系列工业机器人操作手册 Chapter 2 Product Confirmation
Danger
When attaching a tool to the robot, be sure to turn OFF the power supply of the control cabinet and the
tool; lock the switch, and display a warning sign.
Turning the power ON during tool installation may case electric shock or injury due to unexpected
movement of the robot.
Never exceed the rated capacity of the robot (capacity can be found in the specifications section of the
robot manual.)
Failure to observe this may result in bodily injury or damage to equipment.
Teach jobs outside the robot’s work area whenever possible.
Observe the following precautions when performing teaching operations within the working envelope of
the robot:
-Always view the robot from the front.
-Always follow the predetermined operating procedure.
-Always have an escape plan in mind in case the robot comes toward you unexpectedly.
-Ensure that you have a place to retreat to in case of emergency.
Improper or unintentional robot operation can result in injury.
Before operating the robot, check whether the SERVO ON lamp on the programming pendant goes out
when the emergency stop buttons on the top right of front door of the control cabinet and programming
pendant are pressed. And confirm that the servo lamp is turned OFF.
Injury or damage to machinery may result if the robot cannot be stopped in case of an emergency.
Prior to performing the following operations, be sure that no one is in the working envelope of the robot
when:
- Turning ON the power of control cabinet.
- Moving the robot with the programming pendant.
- Running the system in the check mode.
- Performing automatic operations.
Injury may result from contact with the robot if persons enter the working envelope of the robot.
Press the E-stop button immediately if there are problems.
The E-stop buttons are located on the top right of front door of the control cabinet and programming
pendant.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 1-5
ER 系列工业机器人操作手册 Chapter 2 Product Confirmation
Caution
Perform the following inspection procedures prior to teaching the robot. If problems are found, correct
them immediately, and be sure that all other necessary tasks have been performed.
- Check for problems in robot movement.
- Check for damage to the insulation and sheathing of external wires.
Always return the programming pendant to its hook on the control cabinet after use.
If the programming pendant is inadvertently left on the robot, a fixture, or on the floor, the robot or a tool
could collide with it during robot movement, possibly causing injury or equipment damage.
Persons operating or inspecting the robot should be trained as required by applicable laws and
company policies.
Attach the commands to the robot when moving or transferring the robot so that all users have
access to necessary manuals. See 1.3 “List of instruction manuals of robots” for a complete list of
manuals.
If any manuals are missing, contact the ESTUN Robotics Engineering Co., Ltd.
If the warning labels on the robot and control cabinet are illegible, clean the labels so that they can be
read clearly. Note that some local laws may prohibit equipment operation if safety labels are not in
place.
When the robot is transferred, it is recommended to check with the personnel dispatched by ESTUN
Robotics Engineering Co., Ltd.
Incorrect installation or wiring may result in personal injury and property damage.
Never modify the robot or the control cabinet. Failure to observe this precaution could result in bodily
injury or damage resulting from fire, power failure, or operation error.
Anchor the robot well, even when temporarily storing it before disposal. Failure to observe this precaution
may result in injury due to the robot falling down.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 1-6
ER 系列工业机器人操作手册 Chapter 2 Product Confirmation
Programming
pendant
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 2-1
ER 系列工业机器人操作手册 Chapter 2 Product Confirmation
The appearance of the control cabinet and the distribution of buttons on the exterior of the electrical
cabinet are shown in Figure 2-2.
E-stop
The distribution and illustrations of the control cabinet panel keys are shown in Figure 2-3.
Local/remote switchover
STOP button
The internal layout of the electrical cabinet is shown (the layout of the control cabinet varies between
robots):
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 2-1
ER 系列工业机器人操作手册 Chapter 2 Product Confirmation
IO module
Ground copper busbar
Controller
Switching power supply
External interface
Relay module
Filter
Fan
Transformer
RJ45 interface
Encoder cable
Heavy-duty connector
reserved interface
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 2-2
ER 系列工业机器人操作手册 Chapter 2 Product Confirmation
1 Display screen
2 E-stop button
5 Status indicator
7 Suspension handle
9 USB slot
10 Touch pen
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 2-3
ER 系列工业机器人操作手册 Chapter 2 Product Confirmation
2.3.4 Keys
Function keys
Function keys are arranged under the programming pendant. Table 2-2 lists the functions of each key.
Key used to decrease the speed. Press or click V- in remote mode to reduce the
global speed.
Key used to increase the speed. Press or click V+ in remote mode to increase the
global speed.
Menu keys
The menu keys are arranged on the left side of the programming pendant. Table 2-3 lists the functions of
each key.
System Setup
In this menu interface, user login, version information and other functions are
available
Project Management
In this menu interface, you can perform the Project Management, such as import
and export, create, delete, rename, etc.
Program Editing
In this menu interface, the program editing is available, such as inserting and
modifying teaching commands, etc.
Program Data
In this menu interface, you can perform the operation such as create, assign, and
manage variables.
I/O Detection
In this menu interface, you can perform operations such as monitoring the system
I/O signals and I/O signal diagnosis.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 2-4
ER 系列工业机器人操作手册 Chapter 2 Product Confirmation
Location Management
In this menu interface, you can set the teaching operation parameters, such as jog
speed, coordinates switching and so on.
System Log
This menu interface displays all system operation feedback information, including
prompts, warnings, errors, etc.
2.3.5 Display
Display Area
The display screen of the programming pendant is a 7-inch color display, on which the figures, letters and
symbols are displayed. The display screen is divided into 4 areas, the general display area, status display
area, shortcut button display area and jog display area. The display area interface of the programming
pendant is shown in Figure 2-6.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 2-5
ER 系列工业机器人操作手册 Chapter 2 Product Confirmation
General-purpose display
Jog display area
: Remote mode
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 2-6
ER 系列工业机器人操作手册 Chapter 2 Product Confirmation
Status Description
: Joint coordinates
: Cartesian coordinates
: Tool coordinates
Jog coordinates : User coordinates
: Positioner coordinates
: Servo enabled
: RUN
Running status
: PAUSE
: STOP
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 2-7
ER 系列工业机器人操作手册 Chapter 2 Product Confirmation
Status Description
Display the percentage of the current global speed. The minimum global speed
is 1%. Click to select the global speed.
Current speed
: Debugging
1. Turn the key above the actual teach pendant to switch the robot from AUTO mode to MANUAL mode
and the speed is automatically adjusted to 10%.
2. In remote mode, press or click on the teach pendant V+ to increase the global speed and press or
click on V- to decrease the global speed.
Remote Mode
System may call out the programs stored in the memory at any time for editing and execution.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 2-8
ER 系列工业机器人操作手册 Chapter 2 Product Confirmation
The program to be edited is called "Editor Program", which is the program displayed when the program
content is displayed in the teaching mode.
The program to be executed is called "Executive Program", which is the program displayed when the
program content is displayed in Playback mode.
When switching the motion mode on the programming pendant, there will be no conversion between the
editing program and the executive program. To run an editing program in Playback mode, you need to
change the mode to Playback mode, and then read the program.
Location: E-stop button on the front panel of the control cabinet or on the teach pendant.
E-stop: Press the E-stop button on the front panel of the control cabinet or the E-stop button of the teach
pendant.
Release E-stop: Turn the button in the direction indicated on the button, as shown in the figure below.
Turn
Enabling signal ON: first contact point at which the switch is pressed.
Enabling signal OFF: switch pressed to the bottom or switch button released.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 2-9
ER 系列工业机器人操作手册 Chapter 2 Product Confirmation
5 NC
6 +24VDC
7 GND
8 E-STOP_ES1+
9 E-STOP_ES1-
10 E-STOP_ES2+
11 E-STOP_ES2-
1 TD+
2 TD-
3 RD+
4 -
5 -
6 RD-
7 -
8 -
1 Pink 24VDC
2 Black GND
3 Brown-green E-STOP_ES1+
4 White-green E-STOP_ES1-
5 Gray-pink E-STOP_ES2+
6 Red-blue E-STOP_ES2-
9 - -
10 - -
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 2-10
ER 系列工业机器人操作手册 Chapter 2 Product Confirmation
11 Purple -
13 Blue TD+
14 White TD-
15 Orange RD+
16 Red RD-
Figure 2-10 Connection between the programming pendant cables and control cabinet
The signal definition of each pin of K1 and K2 is the same as that listed in the signal definition of the
aviation plug interface.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 2-11
ER 系列工业机器人操作手册 Chapter 3 Product Use
Complete the connection of the robot, the control cabinet and the programming pendant by referring to the
following steps.
Step 1 Unpack, take out the power supply cable and connect the cable to the socket on the back of the control
cabinet.
Step 3 Check the shape and size of the cable connectors and the position of the sockets on the robot, insert the
cable into the appropriate socket and secure it firmly.
Step 4 Connect the cable from the programming pendant to the interface of the control cabinets teach pendant
Mating mark
----END
Joint Each axis of the robot performs individual The axes A1, A2, A3, A4, A5
Coordinates movements. and A6 of the robot move
separately.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 3-1
ER 系列工业机器人操作手册 Chapter 3 Product Use
Cartesian The end points of the robot can move and The robot control points
Coordinates rotate in parallel along the X-, Y- and Z- move and rotate in parallel
axes, which are set in the Cartesian along the X, Y and Z axes.
Coordinates.
Tool The tool coordinates are defined at the tip The robot control point
Coordinates of the tool, assuming that the effective moves in parallel along the
direction of the tool mounted on the robot X, Y and Z axes set at the
wrist flange is the Z-axis. tip point of the tool.
Joint Coordinates
When operating in joint coordinates mode, the A1, A2, A3, A4, A5 and A6 axis of the robot moves
independently. The motion direction of each axis under joint coordinates is shown in Figure 3-1.
The actions of each axis when pressing the Axis Operation Key are listed in Table 3-1.
Table 3-1 Actions of each axis when pressing the Axis Operation Key
Axis name Motion
Cartesian Coordinates
In the Cartesian Coordinates, the control point of robot moves parallel to the X-, Y-, or Z-axes. The motion
direction of each axis is shown in Figure 3-2.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 3-2
ER 系列工业机器人操作手册 Chapter 3 Product Use
Actions of each axis when pressing the Axis Operation Key are as shown in Table 3-2.
Table 3-2 Actions of each axis when pressing the Axis Operation Key in Cartesian Coordinates
Axis Motion
Tool Coordinates
The tool coordinates are defined at the tip of the tool, assuming that the effective direction of the tool
mounted on the robot wrist flange is the Z-axis. When it is set to Tool Coordinates, the robot control point
moves in parallel along the X-, Y-, and Z-axes set at the tip point of the tool.
When the Axis Operation Key is pressed, the motions of each axis are shown in Table 3-3.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 3-3
ER 系列工业机器人操作手册 Chapter 3 Product Use
Table 3-3 Axis motion corresponded to Axis Operation Key under Tool Coordinates
Axis name Motion
The movement of tool coordinates is based on the effective direction of the tool, but has no connection
with the position and posture of the robot. In this case, it would be most suitable for parallel movement
operations without changing the posture of the tool relative to the workpiece.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 3-4
ER 系列工业机器人操作手册 Chapter 3 Product Use
Robot
Servo power on
Robot enable
Program running
Servo connected
Load program
External startup
External pause
External E-stop
3.3.1 Teaching
Precautions
1. After the mode knob is turned to manual mode under programming pendant mode, users may
hold tightly the safety switch in case of mis-operation for its human instinctive reaction. The safety switch is
of a two-stage switch, and the servo will be powered off when pressing it to stage 2.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 3-5
ER 系列工业机器人操作手册 Chapter 3 Product Use
Step 1 Click , or the “Project Management” in the main interface to enter to the Project Management
interface.
Step 2 Click "Create", and the "New Job" dialog box will pop up, as shown in Figure 3-6.
Step 3 Select "New Job" from the drop-down list to the right of "Please select a job".
Step 4 Click the input box of "Please enter the job name", and enter the name of the job to be created in the pop-
up soft keyboard, i.e. project0.
Step 5 Click the input box of "Please enter the job name", and enter the name of the job to be created in the pop-
up soft keyboard, i.e. program0.
Step 6 Click "OK" to create a new job or program successfully, and the interface jumps directly to the Job Editing
interface, as shown in Figure 3-7.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 3-6
ER 系列工业机器人操作手册 Chapter 3 Product Use
Step 7 Edit commands in the job interface. The commands that control the robot's motion are motion commands.
In the movement instructions, the position of the movement, the interpolation mode, the playback speed,
etc. are recorded (for other types of commands, please refer to the appendix “Types of Basic Commands”).
MovJ (P1, V50, ”RELATIVE”, C0) //点到点的运动方式
MovL(P2, V50, ”RELATIVE”, C0) //直线的运动方式
----END
Teaching overview
Warning
When performing teaching operations, make sure that a safe distance is maintained between the operator
and the robot.
The program describes the robots work using the robot language. Now input the following processing
program from Point A to B for the robot. This program consists of 6 steps from 1 to 6.
Step 6
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 3-7
ER 系列工业机器人操作手册 Chapter 3 Product Use
Step 1 Grip the enable switch, and move the robot to the start position using the Axis Operation Keys. Set the
starting position at a safe position suitable for job preparation.
Step 2 Press the "Create" button in the job interface, and select "Motion Command→MovJ" from the list.
Step 3 Click "OK" to enter the command editing interface of MovJ, as shown in Figure 3-10.
Step 4 After clicking "Teach", Point P1 records the robot sitting posture at Step 1 by this moment. Step 1 is taught
after clicking "Insert", and the commands displayed in the program interface are as follows:
MovJ (P1, V50, “RELATIVE”, C0)
----END
Make the robot in the work posture using Axis Operation Keys. Teach step 2 by utilizing the method of
teaching step 1: starting position. The program commands are as follows upon teaching:
MovJ(P2, V50, “RELATIVE”, C0)
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 3-8
ER 系列工业机器人操作手册 Chapter 3 Product Use
Step 1 Keep the posture of Step 2 the same, and click . Set the robot coordinate system to a Cartesian
Coordinates, and move the robot to the starting position of the job using the axis operation keys.
Step 2 Press "Create" in the job interface, to enter the command interface and select the linear interpolation
command.
Step 3 Click "Teach" to have the teaching of Step 3 done. The program commands are as follows.
MovL (P3, V50, “RELATIVE”, C0)
----END
Move the robot to the work end position with the Axis Operation Keys. While the robot is moving from
starting position to the end position, keep a wide enough distance to ensure it will not strike the workpiece.
Use the method in the same way as the teaching Step 1 by adding a linear interpolation command. P4 is
the sitting posture of the robot at Step 4. The program commands are detailed as follows.
MovL (P4, V50, “RELATIVE”, C0);
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 3-9
ER 系列工业机器人操作手册 Chapter 3 Product Use
Move the robot with the Axis Operation Keys to a position where it will not strike the fixture. Use the
method in the same way as the teaching Step 1 by adding a linear interpolation command. P5 is the sitting
posture of the robot at Step 5. The program commands are detailed as follows:
MovL (P5, V50, “RELATIVE”, C0);
Move the robot with the Axis Operation Keys to a position near the start position in the Joint Coordinates.
Use the method in the same way as the teaching Step 1 by adding a linear interpolation command. P6 is
the sitting posture of the robot at Step 6. The program commands are detailed as follows:
The following operation will make Step 6 (end position) and Step1 (start position) identical.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 3-10
ER 系列工业机器人操作手册 Chapter 3 Product Use
Step 2 Move the cursor to Step 1; click "Set Pointer" button, press "Step" to select the single-step mode. After
setting the speed within 10%, press "Start" and the program starts to run, then move the robot to Step 1.
Step 3 Move the cursor to Step 6. After pressing "Modify", the modification interface appears.
Step 4 Press “Teach” key. This will change the position of Step 6 to be the same as Step1.
----END
Path confirmation
The job is now complete. Please run the next job, and try to check each step separately to ensure there
are no problems. When confirming the path, make sure that the programming pendant is in the teaching
mode, and the enable switch is pressed at time of motion.
Step 5 Press , and the program starts operation in single-step mode. The robot runs a command program
Step 7 Press to run all the steps continuously. After pressing , the robot plays back all the steps
continuously and stops when one cycle is finished.
Note
When running a path in teaching mode, the trajectory speed is limited by the national standard
speed, with a maximum linear speed of 250mm/s and a maximum posture speed of 180deg/s
----END
Correcting a Job
If the actual robot trajectory differs from the expected one, the robots trajectory can be adjusted by
modifying the step position and speed in a job.
Before Correction
Confirm the robot’s motion in each step. If any position modification or adding or deleting of steps is
necessary, edit the job content by following the procedures below.
Step 1 Press , or the “Project Management” on the main interface to enter the Project Management interface.
Step 2 Select the job to be edited.
Step 3 Click "Load" and enter the job editing interface.
----END
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 3-11
ER 系列工业机器人操作手册 Chapter 3 Product Use
Step 1 Using the above method, set it to single-step mode set the speed within 10%, and press to move
the robot to Step 2 to be modified. The robot moves a step by pressing the once.
Step 2 Move the robot to the modified position with the Axis Operation Keys, as shown in the new Step 2 in Figure
3-17.
Step 3 Press “Modify” to enter the point correction interface.
Step 4 Press “Teach”. The step’s position data is changed.
----END
Adding a Step
Add a new step between two steps. For example, add a step between Step 5 and Step 6 as follows.
Step 1 Move the robot to Step 6 by pressing . Make sure that the robot can move to position 6 from the
current position without collision before moving.
Step 2 Move the robot to the position at which you wish to add a step using the Axis Operation Keys.
Step 3 Add a joint interpolation command with reference to the “Adding Step 1”.
----END
Deleting a Step
Delete the step you just added. Return to the state on the original right picture from the state on the right
picture below.
Enter the job editing interface; click the command to be deleted; then click "Delete" on the right, and "OK"
in the "Delete a Command” prompt box.
3.3.2 Playback
Preparation before playback
Precautions:
Check that there are no operators or other staff in the work area before operation.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 3-12
ER 系列工业机器人操作手册 Chapter 3 Product Use
Check that the E-stop buttons on the teach pendant and control cabinet is inactive.
The program after the teaching execution is called Playback. Before playback, make sure that the following
is done:
Step 1 Make sure that the operator and other staff are outside the working envelope of robot prior to re-operation.
Step 2 Make sure that the E-stop keys on the electric control cabinet and the programming pendant are in an
invalid state.
Step 4 Select the program to be executed first, and then click "PC" to ensure that the program is executed from the
first line.
Step 5 Press the speed increase or decrease key to set the speed to the desired.
----END
Playback procedure
Step 1 Set the mode knob on the programming pendant to Auto mode, and move the cursor to the beginning of the
program.
Step 3 Click the , and the robot will stop after one cycle of program under the playback.
----END
Start-stop specifications
1. Do not switch the power on and off frequently, as this may damage the drive. Each time the power is
switched on and off, the time interval should be 60s or above.
2. Before powering off, please ensure that the machine is in a stopped state. Stop the program before
powering off.
Hold
Stops using the programming pendant
− Hold
Press on the programming pendant. The robot restarts its operation from the position where
it was stopped.
Stops using an external input signal (system input)
− Hold
Turn ON the hold signal from an external input. The robot stops temporarily.
− Release
Turn off the hold signal from an external input. The robot restarts its operation, beginning from the
position where it was stopped.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 3-13
ER 系列工业机器人操作手册 Chapter 3 Product Use
Caution
When the program is halted, it will automatically go to the stop state when the following operations are
performed:
Program context changes, such as project loading/deregistration, command addition, deletion, etc.
Setting up the PC
Switch system mode
End
Jog operation
Homing operation
Operation of some other system settings
Emergency Stop
An emergency stop can be performed by using either of the following:
Programming pendant
Front panel of control cabinet
External input signal (system input)
[E-STOP] Power off the robot by pressing the E-stop button of the programming pendant or control cabinet,
and the robot stops immediately.
[Release] Turn the E-stop button in the direction of the arrows. Then press and power on the servo.
Warning
Prior to restarting after an emergency stop, confirm the position by clicking and make sure there is
no interference with the workpiece or fixture.
The application of an emergency stop during high speed operations on continuous steps can result in the
robot stopping two or three steps prior to the step that is being displayed. There is a risk of interference
with the workpiece or fixture when the robot is restarted under such conditions.
Stop by Alarm
If an alarm occurs during operation, the robot stops immediately and the Alarm window appears on the
programming pendant indicating users can enter the system log interface to view the detailed alarm.
Major fault Turn OFF the main power supply and remove the
cause of the alarm.
Others
Temporary Stop by Mode Change
When the playback mode is switched to the teach mode during playback, the robot stops immediately.
To restart the operation, return to the playback mode and perform a start operation.
Temporary Stop by the PAUSE Command
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 3-14
ER 系列工业机器人操作手册 Chapter 3 Product Use
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 3-15
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
Advanced Settings: -
Project In this menu interface, you can perform the Project Management,
Management such as import and export, create, delete, rename, etc.
Program In this menu interface, you can perform the operation such as
Data create, assign, and manage variables.
Location In this menu interface, you can set the teaching operation
Management parameters, such as jog speed, coordinates switching and so on.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-1
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
Project List: Displays the project name, click on to expand all program files under the project
directory.
Load Status: Displays whether the project or program is "loaded", the default display is blank, then
"loaded".
Running Status: Displays whether the project or program is running, with "running", "paused" or
"stopped" available under running status.
Self-trigger: Displays whether the program is set to "Self-trigger". The default display is blank, and
when enabled, the display shows "Self-starting".
Write Protection: Displays whether the program is set to "Write Protection". The default display is
blank, "read-only" appears when switched on.
Load: Loads a project or program from an existing project, allowing you to load the program directly.
Logout: Used in conjunction with Load, the button is greyed out when the file is not loaded.
Open: can only open program files. you need to load the project before opening; opening is not the
same as loading, when running you will be prompted to import the program first.
Self-trigger: Automatically loads the program file set in remote mode; a pop-up window will appear if
the program is not compatible with the self-trigger.
Turn ON: Select the desired program, click on the "Write Protection" button. After turning
on "Write Protection" according to the prompts on the interface, the user cannot modify
the contents of the program, as the global variables, project variables and program
variables in the program cannot be changed.
Cancel: Select the program again and click on the "Cancel Write Protection" button, and
user can change the program after cancel the write protection according to the prompts.
If this button is greyed out, it means that the current user does not have access to the
program. This function can only be operated by "Admin" and "Factory Personnel".
Create: to create a new project or a new program file under an existing project;
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-2
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
Copy: to copy an existing project or program file and prompt for renaming of the copied project or
program after clicking Paste;
Program Information: to view the status information of the selected program and add notes.
Step 1 Click , or the “Project Management” on the main interface to enter Project Management interface, as
shown in Figure 4-1. In the Project Management interface, click "Refresh" below to update the list of project.
Step 2 Select "File→Create" on the right, and the "Create a Program" dialog box will pop up, as shown in Figure 4-2.
Tip
In other interfaces, select "File→Create" on the right to perform the operation of creating a new project.
Step 3 To create a new project, select "Create a New Project" from the drop-down list on the right of "Select a
Project".
If you want to create a new job in a project, select the desired project name in the drop-down list and skip to Step 5.
Or, select a desired project in the project list in advance, and then click "Create".
If there is no program in the project list, the option "Create a Project” is in default.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-3
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
Step 4 Click the input box of "Please enter the project name", and enter the name of the project to be created in the
soft keyboard popped up, for example, project0.
Step 5 Click the input box of "Please enter the program name", and enter the name of the program to be created in
the soft keyboard popped up, for example, program0.
Step 6 Click "OK", a new project or program is then created. The interface jumps directly to the program editing
interface, as shown in Figure 9-3.
----END
Step 1 Click the project or program to be deleted in the Project Management interface, for example, project0.
Note
1. To delete a project that has been "loaded", you need to click "Cancel" below before performing the
normal delete operation.
2. To delete a program, you must ensure that the project in which the program is located is logged out
before deleting.
Step 2 Click "Delete" on the right, and a prompt box will pop up, as shown in Figure 4-4.
----END
1. To rename a project that has been "loaded", you need to click "Cancel" below before performing the
renaming operation.
2. To rename a program, the project in which the program is located cannot be "loaded" and must be
"logged off" before the program can be renamed.
Step 1 Click the project or program to be renamed in the Project Management interface, for example, project0.
Step 3 Click "Enter a new project name", and enter the new name in the pop-up soft keyboard.
----END
Step 1 Click a project or program to be copied in the Project Management interface, for example, project0.
Note
The same program cannot be copied and pasted into different project directories.
When a program is to be copied, if the pasted path is under another project, the prompt message "Unable
to copy the program to another project!" will pop up. Please click and select the correct project before
proceeding.
Step 3 Click "Please enter a new project name", and enter the new project name in the soft keyboard.
----END
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-5
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
In the project list, the "Loading Status" column already shows the project or program being loaded.
Only one project or program can be loaded. When another project or program is loaded, the previously
loaded project or program will be automatically cancelled.
To load or log off a project or program, click the project or program you want, and then click "Load" or
"Cancel".
Step 1 Select the program that needs to be self-triggered in the project list.
Step 3 Click on "OK" in the pop-up dialog box to complete the self-trigger operation of the program.
Step 1 Select the program that needs to be write-protected in the project list.
Step 3 Click "Yes" in the pop-up dialog box to complete the write protection of the program.
Step 4 Click on "Remove Write Protection" below and follow the pop-up box to remove the write protection from
the program.
Project Import: To import the project or program file in the USB flash drive to the controller.
Project Export: To export the project or program file in the controller to the USB flash drive.
The following operations are the procedures for project import, which is similar to project export.
Step 1 Insert the U disk into the USB interface of the teaching pendant.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-6
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
Step 3 Click "Manage" in the right menu to enter the interface, as shown in Figure 4-5.
Project Export
1. Click on the "USB flash drive path" at the bottom right to access the USB flash drive.
2. Select the program file to be exported from the list of "Project File" on the left.
3. Click ">>" in the middle of the interface to export the program file selected to the USB flash drive.
Project Import
1. Select the program file to be exported from the "Project File" list on the right.
2. Click on "<<" in the middle of the interface to import the selected program file to the controller.
3. If the selected file is _global.erd, then a pop up will appear asking you to check the files that will not be
overwritten. The following variable types are currently available: APOS, CPOS, DAPOS, DCPOS,
AERA, USERCOOR, TOOL (in line with EStunEdit).
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-7
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
Note
When importing the _global.erd file, data types that are checked in the interface will not be replaced
into the robot controller; data types that are not checked or do not exist in the interface will be removed
and replaced with the _global.erd data as checked on the right hand side of the interface.
Create
1. Click "Create" below, and the project create dialog box as shown in Figure 4-6 will appear.
2. Click the input box of "Enter a new project name", and enter the name of the project to be created in
the soft keyboard, for example, project0.
3. Click "OK" to produce a new project, prompting "Please reload the project". You can view the new
project in the project file list in the teaching box on the left.
----END
Step 1 Click the "Search" button in the Project Management interface to bring up the "Search for a Program"
interface, as shown in Figure 4-7.
Step 2 Enter the text you are looking for in the "Name" input box and click the "Search" button to search.
Note
On the left side of the Search screen, there are three filtering criteria including project name (checked by
default), case-sensitive and all-word match checkboxes, which can be freely checked according to your
needs. You can also enter some of the consecutive characters in the name to be located.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-8
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
Step 3 The search result will be displayed, divided into three types: not found, one found, and multiple found. When
multiple found, you can click on the "Previous" and "Next" buttons to switch the search result, and the project list will
locate to the line with the search result, as shown in the figure below.
----END
Step 1 Select the program to view and click on the "Program Information" button on the right to switch to the
Program Information tab.
Step 2 View the information about the program and add comments in the program tab.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-9
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
Running Status: running, paused, stopped, parallel, execution interrupted, parallel interrupted, invoked
interrupted
Self-trigger: Yes, No
Comments: red font [editable] is displayed when no comments are available, click on the comments field to
fill in the comments.
Note
You need to load the project where the program is located before editing commands.
Program editing interface entered by clicking the menu key or through the Home interface is the
program being loaded. Refer to “Loading/canceling a project or program” for operation if there’s no
program currently loaded.
Users may also click on the program being loaded in the Project Management interface, and then click
"Open" at the bottom to enter the Program Editing interface. You can edit programs that have not been
loaded under the project being loaded using this manner.
Step 1 Enter the program editing interface as shown in Figure 4-9, which is an interface description for an empty
program.
Move the cursor to the line where "End" is located when inserting the first command in the new program.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-10
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
Caution
The new command will be inserted before the line where the cursor is located. Therefore, before
creating a new command, move the cursor to the correct position.
The new program will be loaded automatically, and enter the program editing interface.
Step 2 Click "Create" at the interface bottom to enter the command selection interface, as shown in Figure 4-10.
Step 3 Select "Command Class", and then select the command to be used on the right.
For example, if you need to create a new motion command MovJ, select "Motion Command→ MovJ".
Step 4 Click "OK" and enter the "Create Command" dialog box, where you can edit the command parameters you
want to insert. Figure 4-11 shows the parameter editing dialog box of MovJ.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-11
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
Note
----END
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-12
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
Note
Up to 64 steps of commands can be cancelled.
If the program is cancelled, loaded or reopened, this operation cannot be performed.
Step 2 In the "Quick Teach" pop-up box on the right, select the parameter to be modified, as shown in Figure 4-14.
1. Click on the drop-down box on the right to quickly switch between MovJ and MovL commands. Taking
MovJ to MovL as an example, proceed as follows: select the MovJ command you need to switch to
2. Click on the drop-down menu in the "Quick Teach" interface on the right, select the MovJ command
that needs to be switched to MovL and click on "Yes" in the pop-up box "Whether to switch MovJ to
MovL".
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-13
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
3. Click on the "Modify" button on the "Quick Teach" screen to quickly switch between MovJ and MovL
commands.
Note
- When switching between MovL and MovJ quickly, the switching is successful even if the "Rate Type"
is not "DEFAULT".
- If you do not click on the "Modify" button on the "Quick Teach" screen, the quick switch cannot be
done.
Step 3 To specify the program to start execution from a command, click the command to be executed directly,
and then click "PC" below, the pointer will change to the command, as shown in Figure 4-15. The, the
command executing position has been changed to Line 0003.
----END
Tips
Users can click on the "Command" on the right to create a frequently used command.
In addition, users can also click "Edit" on the right to perform the following operations on this interface:
Copy: Click to select the command to be copied, and then click "Copy". Cross-program "Copy" is
supported.
Cut: Click to select the command to be cut, and then click "Cut". Cross-program "Cut" is supported.
Paste: Click to select the position of the command to be pasted, and then click "Paste". Cross-program
"Paste" is supported.
Reverse Paste: Click to select the location of the command to be pasted, then click on "Reverse Paste"
to paste the selected multiple lines of commands into the location in the reverse order. Cross-program
"Reverse Paste" is supported.
Delete: Click to select the command to be deleted, and then click "Delete".
//: Click to select the command to be annotated, and then click "//".
ToPC: Click "ToPC" to return the program editing interface to the line where the pointer is located.
Note
Cross-program refers to different programs under the same project.
The command supports cross-program copy, cut, paste and reverse paste operations, but not
cross-engineering operations.
The pasted command distinguishes between variable types. If the command contains program
variables and the currently loaded program does not have the same program variables, the
execution process will report an error; if the currently loaded program has variables with the same
name, the execution will be normal and the value of the variables will be based on the one under
the current program. Global variables and project variables are not affected by this.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-14
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
If you paste a command containing a program variable, you can modify it if there is no
corresponding variable in the current loaded program, and the command can be executed normally
after creating a new variable.
For a detailed description of each instruction, please refer to Chapter 6.
Select the target "point" and the running command "MovJ" or "MovL" in the floating options, and then press
"Go", the TCP will continue to run to the target point; release "Go" to stop the movement of the TCP, as
shown in Figure 4-17.
Please select the command line that specifies the target point, the "point" in the floating option will
automatically show the variable of the target point.
When multiple points appear in the command line, you can select the desired target "point" in the
drop-down list.
Only "MovJ" and "MovL" are optional for the command operation when running to the target point.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-15
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
If the coordinate system parameters such as tool and usercoord are included in the command,
switch the coordinate system to these set coordinates and perform point motion to avoid problems
related to collision arising from execution errors.
Click "Top", and the display of the program line will be located to the "Start" line.
Click "Bottom", and the display of the program line will be located to the "End" line.
Click "Select Line", and the display of the program line will be located to the position of the currently selected line.
Click "specified line"; select the "label" or "line number" to be located in the options appeared, and the display of the
program line will be located to the designated one.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-16
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
The motion execution pointer has been added to the program editing screen and is still displayed to the left
of the selected row. It can point to the same motion command as the execution pointer.
1. Start:
2. MovJ(P0)
3. MovL(P1)
4. SetDO(DO1,0)
5. INT0 = INT0 + 1
6. Wait(2000)
7. MovL (P2)
8. Wait(2000)
9. End;
1. When execution reaches line 2, both the normal execution pointer and the motion pointer are
displayed on that line;
2. When the execution pointer reaches the SetDO command on line 4, the execution pointer will be
displayed on that line, but the motion pointer will stop on line 3 as the robot stops at point P1 of MovL
on line 3.
3. The motion execution pointer will jump to this line of display until the system executes to line 7 at
MovL (P2).
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-17
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
Step 4 Confirm or select the "Domain" (range) to which the variable to be created belongs.
Step 5 Set the category of the variable to be created. Table 4-1 lists all the categories and types.
Digital input DI
Digital output DO
Analog input AI
Analog output AO
IO data type
Virtual digital input SimDI
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-18
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
Socket data
socket name Socket
type
Coordinate system
CPOSARRAY
position array
Coordinate system
DCPOS
relative position type
One-dimensional array
RealOneArray
of real numbers
One-dimensional
BoolOneArray
Boolean array
One-dimensional
IntOneArray
Basic data type integer array
WEAVE data
WEAVE variable WEAVE
type
Palletizing data
Palletizing variables PALLET
variables
Interrupt ID INTERRUPT
Servo low-speed
LsThresh0
threshold variable
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-19
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
External TCP
EXTTCP
coordinates
Step 6 Click the "Name" input box, and enter the name you want to define in the pop-up soft keyboard.
Note
The following "names" are reserved by the system and contain mainly the names of basic functions,
commands and variables, as well as specific names, etc. Users may not create variables with the same
name.
Basic functions:
and, break, do, else, elseif, end, false, for, function, if, in, local, nil, not, or, repeat, return, then, true, until,
while, assert, tostring, tonumber, rawget, xpcall, ipairs, print, pcall, rawset, error, loadfile, rawequal, load,
pairs, require, collectgarbage, dofile, next, select, type, getmetatable, goto, setmetatable, debug, log, max,
acos, huge, pi, cos, deg, tan, random, randomseed, ceil, floor, rad, abs, sqrt, modf, asin, min, fmod, log,
atan, exp, sin, coroutine, math, io, os, package, string, table, byte, find, find2, char, gsub, len, sub, lower,
trim, upper
Variable types:
BOOL, INT, REAL, STRING, BOOLONEARRAY, INTONEARRAY, REALONEARRAY, APOS, CPOS, TOOL,
USERCOOR, AI, AO, DI, DO, SimAI, SimAO, SimDI, SimDO, RET, AREA, POLYHEDRON, CLOCK,
PLCREAL, SOCKET, PALLET, WEAVE, SPEED, ZONE, PAYLOAD, EXTTCP, POSITIONER, SYNCOORD,
LsScale, LsThresh, PLCREAL, PLCBOOL, PLCINT, PLCDOMNT, APOSARRARY, CPOSARRARY,
INTERRUPT
Command names:
MovJ, MovL, MovC, MovCircle, MovJRel, MovLRel, MovLOffset, MovJSearch, MovLSearch, MovLW,
MovCW, MovCircleW, MovH, MovArch, OnDistance, OnParameter, LABEL, GOTO, ENDIF, THEN, IF,
THEN, ELSIF, ELSE, ENDWHILE, DO, WHILE, CALL, RUN, KILL, RETURN, /*...*/, ...=..., SetDO, SetAO,
SetSimDO, SetSimAO, WaitDI, WaitDI8421, WaitAI, WaitSimDI, WaitSimDI8421, WaitSimAI, PulseOut,
PulseSimOut, GetDI8421, GetSimDI8421, SetDO8421, SetSimDO8421, GetSimDIToVar, SetSimDOByVar,
GetSimAIToVar, SetSimAOByVar, SetDIEdge, SetSimDIEdge, Wait, WaitFinish, WaitCondition,
GetCurAPos, GetCurCPos, APosToCPos, CPosToAPos, CPosToCPos, ToolOffset, UserOffset, WaitWObj,
MovLSync, MovJSyncQuit, MovLSyncQuit, SetTargetPos, SetSyncoord, SynCToUserC, WaitConvDis,
SimConveyorOn, SimConveyorOff, ReceiveWObj, ResetWObjBuf, BitAnd, BitNeg, BitOr, BitXOr, BitLSH,
BitRSH, CLKStart, CLKStop, CLKRead, CLKReset, AreaActivate, AreaDeactivate, PolyhedronAreaActivate,
PolyhedronAreaDeactivate, TrigCam, WaitFinishCAM, GetCamPos, SendMessage, Tracking, PalletReset,
PalletToPut, PalletFromPut, PalletToGet, PalletFromGet, SetMatrix, GetMatrix, SocketCreate, SocketClose,
SocketSendStr, SocketSendReal, SocketSendInt, SocketReadReal, SocketReadInt, SocketReadStr,
GetModConState, ReadModbusReg, WriteModbusReg, SoftFloatStart, SoftFloatStop, IToStr, RToStr,
StrToI, StrToR, APosToStr, CPosToStr, TranStrToInt, TranStrToReal, TranStrToApos, TranStrToCpos,
MA_ELF_START, MA_ELF_STOP, SetTool, SetCoord, SetExternalTCP, SetPositioner, SetPayload,
SetJointDyn, SetCartDyn, SetBlendParam, SetOverRide, SetSingularPass, SetColliEnable,
SetAxisColliParam, GetCurOverRide, Hand, CalcTool, CalcCoord, SetRtToErr, SetRtInfo, SetRtWarning,
Stop, RefRobotAxis, SetMotionMode, AutoGainEnable, AutoGainDisable, SetAxisVibraBLevel,
SetRestorePC
Specific names:
POSCFG, PLACEOPTIO
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-20
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
Step 7 Click “OK” after confirming that the variable to be created is set correctly.
The interface will return to the list of variables and display the created variable data. Figure 4-22 shows
that a global position variable P0 has been added.
----END
Step 3 Click “OK” after settings of the area variables to be created are confirmed to be correct.
Step 4 The interface will return to the list of variables and display the created variable data. Figure 4-24 shows
that a global area variable AREA1 has been created successfully.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-1
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
----END
Step 3 Click “OK” after settings of the polyhedron area variables to be created are confirmed to be correct.
Step 4 The interface will return to the list of variables and display the created variable data. Figure 4-26 shows that
a global polyhedron area variable POLYHEDRON1 has been created successfully.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-2
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
----END
Step 3 Click “OK” after settings of the tool coordinates variable to be created are confirmed to be correct.
Step 4 The interface will return to the list of variables and display the created variable data. Figure 4-28 shows
that a global variable TOOL0 for tool coordinates has been created successfully.
----END
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-3
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
Step 3 Click “OK” after settings of the user coordinates variable to be created are confirmed to be correct.
Step 4 The interface will return to the list of variables and display the created variable data. Figure 4-30 shows
that a global user coordinates variable USERCOOR1 has been created successfully.
----END
Step 3 Click “OK” after settings of the external tool coordinates variable to be created are confirmed to be correct.
Step 4 The interface will return to the list of variables and display the created variable data. Figure 4-32 shows
that a global external tool coordinates variable EXTTCP1 has been created successfully.
----END
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-4
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
Step 1 Select the variable to be modified, and “Parameters” and “value” of the variable will appear on the right
side of the interface.
Step 2 Click the parameter value to be modified and re-enter the correct value in the pop-up soft keyboard (note
the range of parameter values on the soft keyboard).
Step 3 For some special variables (variables that cannot be entered into edit mode by clicking on "value"), click
"Modify", and the interface will display the modification interface to assist operation.
----END
Deleting a Variable
Step 4 Select the variable to be deleted, click "Delete", then the prompt box shown in Figure 4-33 will pop up.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-5
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
Renaming a Variable
Step 1 Select the variable to be renamed, the "Change Variable Name" interface will pop up by clicking "Rename",
as shown in Figure 4-34.
Step 2 Click the input box of "New variable name", and type the desired name in the pop-up soft keyboard.
Searching Variable
Step 1 Click "Search" in the "List of Variable" page, and enter the "Name" of the variable you want to search in the
floated option, as shown in Figure 4-35.
Step 2 You can find the desired variable precisely by selecting the "Domain" or "Type" you want to search.
Step 4 When a matching name is searched, multiple results appear. You can select by clicking "Previous" or
"Next".
4.4 IO detection
Press or click "IO Detection" on the Home interface to enter the IO Detection interface, which
consists of five tabs: Physical Digital IO, Physical Analog IO, Virtual Digital IO, Virtual Analog IO, and
System IO. The default tab is the physical digital IO interface, as shown in Figure 4-36.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-6
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
Step 1 To modify the value: Click on the value of the digital IO to be modified and the corresponding 01 keyboard
will pop up, as shown below:
Step 2 Select 0 or 1 and check the "Emulation" checkbox, then click "OK", as shown below, and the value of the
corresponding port will become the set value and turn red, which indicates successful modification.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-7
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
Step 3 To release the emulated value of one of the ports, click on the digital IO that needs to be modified, check
"Emulate" in the corresponding pop-up box, and click "OK".
Step 4 Click on "Release Emulation" above and confirm the release according to the interface prompt to restore the
port value of the physical IO to its initial state, while the virtual IO will only change the emulation state, but
the modified port value will remain unchanged.
Physical IO
Click on "Physical Digital IO" below to switch to the "Physical Digital IO" screen:
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-8
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
Parameter Description
1: High level
Definition IO commenting
Physical Simulation IO
Click on the "Physical Simulation IO" button below to switch to the "Physical Simulation IO" tab.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-9
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
Parameter Description
1: High level
Definition IO commenting
Virtual Digital IO
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-10
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
Parameter Description
1: High level
Definition IO commenting
Virtual Analog IO
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-11
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
Parameter Description
1: High level
Definition IO commenting
System IO
Clicking the “System IO” key and entering the password in the pop-up dialog box, then you can enter the
system IO interface. System IO is not modifiable by default. The System IO interface is shown in Figure 4-
41.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-12
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
Click , or the "Location Management" in the "Jog Management" plugin group in Home interface to
enter the location management interface, as shown in Figure 4-42.
Joint Coordinates
Click "Joint Coordinates", and the current joint position information of the robot (A1, A2, A3, A4, A5, A6) will
appear.
World Coordinates
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-13
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
Click "World Coordinates", the position information (X, Y, Z, A, B, C) of the robot TCP in the World
Coordinates will appear.
User Coordinates
If the “Reference Coordinates” is set to “G: USERCOOR”, clicking “User Coordinates”, the position
information of the robot TCP in the User Coordinates (RX, RY, RZ, RA, RB, RC) will appear.
Positioner Coordinates
If the “Reference Coordinates” is set to “G: POSITIONER””, clicking “Positioner Coordinates”, the position
information of the robot TCP in the Positioner Coordinates (PX, PY, PZ, PA, PB, PC) will appear.
Torque
Clicking "Torque", the rated torque value (percentage) of each joint motor of the robot will appear.
Single-turn Value
Clicking "Single-turn Value", the left side of the interface displays the set single-turn value of each axis (set
by clicking the right position), and the right side displays the actual single-turn value of each axis.
Inching Setting
If "Jog Mode" is set to " Inching ", click " Inching Setting", the inching parameters of each axis of the robot
will appear. To modify the jogging parameters, just click the parameter value input box and enter the value
to be modified in the pop-up soft keyboard.
Users can modify the "Jog Coordinates" to the coordinate system requiring jog operation, or press the
key on the programming pendant to switch the coordinates requiring jog operation.
Homing
When the robot is in servo excitation state, click "Homing" and enter the correct administrator password in
the pop-up dialog box. After that, a prompt message will pop up on the interface, as shown in Figure 4-43.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-14
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
Single-axis Homing: Click on the "Homing" button after pressing the corresponding axis to perform a
single-axis homing operation;
Integral Homing: Click on the "Integral Homing" button to perform a homing operation on all axes.
Note
Single-axis homing or commanded homing is recommended. Integral Homing may result in loss of robot
zero accuracy.
4.6.1 Alarm
The alarm page is divided into two sections: "Current Alarm" and "Historical Alarm".
Current Alarm
After entering the "System Log" interface, click the "Alarm" button to switch to the alarm interface; if there
is an alarm that needs to be cleared, the current alarm interface will be displayed first.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-15
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
1: Click on the Alarm button to enter the alarm page 2: Current Alarm button: click on it to enter the
"Current Alarm" tab to view the currently generated alarms.
4: In the alarm display page, you can find the alarm generation time, alarm number and content. Click on
the "Content" corresponding to the alarm to display the "Details" of the current alarm in a pop-up window,
i.e., phenomenon, cause and solution.
5: Clear Current Alarm button. If there is a current alarm, click on this button to clear the current alarm to
enable the program to run properly. Its function is the same as the button to the right of the alarm
bar. Users may click on the to clear the alarm.
Historical Alarm
Click on "Historical Alarm" on the "Alarm Page" to access the "Historical Alarm" page, where you can view
the history of generated alarms.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-16
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
6: Historical Alarm Button: Click to switch to the "Historical Alarm" page, the interface will display the alarm
information occurred since the current start-up.
8: Get Historical Alarm: Synchronize all the historical alarms of the controller and update the interface of
historical alarms.
4.6.2 Log
There are three ways to view and export system logs:
Home>System Log>Log
Home>General Settings>System Diagnostics
Home>Advanced Settings>Local Settings>Close Teach Pendant>ESTool
Log
Click on the "Log" button in the "System Log" interface to switch to the logging interface.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-17
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
1: List of log files, showing the names of the log files. It is divided into the controller side and the teach
pendant side.
3: Display interface, which reads and displays the contents of the corresponding log files.
5: Clear cache: Clears the local cache of the controller log files on the teach pendant.
6: Update: Updates the controller and kernel log files and refreshes the log file list.
7: Export: Pops up a USB flash drive directory browser window (shown in 4-19 below) and selects the path
to the folder to be exported.
The file management interface, which pops up and displays the path of the export for the user to choose
when performing the USB export:
1: Display Interface: Shows file details, i.e. name, type, modification time, size.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-18
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
7: Creat New Folder: Creates a new folder under the current folder.
9: Paste: Pastes the copied file or folder into the target path.
System Diagnosis
Clicking "System Diagnosis" in the general setting interface, the system diagnosis interface will appear, as
shown in Figure 4-48.
Clicking "Update Log", the system will then enter the diagnostic mode, and produce a report after a while.
Clicking "ViewLog", the report of the most recent system diagnosis will appear. The log files of the diagnosis report
include ERC.log (controller running log), ErrLog.txt (controller running fault log), RTstart.elog (controller startup log), etc.
To export the diagnosis log file, user needs to prepare a U-disk, insert it into the USB port of the programming
pendant, then click "Export Log".
All log files (controller logs and programming pendant logs) will be exported to the root directory of the USB flash
drive.
Start ESTool
When the programming pendant is connected and the user type has been switched to "Administrator",
click the local settings in the System Home/Advanced Settings, and click "Turn off the teach pendant" in
the local settings power management, as shown in Figure 4-49. Then, start ESTool to enter the
maintenance mode of the teach pendant (Figure 4-50), and start ESTool by clicking keys in order.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-19
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
The system log files currently are available for viewing and exporting include ERC.log (controller running
log), RTstart.log (controller startup log), and RTdata.elog (controller running data log).
After the ESTool is started, click logView; select the desired system log on the left side of the interface, and
click “Refresh” to view the log information, as shown in Figure 4-51.
To export the system log file, insert the U-disk into the USB interface of the programming pendant, select
the log file to be exported on the left side of the interface, click “Refresh” and “Export”.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-20
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
4.6.3 Help
Click on the "Help" button in the "System Log" screen to switch to the help interface.
1: Display Area: Displays the parsed cases of the help file, e.g.: serial number, type, description.
3: Search Box: Enter keywords and the system will filter the search by the information in the short
description and details.
5: Page Turn button: Enter the page number to turn the page.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-21
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
Click "User Login" on the Home interface and enter the corresponding interface, as shown in Figure 4-53.
Current User
1. There are four user roles: "Administrator", "Programmer", "Operator" and "Factory Personnel", and by
default the login user role is "Operator".
Remark:
Manual/Auto mode is used for the teaching and playback of robot programs, while remote mode
means that the robot is controlled by external IO signals, PLC devices, etc. in production mode.
The above operating permissions are a general overview without considering the system mode. In
practice, the operating permissions of the same role for a certain function may be affected by the
system mode and may differ to some extent.
2. Different user roles have different operation permissions and the level of detail of the version
information they can view also differs. The level of permissions: "Manufacturer > Administrator >
Programmer > Operator" can be found in the Permission Assignment Table of Programming Pendant.
3. To switch between users: click on the drop-down list and select the required user role. To switch
between some user roles, you need to enter a password.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-22
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
Language
The default language is "Simplified Chinese". Users can choose to switch to another system language
from the drop-down menu. The switched language will take effect after a system restart.
Change Password
Users can click on the "Change Password" button, switch to the "Change Password" tab, enter the "New
Password" and "Confirm New Password" (you need to enter the same password twice) and click on the
"Save" button to change the password of the current login user.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-23
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
2. The functions in the "General Settings" interface are only available for the "Programmer" and
"Administrator" user types. To use them, please first switch between users in "Home > User Login".
Basic Settings
Using the Basic Settings, you can complete some basic settings for the operating software, such as
system time, program settings, remote settings and other basic operations.
Step 1 Click "General Settings" on the Home screen to enter the General Settings interface, as shown in Figure 4-
56.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-24
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
Step 2 Click on "Basic Settings" to enter the "Basic Settings" interface, as shown in Figure 4-57. Set the
corresponding parameters to suit the actual situation.
Step 3 Click on "System Time" to enter the "System Time" settings tab and set the "Date" or "Time" according to
your needs. ". After setting, click on the "Set Time" button, the control system and the teach pendant will
restart automatically, and the system time setting will take effect after the restart is finished.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-25
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
Step 4 Click on "Program Settings" to enter the "Program Settings" tab and set the appropriate parameters
according to your needs.
Tool
- Default Tool: Selects the type of tool that is loaded by default on boot. Default value: nullTool.
- Reset on program load/logout: By checking the box, the tool type will be the default after program
load/logout; by unchecking the box, the tool type will be the same after program load/logout as the
value set before reset.
Coordinates
- Default Coordinates: Selects the type of coordinate system that is loaded by default on boot. Default
value: World.
- Reset on program load/logout: By checking the box, the type of coordinates will be the default value
after reset; by unchecking the box, the type of coordinates will be the same after program load/logout
as the value set before program load/logout.
Pay Load
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-26
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
- Default Load Inertia: Selects the load inertia variable that is loaded by default on boot. Default value:
FullPayload.
- Reset on program load/logout: By checking, the load inertia type will be the default after program
load/logout; by unchecking, the type of coordinates after program load/logout will be the same as the
value set before reset.
Command Format
Enable the scope display of command parameters: set to distinguish between system variables, global
variables, project variables and program variables in the program.
S: System variable; G: Global variable; P: Program variable; L: Program variable.
Example: For the program variable in a program, check to display MovJ (L: P1, S: V100, "RELATIVE", S:
C100); uncheck to display MovJ (P1, V100, C100).
Note
Enable for reset on program load/logout, and support for power-down save function, i.e. after modification
of this parameter, the value is still the same as before power-down after power-off restart.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-27
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
2. The functions in Advanced Settings are only available for the "Admin" user type. To use them, please
first switch between users in "Home > User Login".
Local Settings
Step 1 Click "Advanced Settings" on the Home screen to enter the Advanced Settings interface, as shown in Figure
4-61.
Step 2 Click on "Local Settings" in the Advanced Settings interface to enter the Local Settings interface, as shown
in Figure 4-62.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-28
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
General settings:
Rob button: Check "Redefine", the Rob button does not allow access to the Quick Launcher.
Screen Brightness: User can set the screen brightness percentage and adjust the screen brightness (this
takes effect immediately after setting; the set brightness is not changed by rebooting the teach pendant).
Robot (only displayed in the virtual pendant):
Settings for the marking robot. Only displayed when using the virtual programming pendant to set the ID of
the marking robot.
Teach pendant timeout inactive (only displayed in physical teach pendant): screen off and logout if selected by
default
Screen OFF Wake up directly and go to the current interface Click on the pendant
only screen
Press the physical
Screen OFF Wake up with the interface showing the status
keys on the pendant
and logout before it goes off.
panel
Switch role to the "Operator".
Controller alarms and
Screen OFF Display the current role, enter the password wakes up actively
and locked and goes to the screen OFF interface.
Switch to another user, enter password and
turn off the lock screen.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-29
ER 系列工业机器人操作手册 Chapter 4 Introduction to System Functions
This function is only supported on physical teaching pendant and the screen OFF function is only supported
on T76 pendant.
Timeout inactivity includes: failure to tap on the pendant screen; failure to press any physical button on the
pendant; failure to turn the key switch, etc.
Power Management:
- When the controller is rebooted, the virtual pendant closes the virtual pendant program
and the pendant reboots. After clicking on the "Reboot controller system" button, a
password must be entered and the password is checked successfully before the
controller can be rebooted.
- When the controller is switched off, the virtual pendant switches off the virtual pendant
program and the physical pendant enters a selectable interface: pendant maintenance
mode. After clicking on the "Switch OFF Control System" button, enter the password, and
close the controller after a successful password check.
- After clicking on the "Close Teach Pendant" button, you will need to enter your password
and switch off the pendant after a successful password check.
Virtual Teach Pendant: If you are currently using a virtual pendant, close the pendant
program.
Physical Teach Pendant: If you are currently using a physical pendant, you can access
the selection screen: Pendant Maintenance Mode
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 4-30
ER 系列工业机器人操作手册 Chapter 5 Introduction to Variables
INT
This variable is used to store integers. It supports operations such as Create, Delete, and Modify in the
scope of the three major variables: Global, Project, and Program.
REAL
This variable is used to store real numbers. It supports operations such as Create, Delete, and Modify in
the scope of the three major variables: Global, Project, and Program.
STRING
This variable is used to store character strings. It supports operations such as Create, Delete, and Modify
in the scope of the three major variables: Global, Project, and Program.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 5-1
ER 系列工业机器人操作手册 Chapter 5 Introduction to Variables
BoolOneArray
This variable is used to store bool type array data. It supports operations such as Create, Delete, and
Modify in the scope of the three major variables: Global, Project, and Program.
IntOneArray
This variable is used to store the integer array data. It supports operations such as Create, Delete, and
Modify in the scope of the three major variables: Global, Project, and Program.
RealOneArray
This variable is used to store the real array data. It supports operations such as Create, Delete, and Modify
in the scope of the three major variables: Global, Project, and Program.
Caution
1. If the last command of the program is an assignment to a power-down memory variable, it may not be saved
successfully after execution and a wait period will be required afterwards. Similarly, there is a chance that a single-
step pc run on this assignment command will not save successfully.
2. If the count of data in an array variable is too large (e.g. count is 200), do not create the variable in the same
variable field as a variable with power-down memory enabled. For example, create an INT variable with the power-
down memory property in the Global domain, and then create a one-dimensional array variable in the project field.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 5-2
ER 系列工业机器人操作手册 Chapter 5 Introduction to Variables
POSCFG
Robot may have differed joint position combinations under the same Cartesian space position
(corresponding to the multiple solutions of the robot inverse solution). This attribute is used to define the
morphological configuration data corresponded to the spatial target point.
mode int -
cf1 int The value of quadrant where the angle of the #1 axis of the joint is located.
cf2 The value of quadrant where the angle of the #2 axis of the joint is located.
… int …
cf5 The value of quadrant where the angle of the #5 axis of the joint is located.
cf6 int The value of quadrant where the angle of the #6 axis of the joint is located.
Non-negative numbers: 0: (-pi,pi], 1: (pi,3pi], 2: (3pi,5pi], ...; 2pi difference between each quadrant
Negative numbers: -1: (-3pi,-pi], -2: (-5pi,-3pi], ...; -2pi difference between each quadrant
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 5-3
ER 系列工业机器人操作手册 Chapter 5 Introduction to Variables
There are eight sets of solutions for the dynamics of the general-purpose six-joint. The mode value is
defined as 0~7. The meanings are listed in table below:
Mode The relationship between the center of the wrist and the center of the Axis3(flag3) Axis5(flag5)
axis (flag1)
( θ5 )
(𝜃𝜃3 + 90
0: Front 1: Back𝑅𝑅 + 𝐿𝐿3 • 𝑐𝑐𝑐𝑐𝑐𝑐( 𝜃𝜃2 + 𝜃𝜃3 ) + 𝐿𝐿2 • 𝑠𝑠𝑠𝑠𝑠𝑠 𝜃𝜃2 + 𝑆𝑆 • 𝑠𝑠𝑠𝑠𝑠𝑠( 𝜃𝜃2 + 𝜃𝜃3 ) − 𝑎𝑎𝑎𝑎𝑎𝑎 tan(𝑆𝑆⁄𝐿𝐿3))
0: [0,180] 0: [0,180]
1:(-180,0) 1:(-180,0)
0 0 0 0
1 0 0 1
2 0 1 0
3 0 1 1
4 1 0 0
5 1 0 1
6 1 1 0
7 1 1 1
Note
mode = flag5 + 2*flag3 + 4*flag1
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 5-4
ER 系列工业机器人操作手册 Chapter 5 Introduction to Variables
aa: The relationship between the wrist center and the center of the axis is shown in the figure below. Front:
refers to the positive direction of x in the figure; Back: refers to the negative direction of x in the figure.
Wrist center
Meaning of bb: Axis3 (flag3): The second and third axis are on a straight line are taken as the boundary
condition. 0 is for forward inclination, and 1 is for backward inclination.
There are two sets of solutions for Scara dynamics. The mode values are defined as 0 and 1, with the
meanings listed as follows:
Mode Axis2(flag2)
(𝜃𝜃2 )
0:[0,180]
1: (-180,0)
0 0
1 1
Note
mode = flag2
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 5-5
ER 系列工业机器人操作手册 Chapter 5 Introduction to Variables
Mode Aixs2(flag2)
(𝜃𝜃2 + 90)
0: [0,180]
1: (-180,0)
0 0
1 1
Note
mode = flag2
There’re two sets of solutions for Scara hoisting dynamics. The mode value is defined as 0 and 1, with
the meanings listed below:
Mode Axis2(flag2)
(𝜃𝜃2 − 180)
0:[0,180]
1: (-180,0)
0 0
1 1
The Euler angle of the TCP point relative to the z-axis of the reference
a real
coordinates
The Euler angle of the TCP point relative to the y′-axis of the reference
b real
coordinates
The Euler angle of the TCP point relative to the x″-axis of the reference
c real
coordinates
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 5-6
ER 系列工业机器人操作手册 Chapter 5 Introduction to Variables
da16 real The angle offset of the #16 axis of the joint.
[Note] The number of parameters of axes will be displayed based on the number of axes. For example, the six-axis robot
displays d1~d6, while the scara robot displays d1~d4.
The Euler angle offset of TCP point relative to the z-axis of the reference
da real
coordinates.
The Euler angle offset of TCP point relative to the y′-axis of the reference
db real
coordinates.
The Euler angle offset of TCP point relative to the x″-axis of the reference
dc real
coordinates.
da16 real The angle offset of the #16 axis of the joint.
[Note] The number of parameters of axes will be displayed based on the number of axes.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 5-7
ER 系列工业机器人操作手册 Chapter 5 Introduction to Variables
APOSARRAY0[1]
APOSARRAY0[X] … APOS The stored individual APOS values
APOSARRAY0[1000]
CPOSARRAY0[X]
CPOSARRAY0[X] … CPOS The stored individual CPOS values
CPOSARRAY0[1000]
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 5-8
ER 系列工业机器人操作手册 Chapter 5 Introduction to Variables
LsThresh
The LsThresh variable is used to record the speed interval threshold for each joint axis to improve low
speed jitter in a certain speed interval and is used in conjunction with the gain ratio threshold parameter.
The range is [10,1000], in r/min. This variable can only be created and modified in the Global domain.
SYNCOORD
The SYNCOORD variable is used to record the parameters of the datum reference coordinates of a
moving target object during following, and to define its displacement and rotation relative to the World
Coordinates. The parameters can be calculated by the user based on the calibration of the variable
interface or entered by the user.
The Euler angle of rotation of the coordinates with respect to the z-axis of
a real
the World Coordinates, in deg.
The Euler angle of rotation of the coordinates with respect to the y′-axis of
b real
the World Coordinates, in deg.
The Euler angle of rotation of the coordinates with respect to the x″-axis of
c real
the World Coordinates, in deg.
POSITIONER
The POSITIONER type variable selects the positioner (ID) by index.
Note
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 5-9
ER 系列工业机器人操作手册 Chapter 5 Introduction to Variables
See "7.22 Functions of positioner" for calibration of the indexing positioner coordinates.
EXTTCP
EXTTCP variable is used to record the parameters of external tool coordinates, and to define the
displacement and rotation of the external tool coordinates relative to the world coordinates. The parameter
can be calculated based on the variable interface calibration, or be input by the user. This variable can only
be created and modified in the Global domain.
The unique index number of the external tool coordinates. The value
id int cannot be modified. It is assigned automatically by the system when being
created.
The Euler angle of external tool coordinates rotates relative to the z-axis of
a real
the world coordinates, in deg.
The Euler angle of external tool coordinates rotates relative to the y′-axis of
b real
the world coordinates, in deg.
The Euler angle of external tool coordinates rotates relative to the x″-axis of
c real
the world coordinates, in deg.
TOOL
The TOOL variable is used to record the tool parameters, and to define the displacement and rotation of
the tool end in relation to the robot flange. The parameter can be calculated by the user based on the
calibration of the variable interface or can be entered by the user. This variable can only be created and
modified in the Global domain.
The Euler angle of TCP relative to the z-axis of the flange coordinates, in
a real
deg.
The Euler angle of TCP relative to the y′-axis of the flange coordinates, in
b real
deg.
The Euler angle of TCP relative to the x″-axis of the flange coordinates, in
c real
deg.
The mass information of the tool, which is used to calculate the full model
dyn LoadDyn
of robot dynamics.
The system predefines the tool variable nullTool, in which the value of each offset is 0 by default. User can
define the tool coordinates to be used on the basis of site requirements.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 5-10
ER 系列工业机器人操作手册 Chapter 5 Introduction to Variables
USERCOOR
The USERCOOR variable is used to record user parameters, and to define the displacement and rotation
of the user coordinates relative to the world coordinates. This parameter can be calculated based on the
variable interface calibration, or be input by the user. The variable can only be created and modified in the
Global domain.
The unique index number of the user coordinates. The value cannot be
id int
modified. It is assigned automatically by the system when being created.
The displacement offset of the origin of the user coordinates relative to the
x real
world coordinates in the x direction, in mm.
The displacement offset of the origin of the user coordinates relative to the
y real
world coordinates in the y direction, in mm.
The displacement offset of the origin of the user coordinates relative to the
z real
world coordinates in the z direction, in mm.
The Euler angle of user coordinates rotates relative to the z-axis of the
a real
world coordinates, in deg.
The Euler angle of user coordinates rotates relative to the y′-axis of the
b real
world coordinates, in deg.
The Euler angle of user coordinates rotates relative to the x″-axis of the
c real
world coordinates, in deg.
The system predefines the world coordinates World, in which the value of each offset is 0 by default. User
can define the user coordinates to be used on the basis of site requirements.
PAYLOAD
The PAYLOAD variable is used to record the workpiece load parameters, and to define the robot end-load
parameters and mass information. The use of detailed mass information assists in the full model
calculation of the robot dynamics in order to improve the motion tact even more. This parameter can
currently only be entered by the user after calculating the value in advance, without a programming
pendant calibration calculation. This variable can only be created and modified in the Global domain.
The unique index number of the workpiece load. The value cannot be
id int
modified. It is assigned automatically by the system when being created.
The system has a predefined workload of PAYLOAD0, where the default value for each offset is 0. The
user may define the workpiece parameters to be used according to the site requirements.
ZONE
It is used to define how a motion ends, or to define the size of the turning area between two motion
trajectories. For easy use, the system presets the commonly used transition variables (system variables,
not to be modified by the user). It also supports operations such as Create, Delete, and Modify in the
scope of the three major variables Global, Project, and Program.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 5-11
ER 系列工业机器人操作手册 Chapter 5 Introduction to Variables
The size of the turning area in Cartesian space. It is used in linear arc
motion commands such asMovL, MovC, etc., to define the turning area
dis real size of the Cartesian space trajectory, that is, when the robot moves to a
place that is still dis mm away from the target point, it starts to move to the
next target point. It is in mm.
Constant speed transition enable state. The enable state indicating
whether the linear speed of the transition section to be constant or not. 1
means the transition is constant, and 0 means the change in the tracking
vConst int transition parameters.
Note:
In general, this parameter is used in low online speed, but the value will
change based on the robot type.
SPEED
It is used to define the motion speed of the robot and the external axis. For easy use, the system presets
the common speed variables (system variables, not to be modified by users). It also supports operations
such as Create, Delete, and Modify in the scope of the three major variables Global, Project, and Program.
The percentage of joint speed. It is used to specify the motion speed for
per real joint motion commands. It is applicable to commands MovJ, MovJRel and
MovJSearch, and the value ranged from 1% to 100%.
It is used to define the linear speed of the robot endpoint. It is used for
tcp real
MovL, MovC and other linear and circular motion commands.
The external axis linear speed. It is used to define the motion speed of the
exj_l real
external linear axis.
The angular speed of the external axis. It is used to define the motion
exj_r real
speed of the external rotating axis.
CenterPos
The center of mass vector is set based on the position of the installed tool or load on the coordinates OTool-
XYZ, which his described below.
The direction of the tool & load mass information reference coordinates is shown in Figure 5-1. Figure 5-2
shows the definition example of the tool & load mass information coordinates.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 5-12
ER 系列工业机器人操作手册 Chapter 5 Introduction to Variables
O-Tool
Z
The coordinate system OTool-XYZ is located at the end flange plane of the robot, and the Z axis of the
coordinate system is coaxial with the axis of the J6 joint (taking 6-axis robot as an example).
Z
Coordinate
System 1
.C
O-Tool
X
[Note] Please refer to the coordinates OTool-XYZ in Figure 5-1 for the mass information output coordinates of tools and loads.
The offset of the center of gravity C of the load of the installed tool or
Mx real
fixture in the X direction in coordinates OTool-XYZ, in mm.
The offset of the center of gravity C of the load of the installed tool or
My real
fixture in the Y direction in coordinates OTool-XYZ, in mm.
The offset of the center of gravity C of the load of the installed tool or
Mz real
fixture in the Z direction in coordinates OTool-XYZ, in mm.
InertiaTensor
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 5-13
ER 系列工业机器人操作手册 Chapter 5 Introduction to Variables
This parameter is the inertia tensor determined by the output coordinates Otool-XYZ of the installed tool or
load. Example of output coordinate system is show in Figure 5-2.
𝐿𝐿𝑥𝑥𝑥𝑥 -L𝑥𝑥𝑥𝑥 -L𝑥𝑥𝑥𝑥
Matrix representation of inertia tensor: 𝑂𝑂
𝐼𝐼 = �-L𝑥𝑥𝑥𝑥 𝐿𝐿𝑦𝑦𝑦𝑦 -L𝑦𝑦𝑦𝑦 �
-L𝑥𝑥𝑥𝑥 -L𝑦𝑦𝑦𝑦 𝐿𝐿𝑧𝑧𝑧𝑧
The moment of inertia when the load of the installed tool or fixture rotates
Lxx real
in the X direction at the center of gravity, in kg·mm2.
The moment of inertia when the load of the installed tool or fixture rotates
Lyy real
in the Y direction at the center of gravity, in kg·mm2.
The moment of inertia when the load of the installed tool or fixture rotates
Lzz real
in the Z direction at the center of gravity, in kg·mm2.
The product of inertia of the load of the installed tool or fixture in the XY
Lxy real
cross direction at the center of gravity, in kg·mm2.
The product of inertia of the load of the installed tool or fixture in the XZ
Lxz real
cross direction at the center of gravity, in kg·mm2.
The product of inertia of the load of the installed tool or fixture in the YZ
Lyz real
cross direction at the center of gravity, in kg·mm2.
LoadDyn
It is used to store the end tool & load mass parameters of robot, and to calculate the full model of robot
dynamics.
INTERRUPT
This variable is used to store information about the INTERUPT name as a unique index of the interrupt
identifier. It only supports It also supports operations such as Create, Delete, and Modify in the Global
variable scope.
COLLIPARAM
The COLLIPARAM variable is used to select the corresponding collision self-tuning parameter (ID) by
means of an index.
The range of values is [0, 6]. Where 0 means that the variable is invalid, and
index int
other means that the collision self-tuning parameter with ID index.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 5-14
ER 系列工业机器人操作手册 Chapter 5 Introduction to Variables
port int The digital input port number bound to such variable.
value int The value is 0 or 1, indicating the input status of the corresponding port.
DO
The digital output variable.
port int The digital output port number bound to such variable.
value int The value is 0 or 1, indicating the output status of the corresponding port.
AI
The analog input variable.
port int The analog input port number bound to such variable.
Its value is ranged from -10 to 10V, indicating the input voltage value of the
value real
corresponding port.
AO
The analog output variable.
port int The analog output port number bound to such variable.
Its value is ranged from -10 to 10V, indicating the output voltage value of
value real
the corresponding port.
SimDI
The virtual analog input variable.
port int The virtual analog input port number bound to such variable.
value int The value is 0 or 1, indicating the input status of the corresponding port.
SimDO
The virtual analog output variable.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 5-15
ER 系列工业机器人操作手册 Chapter 5 Introduction to Variables
port int The virtual digital output port number bound to such variable.
value int The value is 0 or 1, indicating the output status of the corresponding port.
SimAI
The virtual analog input variable.
port int The virtual analog input port number bound to such variable.
SimAO
The virtual analog output variable.
port int The virtual analog output port number bound to such variable.
Amp_L real The amplitude when the robot weaves left, in mm.
Amp_R real The amplitude when the robot weaves right, in mm.
The time when robot stops at wave peak. It refers to the time in ms at
StopTime_L int
which the weaving stops when it reaches the left amplitude.
The time when robot stops at the middle. It refers to the time in ms at
StopTime_C int
which the weaving stops when it reaches the middle position.
The time when robot stops at wave trough. It refers to the time in ms at
StopTime_R int
which the weaving stops when it reaches the right amplitude.
The rotating angle of the weaving reference plane around the weaving
RotAngle_X real direction. This parameter is used to determine the final weaving plane, in
deg.
The rotating angle around the normal vector of the weaving plane, which
RotAngle_Z real
determines the shape of the sine weave, in deg.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 5-16
ER 系列工业机器人操作手册 Chapter 5 Introduction to Variables
Caution
The normal vector of the plane determined by the motion path and the Tz direction of tool coordinates,
and the plane formed by the motion path is the reference plane for weaving.
The function of RotAngle_Z is in the figure below: it is indicated by a solid line if RotAngle_Z=0 is a
solid line, and a dotted line if it is not 0.
Data
Parameter Meaning
type
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 5-17
ER 系列工业机器人操作手册 Chapter 5 Introduction to Variables
Data
Parameter Meaning
type
lenYH real The width of the rectangular area, or the height of the cylindrical area.
POLYHEDRON
The POLYHEDRON variable selects the polyhedron region (ID) by index. It supports only the operations
such as Create, Delete and Modify in the Global domin.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 5-18
ER 系列工业机器人操作手册 Chapter 5 Introduction to Variables
PLCBOOL
It is used to store PLC boolean values, which correspond to bool variables on the plc side according to the
data number. It supports only the operations such as Create, Delete and Modify in the Global domin.
PLCINT
It is used to store PLC short integer data according to the data number corresponding to the int variable on
the PLC side. This variable only supports operations such as Create, Delete, and Modify in the global
variable scope.
PLCDINT
It is used to store PLC short integral values, which correspond to dint variables on the plc side according to
the data number. It supports only the operations such as Create, Delete and Modify in the Global domin.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 5-19
ER 系列工业机器人操作手册 Chapter 5 Introduction to Variables
PALLET
It is used to store the Pallet information. This variable allows users to create and modify independently. It
supports operations such as Create, Delete, and Modify in the scope of Global and Project variables.
xdistOfPart real The length of a single workpiece in the x direction of the pallet.
ydistOfPart real The length of a single workpiece in the y direction of the pallet.
zdistOfPart real The length of a single workpiece in the z direction of the pallet.
palletEntryScope int The scope of the palletizing entry point position variable.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 5-20
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-1
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
− RELATIVE: Relative transition. The transition parameter is a relative value that represents the
percentage of the distance from the transition point to the path endpoint relative to the full length of
the path.
No transition, speed to zero.
无过渡,速度到零
过渡,速度不到零
Transition, speed doesnt reach zero.
V
time
− ABSOLUTE: Absolute transition. The transition parameter is an absolute value that represents the
distance from the transition point to the endpoint of path.
p1
p0
Smaller
较小的过渡参数transition parameter
p2
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-2
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Target Position: The commanded ending position, which can be of type APOS or CPOS.
Select an existing point in the drop-down list or create and teach a new variable in the pop-up dialog.
Target speed: The running speed of command.
− When setting it to “DEFAULT”, the default value V4000 will be used.
− When it is set to SPEED variable, you can select the system pre-defined one, or create it by
yourself; the item per controls the MovJ command, which is the percentage of the global speed.
Transition type: The way of transition when the robot approaches the endpoint.
− DEFAULT: Default, i.e. no transition parameter is set in the command. If the SetBlendParam
parameter is used in the program, the transition operates according to the globally set transition
parameter.
− FINE: Equivalent in effect to DEFAULT.
− RELATIVE: Relative transition, where the transition parameter is a relative value that represents the
distance from the transition point to the end of the track as a percentage of the full trajectory path.
− ABSOLUTE: Absolute transition, where the transition parameter is an absolute value indicating the
distance from the transition point to the endpoint of path.
Transition Value: The transition value when the robot approaches the endpoint.
− When setting it to “DEFAULT”, the default value C100 will be used.
− When it is set to ZONE variable, you can select the system pre-defined one, or create it by yourself;
it means no transition when the variable value is 0; the greater the transition value, the larger the
transition radius.
Tool Parameters: The tool parameters used when the robot executes the path.
− When setting it to “DEFAULT”, the tool parameters set last time will be continuously used.
− When it is set to TOOL variable, you can select the system pre-defined one, or create it by yourself.
When using a coordinate system different from the current tool parameters, the system will switch
the tool parameters to the set ones. If the tool parameters of the path of current segment and the
preceding/next segments change, the transition will not be supported.
Coordinate System Parameters: The coordinate system parameters used by the robot when executing the path.
− When setting it to “DEFAULT”, the tool coordinate system set last time will be continuously used.
− When it is set to USERCOOR variable, you can select the system pre-defined one, or create it by
yourself. When a coordinate system different from the current one is used, the system will switch
the coordinate system to the set one.
Workpiece load: The workpiece load parameter used by the robot when executing the path.
− It is set to “DEFAULT”, which means to continue to use the workpiece load parameters set last time.
− When it is set to PAYLOAD variable, you can select the system pre-defined one, or create it by
yourself; when a load parameter different from the current workpiece load parameter is used, the
system will switch the workpiece load parameter to the set parameter. If the tool parameters of the
path of current segment and the preceding/next segments change, the transition will not be
supported.
Rate type: Whether the robots commanded speed is affected b y the global multiplier of the programming pendant
when executing this path.
− DEFAULT: Same as GOVRON, i.e. the commanded speed is affected by the global multiplier of the
programming pendant.
− GOVRON: The commanded speed is affected by the global multiplier of the programming pendant.
− GOVROFF: The commanded speed is not affected by the global multiplier of the programming
pendant.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-3
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
AddDo: The robot can perform IO operation after executing this command.
− NULL: No operation.
− IO commands: Executing IO operation. The IO commands currently available are SetDo, SetAo,
SetSimDo, SetSimAo, PulseOut, PulseSimOut, SetDO8421, SetSimDO8421, SetDIEdge, and
SetSimDIEdge.
Middle position: The position of the auxiliary point in the middle of the arc.
Target position: The final position of the arc.
Target speed: The running speed of command.
− When setting it to “DEFAULT”, the default value V4000 will be used.
− When it is set to SPEED variable, you can select the system pre-defined one, or create it by
yourself.
Transition type: The way of transition when the robot approaches the endpoint.
− DEFAULT: Default, i.e. no transition parameter is set in the command. If the SetBlendParam
parameter is used in the program, the transition mode operates as per the globally set transition
parameter.
− FINE: Equivalent in effect to DEFAULT.
− RELATIVE: Relative transition. The transition parameter is a relative value that represents the
percentage of the distance from the transition point to the path endpoint relative to the full length of
the path.
− ABSOLUTE: Absolute transition. The transition parameter is an absolute value that represents the
distance from the transition point to the endpoint of path.
Transition Value: The transition value when the robot approaches the endpoint.
− When setting it to “DEFAULT”, the default value C100 will be used.
− When it is set to ZONE variable, you can select the system pre-defined one, or create it by yourself;
it means no transition when the variable value is 0; the greater the transition value, the larger the
transition radius.
Tool Parameters: The tool parameters used when the robot executes the path.
− When setting it to “DEFAULT”, the tool parameters set last time will be continuously used.
− When it is set to TOOL variable, you can select the system pre-defined one, or create it by yourself.
When using a coordinate system different from the current tool parameters, the system will switch
the tool parameters to the set ones. If the tool parameters of the path of current segment and the
preceding/next segments change, the transition will not be supported.
Coordinate System Parameters: The coordinate system parameters used by the robot when executing the path.
− When setting it to “DEFAULT”, the tool coordinate system set last time will be continuously used.
− When it is set to USERCOOR variable, you can select the system pre-defined one, or create it by
yourself. When a coordinate system different from the current one is used, the system will switch
the coordinate system to the set one.
− When it is set to external tool coordinates, the motion of robot is relative to the external tool
coordinates, and the target speed of command is relative to the external tool coordinates. External
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-4
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
TCP functions support only the transition between the reference coordinate system is the same
external tool coordinates.
− When setting it to the positioner coordinates, the robot’s motion is relative to the positioner
coordinates, and the target speed of command is relative to the positioner flange. The
POSITIONER function supports only the transition between the same positioner.
Workpiece load: The workpiece load parameter used by the robot when executing the path.
− It is set to “DEFAULT”, which means to continue to use the workpiece load parameters set last time.
− When it is set to PAYLOAD variable, you can select the system pre-defined one, or create it by
yourself; when a load parameter different from the current workpiece load parameter is used, the
system will switch the workpiece load parameter to the set parameter. If the tool parameters of the
path of current segment and the preceding/next segments change, the transition will not be
supported.
Rate type: Whether the robots commanded speed is affected by the global multiplier of the programming pendant
when executing this path.
− DEFAULT: Same as GOVRON, i.e. the commanded speed is affected by the global multiplier of the
programming pendant.
− GOVRON: The commanded speed is affected by the global multiplier of the programming pendant.
− GOVROFF: The commanded speed is not affected by the global multiplier of the programming
pendant.
AddDo: The robot can perform IO operation after executing this command.
− NULL: No operation.
− IO Command: Executing IO operation.
Middle position
When the end of the robot TCP performs a full circular motion, two MovC commands must be executed or
the MovCircle command must be used.
Middle Position 1: The position 1 of the middle auxiliary point of the full circle, which is used to determine the size
and movement direction of the arc. The pose of this point will not affect the final trajectory.
Middle Position 2: The position 2 of the middle auxiliary point of the full circle, which is used to determine the size
and movement direction of the arc. The pose of this point will not affect the final trajectory.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-5
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-6
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Middle
中间位置1 position 1
起始位置
Starting position 中间位置2
Middle position 2
Unlike the commands such as MovJ, the target relative position value used by this command cannot be
obtained through teaching. User needs to create a new joint relative position variable in the list of variables
before, and then select it from the drop-down list.
Target Relative Position: The position increment the robot will move when executing this command.
Target speed: The running speed of command.
− When setting it to “DEFAULT”, the default value V4000 will be used.
− When it is set to SPEED variable, you can select the system pre-defined one, or create it by
yourself.
Transition type: The way of transition when the robot approaches the endpoint.
− DEFAULT: Default, i.e. no transition parameter is set in the command. If the SetBlendParam
parameter is used in the program, the transition mode operates as per the globally set transition
parameter.
− FINE: Equivalent in effect to DEFAULT.
− RELATIVE: Relative transition. The transition parameter is a relative value that represents the
percentage of the distance from the transition point to the path endpoint relative to the full length of
the path.
− ABSOLUTE: Absolute transition. The transition parameter is an absolute value that represents the
distance from the transition point to the endpoint of path.
Transition Value: The transition value when the robot approaches the endpoint.
− When setting it to “DEFAULT”, the default value C100 will be used.
− When it is set to ZONE variable, you can select the system pre-defined one, or create it by yourself;
it means no transition when the variable value is 0; the greater the transition value, the larger the
transition radius.
Workpiece load: The workpiece load parameter used by the robot when executing the path.
− It is set to “DEFAULT”, which means to continue to use the workpiece load parameters set last time.
− When it is set to PAYLOAD variable, you can select the system pre-defined one, or create it by
yourself; when a load parameter different from the current workpiece load parameter is used, the
system will switch the workpiece load parameter to the set parameter. If the tool parameters of the
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-7
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
path of current segment and the preceding/next segments change, the transition will not be
supported.
AddDo: Robot will perform IO operation after executing this command.
Unlike the commands such as MovL, the target relative position value used by this command cannot be
obtained through teaching. User needs to create a new joint relative position variable in the list of variables
before, and then select it from the drop-down list.
Target Relative Position: The position increment the robot will move when executing this command.
Reference Coordinates: coordinate system offset or tool offset selection;
− Coord: offset relative to the current user coordinates;
− Tool: offset relative to the tool coordinates, i.e. translation or rotation with reference to Tx, Ty, Tz.
Target speed: The running speed of command.
− When setting it to “DEFAULT”, the default value V4000 will be used.
− When it is set to SPEED variable, you can select the system pre-defined one, or create it by
yourself.
Transition type: The way of transition when the robot approaches the endpoint.
− DEFAULT: Default, i.e. no transition parameter is set in the command. If the SetBlendParam
parameter is used in the program, the transition mode operates as per the globally set transition
parameter.
− FINE: Equivalent in effect to DEFAULT.
− RELATIVE: Relative transition. The transition parameter is a relative value that represents the
percentage of the distance from the transition point to the path endpoint relative to the full length of
the path.
− ABSOLUTE: Absolute transition. The transition parameter is an absolute value that represents the
distance from the transition point to the endpoint of path.
Transition Value: The transition value when the robot approaches the endpoint.
− When setting it to “DEFAULT”, the default value C100 will be used.
− When it is set to ZONE variable, you can select the system pre-defined one, or create it by yourself;
it means no transition when the variable value is 0; the greater the transition value, the larger the
transition radius.
Workpiece load: The workpiece load parameter used by the robot when executing the path.
− It is set to “DEFAULT”, which means to continue to use the workpiece load parameters set last time.
− When it is set to PAYLOAD variable, you can select the system pre-defined one, or create it by
yourself; when a load parameter different from the current workpiece load parameter is used, the
system will switch the workpiece load parameter to the set parameter. If the tool parameters of the
path of current segment and the preceding/next segments change, the transition will not be
supported.
Rate type: Whether the robot’s commanded speed is affected by the global multiplier.
− DEFAULT: Same as GOVRON, i.e. the commanded speed is affected by the global multiplier of the
programming pendant.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-8
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
− GOVRON: The commanded speed is affected by the global multiplier of the programming pendant.
− GOVROFF: The commanded speed is not affected by the global multiplier of the programming
pendant.
AddDo: Robot will perform IO operation after executing this command.
In contrast to the MovJRel command, the starting position specified by the MovJOffset command is
not limited to the position of the current robot or the target position of the previous motion command, and
can be offset relative to the coordinates or tool.
Reference position: the starting point of the offset movement (APOS or CPOS);
Target relative position: position increment in which the robot is to move when this command is executed
(DAPOS or DCPOS);
Reference Coordinates: Coordinates offset or tool offset selection. Where, "Coord" means offset relative
to the current user coordinates and "Tool" means offset relative to the tool coordinates, i.e. translation or
rotation with reference to Tx, Ty, Tz;
Tool parameters: information about the tool to which the reference position belongs;
Coordinate system parameter: information about the coordinate system to which the reference position
belongs;
Target speed: the commanded run speed (SPEED type variable), where only the per parameter is
absolutely valid for this command;
Transition type: The way of transition when the robot approaches the endpoint. RELATIVE: Relative
transition. The transition parameter is a relative value that represents the percentage of the distance from
the transition point to the path endpoint relative to the full length of the path. ABSOLUTE: Absolute
transition. The transition parameter is an absolute value that represents the distance from the transition
point to the endpoint of path.
Transition value: the transition value (variable of type ZONE) at which the robot approaches the end,
where the per parameter is valid for relative transition types and the dis parameter is valid for absolute
transition types;
Workpiece load: The workpiece load parameter used by the robot when executing the path.
It differs from MovLRel only in that it specifies the starting point of the offset movement, not necessarily the
current position or the endpoint of the previous command, and all other functions are the same.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-9
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
When the search condition is IO detection and the value of index IO reaches the triggered value, stop
running the command and continue to execute the next command with the interrupt return value set to 1.
When the search condition is torque detection and the value of the index axis torque reaches the triggered
value, stop running the command and continue to execute the next command, with the interrupt return
value set to X.
If there is no interruption during the command execution, set the interrupt return value to 0.
Target position: The final position of the command (the position point of APOS or CPOS).
Target speed: The speed at which the command position is run (SPEED variable). Only the PER parameter is
absolutely valid for this command.
Tool parameter: Information on the tool.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-10
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Coordinate system parameter: Cartesian coordinate system to which the target position refers.
Workload: Information on the workload.
Transition type: The way of transition when the robot approaches the endpoint.
− DEFAULT: Default, i.e. no transition parameter is set in the command. If the SetBlendParam
parameter is used in the program, the transition operates according to the globally set transition
parameter.
− FINE: Equivalent in effect to DEFAULT.
Note: MovJSearch does not support transition planning with the next motion command in the current
version.
Type of detection:
− DITrig: Physical digital IO input detection.
− AITrig: Physical analogue IO input detection.
− SIMDITrig: Virtual digital IO input detection.
− SIMAITrig: Virtual analogue IO input detection.
− TorqTrig: Torque detection.
Trigger index:
− For DITrig/SIMDITrig/ AITrig/ SIMAITrig, this parameter indicates the IO port number to be detected.
− For TorqTirg, this parameter indicates the axis number to be detected.
Trigger value:
− For DITrig/SIMDITrig/ AITrig/ SIMAITrig, the threshold for IO detection.
− For InputTrig, the threshold for IO detection.
For TorqTirg, the threshold value for torque detection, in thousandths of the nominal torque.
STOP type: The way to stop when a signal is detected.
− DEFAULT: Stops immediately;
− HARDSTOP: Stops immediately;
− SOFTSTOP: Stop at reduced speed.
Decel Factor: The value is valid when "SOFTSTOP" is selected as "Stop Type". It is used to adjust the Decel/Accel
factor, the greater the value, the faster the deceleration.
AddDo: Robot will perform IO operation after executing this command.
Returned value: The returned value determines whether there is an interrupt during the run. 0: not detected; 1:
Searching succeeded; 2: Signal is detected at the start of the movement
Position of successful search: Returns the coordinate position of the robot at the moment of the interrupt. (APOS
type). This parameter can be defaulted.
Label name to jump to in case of a search failure: The name of the label to which the program pointer will jump in
case of a search failure, which is the name of a label already taught in the current program (e.g. "Start:"). This parameter
can be defaulted.
Note
Transition planning with the next motion command is not supported in the current version of MovJSearch.
Example 1:
When the search condition is of IO detection and the value of the indexed IO reaches the trigger value,
stop running this command and continue to execute the next command with the interrupt return value set
to 1.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-11
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
When the search condition is of torque detection and the value of the index axis torque reaches the trigger
value, stop running the command and continue to execute the next command, with the interrupt return
value set to 1.
If there is no interrupt during the command running, set the interrupt return value to 0.
Target position: The final position of the command (the position point of APOS or CPos).
Target speed: The position running speed of command (SPEED variable), where the parameter tcp is
valid for the command linear speed and ori is valid for the pose speed (and neither can be 0).
Transition type: The way of transition when the robot approaches the endpoint.
− DEFAULT: Default, i.e. no transition parameter is set in the command. If the SetBlendParam
parameter is used in the program, the transition operates according to the globally set transition
parameter.
− FINE: Equivalent in effect to DEFAULT.
Note: MovJSearch does not support transition planning with the next motion command in the current
version.
Type of detection:
− DITrig: Physical digital IO input detection.
− AITrig: Physical analogue IO input detection.
− SIMDITrig: Virtual digital IO input detection.
− SIMAITrig: Virtual analogue IO input detection.
For DITrig/SIMDITrig/ AITrig/ SIMAITrig, this parameter indicates the IO port number to be detected.
For InputTrig, the threshold value for torque detection, in thousandths of nominal torque.
STOP type: The way to stop when a signal is detected.
− DEFAULT: Stops immediately;
− HARDSTOP: Stops immediately;
− SOFTSTOP: Stop at reduced speed.
Decel Factor: The value is valid when "SOFTSTOP" is selected as "Stop Type". It is used to adjust the Decel/Accel
factor, the greater the value, the faster the deceleration.
Returned value: The returned value determines whether there is an interrupt during the run. 0: not
detected; 1: Searching succeeded; 2: Signal is detected at the start of the movement
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-12
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Position of successful search: Returns the coordinate position of the robot at the moment of the
interrupt. (CPOS type). This parameter can be defaulted.
Label name to jump to in case of a search failure: The name of the label to which the program pointer will
jump in case of a search failure, which is the name of a label already taught in the current program (e.g.
"Start:"). This parameter can be defaulted.
AddDo: Robot will perform IO operation after executing this command.
Note
Transition planning with the next motion command is not supported in the current version of MovLSearch.
Example 1:
Target position: The final position of the command (the position point of APOS or CPos).
Select an existing point from the drop-down list or create and teach a new variable in the pop-up dialog box.
Target speed: The running speed of command.
− When setting it to “DEFAULT”, the default value V4000 will be used.
− When it is set to SPEED variable, you can select the system pre-defined one, or create it by
yourself.
Transition type: The way of transition when the robot approaches the endpoint.
− DEFAULT: Default, i.e. no transition parameter is set in the command. If the SetBlendParam
parameter is used in the program, the transition mode operates as per the globally set transition
parameter.
− FINE: Equivalent in effect to DEFAULT.
− RELATIVE: Relative transition. The transition parameter is a relative value that represents the
percentage of the distance from the transition point to the path endpoint relative to the full length of
the path.
− ABSOLUTE: Absolute transition. The transition parameter is an absolute value that represents the
distance from the transition point to the endpoint of path.
Transition Value: The transition value when the robot approaches the endpoint.
− When setting it to “DEFAULT”, the default value C100 will be used.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-13
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
− When it is set to ZONE variable, you can select the system pre-defined one, or create it by yourself;
it means no transition when the variable value is 0; the greater the transition value, the larger the
transition radius.
Tool Parameters: The tool parameters used when the robot executes the path.
− When setting it to “DEFAULT”, the tool parameters set last time will be continuously used.
− When it is set to TOOL variable, you can select the system pre-defined one, or create it by yourself.
When using a coordinate system different from the current tool parameters, the system will switch
the tool parameters to the set ones. If the tool parameters of the path of current segment and the
preceding/next segments change, the transition will not be supported.
Coordinate System Parameters: The coordinate system parameters used by the robot when executing the path.
− When setting it to “DEFAULT”, the tool coordinate system set last time will be continuously used.
− When it is set to USERCOOR variable, you can select the system pre-defined one, or create it by
yourself. When a coordinate system different from the current one is used, the system will switch
the coordinate system to the set one.
− When setting it to the positioner coordinates, the robot’s motion is relative to the positioner
coordinates, and the target speed of command is relative to the positioner flange. The
POSITIONER function supports only the transition between the same positioner.
Workpiece load: The workpiece load parameter used by the robot when executing the path.
− It is set to “DEFAULT”, which means to continue to use the workpiece load parameters set last time.
− When it is set to PAYLOAD variable, you can select the system pre-defined one, or create it by
yourself; when a load parameter different from the current workpiece load parameter is used, the
system will switch the workpiece load parameter to the set parameter. If the tool parameters of the
path of current segment and the preceding/next segments change, the transition will not be
supported.
Swinging arc variable: The weaving parameter.
The swing frequency, amplitude, stop time, rotation, etc. can be set.
Rate type: Whether the robot’s commanded speed is affected by the global multiplier of the programming pendant
when executing this path.
− DEFAULT: Same as GOVRON, i.e. the commanded speed is affected by the global multiplier of the
programming pendant.
− GOVRON: The commanded speed is affected by the global multiplier of the programming pendant.
− GOVROFF: The commanded speed is not affected by the global multiplier of the programming
pendant.
AddDo: Robot will perform IO operation after executing this command.
− NULL: No operation.
− IO command: Performs IO operations.
Note
The WEAVE variable has the following parameters:
Type: Weave type of robot. It is a sine Weave when the value is 1, and is a triangular Weave when the
value is 2.
Freq: The frequency when the robot weaves, in Hz.
Amp_L: The left amplitude when the robot weaves, in mm.
Amp_R: The right amplitude when the robot weaves, in mm.
StopTime_L: The time when robot stops at wave peak. It refers to the time in ms at which the weaving
stops when it reaches the left amplitude.
StopTime_C: The time when robot stops at the middle. It refers to the time in ms at which the weaving
stops when it reaches the middle position.
StopTime_R: The time when robot stops at wave trough. It refers to the time in ms at which the
weaving stops when it reaches the right amplitude.
RotAngle_X: The rotating angle of the weaving reference plane around the weaving direction. This
parameter is used to determine the final weaving plane, in deg.
RotAngle_Z: The rotating angle around the normal vector of the weaving plane, which determines the
shape of the sine weave, in deg.
Caution
The normal vector of the plane determined by the motion path and the Tz direction of tool coordinates,
and the plane formed by the motion path is the reference plane for weaving.
The function of RotAngle_Z is in the figure below: it is indicated by a solid line if RotAngle_Z=0 is a
solid line, and a dotted line if it is not 0.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-14
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
MovCW
Similar to MovLW.
MovCircleW
Similar to MovLW.
Middle position: The position of the helical middle auxiliary point. The auxiliary point is used to determine the helical
plane and the helical direction (precession in clockwise and counterclockwise). The helical movement may not pass
through the auxiliary point
Target position: Helical end position
Target speed: the speed at which the command position is run, where the parameter tcp is valid for the linear speed
of the command and ori is valid for the posture speed. The maximum path linear speed of the helical line is 0.25 times
the maximum system speed
Transition type: Transition not supported
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-15
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Tool Parameters: The tool parameters used when the robot executes the path.
− When setting it to “DEFAULT”, the tool parameters set last time will be continuously used.
− When it is set to TOOL variable, you can select the system pre-defined one, or create it by yourself.
When using a coordinate system different from the current tool parameters, the system will switch
the tool parameters to the set ones. If the tool parameters of the path of current segment and the
preceding/next segments change, the transition will not be supported.
Coordinate System Parameters: The coordinate system parameters used by the robot when executing the path.
− When setting it to “DEFAULT”, the tool coordinate system set last time will be continuously used.
− When it is set to USERCOOR variable, you can select the system pre-defined one, or create it by
yourself. When a coordinate system different from the current one is used, the system will switch
the coordinate system to the set one.
− When setting it to the positioner coordinates, the robot’s motion is relative to the positioner
coordinates, and the target speed of command is relative to the positioner flange. The
POSITIONER function supports only the transition between the same positioner.
Workpiece load: The workpiece load parameter used by the robot when executing the path.
− It is set to “DEFAULT”, which means to continue to use the workpiece load parameters set last time.
When it is set to PAYLOAD variable, you can selected the system pre-defined one, or create it by yourself; when a
load parameter different from the current workpiece load parameter is used, the system will switch the workpiece load
parameter to the set parameter. If the workpiece load of the path of current segment and the preceding/next segments
change, the transition will not be supported.
Radius: Helical line radius, in mm
Stepping distance: The stepping distance when the helical line makes one revolution, in mm
AddDo: The robot can perform IO operations after executing this comman
Note
For Helical motion, the transition and WaitFinish are not supported.
Example:
MovL (P1, V50, ”RELATIVE”, C50)
MovH (P2,P3, V100, ”FINE”,nullTool,World,PayLoad0,10,5)
The robot will move to point P1 at the speed of V50, and then when executing the Helical
command by taking point P1 as the starting point of the motion, and determining the
Helical motion plane using the three points P1, P2, and P3, while determining the
precession direction using point P2. Then, perform the precession to the endpoint P3 at a
helical radius of 10mm and the step distance of 5mm. The entire helical motion is
finished by this moment.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-16
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Height h2
Height h1
Target point
Current
Note
This command is only for scara model currently.
Target position: The final position of the command (the position point of APOS or CPOS).
Select an existing point from the drop-down list, or create a new a variable in the pop-up dialog box for teaching.
Target speed: The running speed of the command (SPEED variable).
Transition type: The way of transition when the robot approaches the endpoint.
− DEFAULT: Default, i.e. no transition parameter is set in the command. If the SetBlendParam
parameter is used in the program, the transition operates according to the globally set transition
parameter.
− FINE: Equivalent in effect to DEFAULT.
− RELATIVE: Relative transition, where the transition parameter is a relative value that represents the
distance from the transition point to the end of the track as a percentage of the full trajectory path.
− ABSOLUTE: Absolute transition, where the transition parameter is an absolute value indicating the
distance from the transition point to the endpoint of path.
Transition value: The transition value when the robot approaches the endpoint (ZONE variable).
− When setting it to “DEFAULT”, the default value C100 will be used.
− When it is set to ZONE variable, you can select the system pre-defined one, or create it by yourself;
it means no transition when the variable value is 0; the greater the transition value, the larger the
transition radius.
Tool Parameters: The tool parameters used when the robot executes the path.
− When setting it to “DEFAULT”, the tool parameters set last time will be continuously used.
− When it is set to TOOL variable, you can select the system pre-defined one, or create it by yourself.
When using a coordinate system different from the current tool parameters, the system will switch
the tool parameters to the set ones. If the tool parameters of the path of current segment and the
preceding/next segments change, the transition will not be supported.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-17
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Coordinate System Parameters: The coordinate system parameters used by the robot when executing the path.
− When setting it to “DEFAULT”, the tool coordinate system set last time will be continuously used.
− When it is set to USERCOOR variable, you can select the system pre-defined one, or create it by
yourself. When a coordinate system different from the current one is used, the system will switch
the coordinate system to the set one.
Workpiece load: The workpiece load parameter used by the robot when executing the path.
− It is set to “DEFAULT”, which means to continue to use the workpiece load parameters set last time.
− When it is set to PAYLOAD variable, you can select the system pre-defined one, or create it by
yourself; when a load parameter different from the current workpiece load parameter is used, the
system will switch the workpiece load parameter to the set parameter. If the tool parameters of the
path of current segment and the preceding/next segments change, the transition will not be
supported.
Lifting height: The height that the end of robot needs to elevate when performing arching motion, as shown in
Figure h1.
Descending height: The height at which the end of the robot descends when executing an arching motion, as in
Figure h2.
Rotating angle value: The transition parameters (ZONE variables) when the robot performs an arcing motion.
AddDo: Robot will perform IO operation after executing this command.
− NULL: No operation.
− IO command: Execute IO operations.
Example:
MovL (P1, V50, ”RELATIVE”, C50)
MovArch (P2, V100, ”FINE”,10,10,C100)
The robot will first move to the point P1 with a speed of V50, after which it will execute the arch command. It will first move to the
position P1.z+ 10 mm with a speed of V100, then to the position P2.z+ 10 mm, and finally to the position P2, with a C100
transition throughout the movement.
As shown in the diagram below: First, the robot elevates h1 at the current point, then moves to a height
of h2 from the target point, and finally descends h2 again to reach the target point. This is a cycle of
arching motion.
This arching motion is a spatial linear motion mode. When the robot moves directly to the target point, it
is automatically elevated to a height outside the obstacle and then moves to the target point to improve
safety and operability.
Height h2
Height h1
Target point
Current point
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-18
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Target position: The final position of the command (the position point of APOS or CPOS).
Target speed: the speed at which the command is run;
Transition type: the way of transition when the robot approaches the endpoint; DEFAULT.
Transition value: the value of the transition when the robot approaches the end point;
Tool parameters: the tool parameters used by the robot to execute the path;
Coordinate system parameters: the parameters of the coordinate system used by the robot to execute
the path;
Workpiece load: the workpiece load parameter used by the robot to execute the path;
Lifting height: The height that the end of robot needs to elevate when performing arching motion, as
shown in Figure h1;
Descending height: The height at which the end of the robot descends when executing an arching motion,
as in Figure h2;
Rotating angle value: The transition parameters when the robot performs an arcing motion;
Rate type: whether the commanded speed is affected by the global multiplier of the teach pendant when
the robot executes this path;
AddDo: The robot can perform IO operation after executing this command.
Note
The MovLArch command is currently only available for Scara models.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-19
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
When the trigger type is set to judge from the starting point, the controller will enter the trigger waiting after
the robot moves to the set distance, and after delaying the trigger time (time is positive), it will start to
perform the related trigger operations.
When the trigger type is set to judge from the endpoint, the controller will enter the trigger waiting after the
robot moves to the set distance, and after delaying the trigger time (time is positive), it will start to perform
the related trigger operations.
When the trigger time is negative, the controller calculates in advance how long it will take before the robot
moves to the set distanc. When the delay reaches the trigger time, the system will start to perform the
trigger operations.
Trigger type: Specify whether the current trigger is made at a certain distance from the start point or at a distance to
the endpoint.
Trigger distance: The distance parameter for the trigger. This parameter is of the REALC parameter type, i.e. it can
be entered either as a constant or as a variable of the REAL type.
Trigger time: The time delayed for trigger after the trigger condition is met. This parameter is of an INTC parameter
type, which can be entered as either a constant or an INT type variable. When set to a negative number, it indicates
an early trigger.
Trigger operation: The robot needs to perform the trigger operations after the trigger condition is met.
Example 1: The Do operation is executed at a distance of 200ms from the starting point of the path from
P1 to P2, with a delay of 100ms.
MovL (P1, V50, ”RELATIVE”, C0)
OnDistance(“FromBegin”,200,100) DO SetDO(DO0,1);
MovL (P2, V50, ”RELATIVE”, C0)
Example 2: The Do operation is executed at a distance of 200ms from the end point of the path from P1 to
P2, with a delay of 100ms.
MovL (P1, V50, ”RELATIVE”, C0)
OnDistance(“FromEnd”,200,100) DO SetDO(DO0,1);
MovL (P2, V50, ”RELATIVE”, C0)
Caution
When the distance trigger is met and the time trigger is still delayed, if the robot has completed the
current path, the trigger will be executed later after the conditions for triggering is satisfied.
When the set trigger distance exceeds the path length, there will be two cases: when it is the start point
trigger, the trigger judgment will be executed when the robot moves to the endpoint. When it is the
endpoint trigger, the trigger judgment will be executed at the starting point. Trigger immediately when
the relevant conditions are met.
There’re multiple trigger commands between the two paths. The respective detections will be made
before the trigger execution. They works in a way not interfering with each other.
Execute the motion commands in Cartesian coordinates before executing OnDistance, otherwise
OnDistance will not work, and the status bar will prompt that the operation is invalid, but the system
operation will not be affected.
Only waiting commands can be inserted between OnDistance and the next motion command in
Cartesian coordinate system, otherwise an error will be reported. The waiting commands can be Wait,
Waitcondition WaitFinish and so on.
The distance parameter cannot be negative, and the time parameter can be either positive or negative.
The trigger command does not support single-step mode.
OnDistance only supports MOVL and MOVC commands, i.e. MOVJ commands are not allowed on
either side of this command, otherwise an error will be reported.
If a stop operation occurs in a project waiting for a trigger, or if it changes from pause to stop, the
system will clear the trigger cache of all the monitors.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-20
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
When the robot moves to the set path of trigger percentage, the controller enters the trigger waiting, and it
starts to execute the related trigger operation after the trigger time is delayed (time is positive).
When the trigger time is negative, the controller calculates in advance how long it will take before the robot
moves to the set distanc. When the delay reaches the trigger time, the system will start to perform the
trigger operations.
Path percentage: The percentage of paths that need to be triggered.
Trigger time: The time delayed for trigger after the trigger condition is met. This parameter is of an INTC parameter
type, which can be entered as either a constant or an INT type variable.
When set to a negative number, it indicates an early trigger.
Trigger operation: The robot needs to perform the trigger operations after the trigger condition is met.
Note
The trigger command does not support single-step mode.
Example:
Example: Execute a Do operation with a delay of 500ms from P1 to P2 at a path distance of 60%.
MovJ (P1, V50, ”RELATIVE”, C0)
OnParameter(60,500) DO SetDO(DO0,1);
MovL (P2, V50, ”RELATIVE”, C0)
GOTO command is used to jump to different parts of the program. The jump target is defined by the
LABEL. It is not allowed to jump from the external into the internal program blocks. The internal block may
be a WHILE cycle block or an IF block.
Example:
label1:
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-21
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
MovJ(P0)
GOTO lable1
In the LABEL command, set the label1, and upon execution of the GOTO command, the robot jumps to the line "label1: "
After selecting "Control Commands→ IF", you will enter the setting interface of IF statements, as shown in
Figure 6-23.
Variable A and Variable B can be set as constants or parameters: Click "Replace", and choose the constant,
variable or function for replacement.
To modify the value of a variable, you can move the cursor to the variable that needs to be modified, then click "Modify",
and set the value in the pop-up dialog box.
The judgment symbol is used to judge the relationship between Variable A and Variable B. If it is TRUE, the
command behind THEN is executed; if it is FALSE, the command behind THEN is skipped.
Click "Add" to add a new "+<Exp>" at the current position of the cursor, of which "+" denotes an operator, and
"<Exp>" denotes an operand.
− Click "+", then click "Modify" and select the desired operator in the pop-up soft keyboard, as shown
in Figure 6-24.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-22
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Click "<Exp>", and then click "Replace" or "Modify" to change the operand to the desired constant, variable or
function.
Click the operator or operand you would like to delete, and then click "Delete" to delete such operator and the
subsequent operands.
Click an operator, and then click "()" to add a bracket to the operand in front of and behind the current operator. Click
an operand and then click "()" to add a bracket to the current operand.
To delete the bracket, click the operator or operand, and then click "(*)" to delete the selected operator or operand
response bracket.
IF x >1 and y == 1and z < 1 THEN
y = 10
ENDIF
Note
To delete an IF command, you need to click "Select Multi-line" in the program editing interface, then click
the control statement between IF and END_IF, and then click "Edit → Delete" on the right menu.
When make replacement, you can select "mathematical function" or "character function". The functions are
detailed in the “Mathematical Operation Functions” and “Other Functions”.
ELSIF
ELSIF relies upon the IF command. It follows closely the IF command block. When the IF logic is not
established, the ELSIF logic judgment is performed.
The way to set the ELSIF expression is the same as that of the IF expression.
ELSE
ELSE command relies on the IF or ELSIF command. It is registered behind the IF or ELSIF block. The
statement will be executed when the IF or ELSIF condition judgment is not established.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-23
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
WHILE command executes sub-statements in loops when the conditions are met. The loop control
expression must be of BOOL type. This command must end with the keyword ENDWHILE as the loop
control.
For example:
INT0= 1
WHILE INT0<=100DO
MovJ (P1, V50, ”RELATIVE”, C0)
MovJ (P2, V50, ”RELATIVE”, C0)
INT0=INT0+1
ENDWHILE
This command executes the cyclic motion of 100 times between two points.
The FOR loop command executes the loop body at the end of a loop and then makes another conditional
judgement. If the condition is still valid, the loop will continue to repeat, and when the condition is not valid,
the current FOR loop will be jumped out.
Conditional expression
Format: FOR (variable=initial value, conditional expression, end loop body at end) DO // If the conditional
expression is satisfied, the end loop body is executed; if not, the loop is jumped out directly.
ENDFOR
For example:
FOR INT0.value = 1, INT0.value < 10, INT0.value = INT0.value + 1 DO
INT1.value = INT1.value+1
ENDFOR
If another subroutine under the same project is program1, the command generated in the program is:
CALL program1 or CALL L:program1
If the subroutine under the global project that needs to be called is program1, the command generated in
the program is:
CALL G:program1
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-24
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
The program parallel running command. It enables the robot to run other programs while running the
current program (the current program continues to run while starting another program without jumping) and
the running program must be in the same project. If the program to be run is program1, the command then
produced in the program is:
RUN program1
Note
Currently, the controller supports 8 parallel running programs.
Program B
Example:
IFx >1THEN
RETURN
ENDIF
x = x + 1
/*other instructions*/
END;
When the condition is met, the robot executes to the RETURN command and jumps to END
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-25
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Command preview
Command editing
operation
Variable A: can only be set as a variable. Click on "Replace" and choose the variable to be replaced.
Variable B: can be set to a constant or variable. Click on "Replace" and choose the constants, variables and
functions to be replaced.
Assignment: Assigns the value of variable B to variable A.
Command preview: displays the entered command.
Command editing operations:
Add: move the cursor to "Variable B", and then click "Add", the expression will automatically add a new empty
value, and the operator is "+" in default.
Replace: Move the cursor to the variable to be replaced and click on "Replace" to choose the constant,
variable or function to be replaced.
Modify: To modify the value or operator symbol of a variable, move the cursor over the variable or operator
symbol to be modified, click on "Modify" and set the value or operator symbol you wish to modify in the pop-up
dialog box, as shown below:
Introduction to operators:
+ Addition operators, for summing < Less than, e.g.: a<b, the value of a is less than
b
- Subtraction operators, for <= Less than or equal to, e.g.: a<=b, the value of a
differencing is less than or equal to b
* Multiplication operators, for >= Greater than or equal to, e.g.: a>=b, the value
quadrature of a is greater than or equal to b
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-26
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
> Greater than, e.g.: a>b, the value or OR operations, a or b, which means that either
of a is greater than b condition a or condition b is fulfilled
Delete: Choose a new operator or subsequent variables, and then click "Delete" to delete the new operator
and subsequent variables.
()-: Adds the () operator.
()-: Deletes the added () operator.
Note
When make replacement, you can select "mathematical function" or "character function". The functions are
detailed in xx.
For all operations, you need to move the cursor to the parameter to be modified before performing the
command edit operation.
This command will not affect the operation of the program, but only for reading and understanding the
program.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-27
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
It is used to control the execution of the program during the robots motion, and can be set to execute the
next line of command when a certain percentage of the motion is executed.
As shown in the example, the SetDO command will trigger when the first MovL command reaches 20%.
The second MovL command will be execute after the first MovL command execution is finished.
If WaitFinish (20) is deleted, SerDO will be executed after the first MovL command is executed, followed by
the second MovL command. In this case, there is no transition but hold between the two MovL commands.
MovL (P1, V1000,”RELATIVE”, C100)
WaitFinish (20)
SetDO (DO1, 1)
MovL (P2, V1000,”RELATIVE”, C100)
Execute the next command only when the "judgement condition" is TRUE, otherwise the program will continue to
wait until the expression becomes TRUE.
"Duration" refers to the time required to execute the WAIT, and may be of type int constant or INT variable, in ms.
− If the value of this parameter is 0, the next command can only be executed when the condition for
judgment condition is TRUE.
− If the value of this parameter is not 0, even if the condition for judgment is still not TRUE, the
system will skip the command after waiting for a given period of time and continue to execute the
next command.
Interrupt enabling: Set whether or not to continue timing after the program resumes during the waiting process.
− 0: Stop timing when the program stops, and continue timing before the program stopped when
being resumed.
− 1: When the program stops, stop timing, and continue timing when being resumed.
Timeout judgment value: Choose a variable and assign a value to it in the following two cases.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-28
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
− If the input condition is TRUE and the command is executed, assign a value of 0 to the variable;
− When the command is executed due to timeout, assign 1 to the variable.
Tag name for timeout jump: When the execution timed out, choose the line where the tag name is located.
WaitCondition("X> 0", 1000, 0, INT0)
When the waiting time is up to 1 second, if X> 0 is satisfied, the variable INT0 is assigned to 0 and the next command is
executed; if it is executed for 0.5 seconds, the program stops, resumes and continues timing on the basis of 0.5 seconds,
and when the condition is not satisfied at 1 second, the variable INT0 is assigned to 1 and the next command is executed.
6.4 IO commands
The list of IO commands are shown in Figure 6-30.
For these commands, the digital and analog signals of the input and output modules will be used. The
digital and analog signals are often used in conjunction with trigger information.
Port Value: The value of the digital output port to be set, either 0 or 1 can be entered, representing the low
or high level of the port respectively.
For example:
SetDO (DO1, 1)
Set the DO1 variable to 1, i.e. set the digital output port bound to the DO1 variable to high
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-29
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
For example:
SetAO (AO1, 5.0)
Set the AO1 variable to 5.0, i.e. set the voltage of the analog output port bound to the AO1 variable to 5.0V.
For example:
SetSimDO (SimDO1, 1)
Set the SimDO1 variable to 1, i.e. set the virtual digital output port bound to the SimDO1 variable to 1.
For example:
SetSimAO (SimAO1, 5.0)
Set the value of the virtual analog output variable SimAO1 to 5.0, i.e. set the output value of the port to which the variable
is bound to 5.0.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-30
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Wait until the digital input port has been set or reset.
Duration: The time spent in waiting for the DI signal of this group of digital inputs, either of type int constant or INT
variable, in ms.
Interrupt enabling: The parameter is used to set whether or not to restart timing after restarting if the program is
halted when waiting.
− 0: When the program is halted, timing is stopped but continued from the time before the program
pause when resuming the operation.
− 1: When the program is halted, timing is stopped but restarted when resuming the operation
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-31
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Start DI port: The start port number of the continuous DI port in this segment.
End DI port: The end port number of the continuous DI port in this segment.
Start port 8421 value: Convert the continuous DI port value of this segment into a decimal number. If it is equal to
the VALUE, it will then be deemed to satisfy the condition.
Timeout judgment value: Return to the state after the command is executed.
− 0: Signal is detected successfully
− 1: No signal is detected, and the command times out and returns.
Tag name for timeout jump: When the execution timed out, choose the line where the tag name is located.
WaitDI8421(1000, 1, 9, 16, 255,INT1,"Gotoggg")
/*When the state of DI port 9-16 is 11111111 in 1000 ms, the program will continue to execute downwards. If the
condition is not met within 1000 ms, set INT1 to 1. If the program is paused while waiting, the timing will restart after
program resumes. */
Example
WaitAI (AI1 , 5.0 , 1000 , 1 , INT1)
Wait 1000ms for the analog input variable AI1 to be "5.0" (if the program is halted during this period, restart the timing
after program resumes); if no signal is received within 1000ms, set INT1 to 1 to indicate the wait timeout.
WaitSimDI - Wait until the virtual digital input signal has been set
Wait until the virtual digital input port is set or reset. The parameter specifications are the same as that of
WaitDI.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-32
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-33
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
− 1: When both the program and output are stopped, the output will continue when the program
continues to run, which means that it is synchronized with the program running state. The output
acts based on the state of the program.
PulseOut (DO1, 1, 500, 1)
A 500ms pulse signal with a pulse amplitude of 1 is output at the digital output variable DO1 binding port. If the program
stops during the pulse output, the port stops output and resumes pulse output when the program is restarted.
PulseSimOut - Set the pulse time and conditions for the SimIO output signal
Set the pulse time and conditions of SimIO variable output.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-34
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Regard the status of digital input ports 9 to 16 as a binary number, convert it to a decimal number and return it to the
variable INT1.
Start DI port: The start SimDI port number you desire to get.
End DI port: The end SimDI port number you want to acquire.
Return value: Store the acquired port state value into the int variable that has been transmitted.
GetSimDI8421 (9, 16, INT1)
/* Regard the status of virtual digital input ports 9 to 16 as binary numbers, convert them to decimal numbers and return
them to the variable INT1*/
For example, 3 is 0011 when being converted into binary, then Ports 9 and 10 will output high level,
respectively. 2 is for Port 9 low level. Set Port 10 to high level.
GetSimDI8421 (9, 16, INT1)
Regard the status of virtual digital input ports 9 to 16 as binary numbers, convert them to decimal numbers and return
them to the variable INT1.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-35
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Start DO port: The start SimDO port number you want to acquire.
End DI port: The end SimDO port number you want to acquire.
Set value: The decimal set value that the port will output.
SetSimDO8421 (9, 16, 255)
/* Set virtual digital output ports 9 to 16 to 1*/
GetSimDIToVar – Report the virtual digital input value to the specified variable
Map the virtual digital input signal to a variable.
Port variable: The variable used to acquire the value of the virtual digital input signal. It is a virtual digital input
variable.
Variable: The variable to which the acquired digital signal value is assigned. It is of type BOOL.
For example, the command that assigns the value of the virtual digital input variable SIMDI1 to BOOL0 can
be as follows:
GetSimDITOVar (SimDI9, BOOL1)
Get the value of the virtual digital input port bound to the variable SimDI9 and assigns the value to the BOOL1 variable.
For example, the command that output the value of BOOL0 to the virtual digital output variable SimDO1
can be as follows:
etSimDOTOVar (SimDO9, BOOL1)
Output the state of the variable BOOL1 at the port corresponding to the virtual digital variable SimDO9.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-36
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Port variable: The variable used to acquire the value of the virtual analog input signal. It is a virtual analog input
variable.
Variable: The variable assigned to the acquired analog signal value. It is REAL type.
For example, the command that assigns the value of the virtual analog input variable SIMAI1 to the real
number variable REAL0 can be as follows:
GetSimAIToVar (SimAI9, REAL1)
Get the value of the virtual analog input port bound to the variable SimAI9 and assigns this value to the REAL1 variable.
SetSimAOByVar – Command to set the specified variable value to the virtual volume
output
Map the value of a REAL variable to a virtual analog output variable.
Port variable: The variable of virtual analog output type, which receives the value of the variable and outputs it.
Variable: REAL type, which outputs its value to port variable.
For example, the command that outputs the value of the real number variable REAL0 to the virtual analog
output variable SimAO0 can be as follows:
SetSimAOByVar (SimAO9, REAL1)
Output the value of the REAL1 variable at the virtual analog output port bound to the variable SimAO9.
SetDIEdge - Command to set the edge signal state of a digital input variable
Set the edge signal state of a virtual digital input port forcibly by using the commands.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-37
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Port variable: The variable of digital input type; it is used to set the rising or falling edge of the port.
Edge type: Choose the edge signal status of the port to be set.
− riseEdge: Status of rising edge.
− downEdge: Status of falling edge.
Edge value: The edge status value to be set.
For example, the command that sets the rising edge status of SimDI1 port to 0 can be as follows:
SetDIEdge (DI9, "riseEdge", 1)
Set the rising edge signal of the DI9 port forcibly to a "1" state.
SetSimDIEdge - Set the edge signal state of a virtual digital input variable
Set the edge signal state of a virtual digital input port forcibly by using the commands.
Port variable: The variable of digital input type; it is used to set the rising or falling edge of the port.
Edge type: Choose the edge signal status of the port to be set.
− riseEdge: Status of rising edge.
− downEdge: Status of falling edge.
Edge value: The edge status value to be set.
For example, the command that sets the rising edge status of SimDI1 port to 0 can be as follows:
SetSimDIEdge (SimDI9, "riseEdge", 1)
Set the rising edge signal of the SimDI9 port forcibly to a "1" state.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-38
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Note
POSITIONER0 is of a positioner variable. The content in "5.3 System data types POSITIONER" gives a
detailed description.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-39
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-40
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Blend Type
Data type: enum (FINE/RELATIVE/DEFAULT)
Parameter meaning: The transition mode of the robot when approaching the endpoint
− FINE: No transition.
− RELATIVE: Relative transition. The transition parameter is a relative value that represents the
percentage of the distance from the transition point to the path endpoint relative to the full length of
the path.
− ABSOLUTE: Absolute transition. The transition parameter is an absolute value that represents
the distance from the transition point to the endpoint of path. from the transition point to the
endpoint of path.
Blend Value
Data type: ZONE
Parameter meaning: The transition value when the robot is approaching the end point.
Note: This parameter can be defaulted and the default value is C100.
For example:
SetBlendParam("RELATIVE",C20)
After this command is run, subsequent motion commands are run using this transition parameter.
For example:
SetOverRide (20)
SetOverRide (INT0) // Set the speed multiplier to the value in the INT0 variable
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-41
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Axis number parameter: "GROUP, A1, A2, A3, A4, A5, A6". When the axis number is "GROUP", all axes
are involved;
Axis number parameter: " A1, A2, A3, A4, A5, A6";
For example:
GetCurOverRide (INT0)
After running this command, the current override value will be read into INT0, which can be viewed in the variable list.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-42
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
For example:
Hand (“Lefty”)
/*After executing this command, the subsequent motion commands will use the left-hand setting.*/
For example:
CalcTool (P1, P2, P3, P4, TOOL1)
/*After this command is executed, calculate the tool parameters according to the four calibration points, and be saved to
TOOL1*/
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-43
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
For example:
CalcCoord (P1, P2, P3, USERCOORD1)
/* After executing this command, you can calculate the user coordinate system parameters using the three calibration
points, and save it to the USERCOORD1*/
Error message: Set the error message, both English and Chinese input are supported.
For example:
SetRtToErr (“halt”, 90001)
Enable the robot to stop and issue the error number 90001 with the error message "halt".
For example:
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-44
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
For example:
SetRtWarning (“Warning”, 80001)
Set the robot to stop and issue the warning number 80001 with the error message "Warning".
RefRobotAxis (1,500)
/* After executing the command, set the 1-axis servo of robot to zero point at the single-turn value of 500 */
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-45
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
For example:
SetMotionMode (“STANDARD”)
Set the robot's current motion mode to standard one.
Axis number: The axis number to which the vibration suppression level will be set. (A1/A2/A3/A4/A5/A6)
Level: The level of vibration suppression to be set. (Highest/High/Default/Low/Lowest)
For example:
SetAxisVibraBLevel(A1,High)
/* Set the vibration suppression level for Axis 1 to medium-high. */
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-46
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
This command sets the pc pointer when the run program goes from Halt/Stop to run. Please note that this
command is only valid for use in run programs. The command parameters are detailed as below:
Program pointer: The line number when the run program resumes running.
For example:
SetRestorePC(3)
/* The program pointer will run from line 3 when the run program is transferred from Halt/Stop state to run. */
Posture modes: The robot posture interpolation modes. Currently only the "CircMidPassOpen" and
"CircMidPassClose" posture modes are supported for circular arcs passing through intermediate auxiliary
points;
- CircMidPassOpen: Enables the effect of interpolation of circular arcs passing through intermediate
auxiliary points.
- CircMidPassClose: Disables the effect of interpolation of circular arcs passing through intermediate
auxiliary points.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-47
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Robot motion status (%): SET commands. By using this command, the user can get whether the robot is currently
in motion or not.
Start
Pause
Continue
End
Calculate
Note
1. When Start, Pause, Continue, End is selected for the self-adjustment phase of the collision
detection parameter, the data recording status of the self-adjustment function will be set.
2. If the parameter of the self-adjustment phase of the collision detection is set to "Calculate", the self-
adjustment parameter will be calculated based on the data recorded by the self-adjustment function,
the detection method and the sensitivity and the result will be stored in the ID corresponding to the
collision parameter, as shown in the figure below:
Default
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-48
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Default+
Default++
[Note]: This parameter is only valid when the parameter is set to Calculate in the self-adjustment
phase of the collision detection parameter.
Highest
High
Default
low
lowest
[Note]: This parameter is only valid when it is set to Calculate in the self-adjustment phase of the
collision detection parameter.
Collision parameter: The collision parameter that stores the results of the self-adjustment
calculation. It is a global variable of type COLLIPARAM, where one variable corresponds to one
ID and the self-adjustment result is stored in the ID corresponding to the selected variable.
Collision parameter: The parameter used by the collision detection function. When self-adjustment
parameters are required, select the variables from the COLLIPARAM type (corresponding to the
actual ID to be set), otherwise select DEFAULT (factory default).
Axis number (or group of axes): Select single axis number or all axes (GROUP) when setting the
collision detection "validity" or "sensitivity value". By default, DEFAULT is selected.
A1: A1 axis
A2: A2 axis
A3: A3 axis
A4: A4 axis
A5: A5 axis
A6: A6 axis
VALIDITY: Controls the ON and OFF of the collision detection function for the corresponding axis
number.
ENABLE (ON)
DISABLE (OFF)
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-49
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
[Note]: This parameter is only valid when the axis number is set to non-DEFAULT.
Sensitivity value (%): Sensitivity value of the collision detection in percentage, parameter range
[1,500].
[Note]: This parameter is only valid when the axis number is set to other than DEFAULT.
Note
1. Only the main unit axis of the robot is supported.
2. Setting a stronger detection method and higher sensitivity level would increase the sensitivity of
collision detection but may also increase the probability of false alarms.
Posture modes: The robot posture interpolation modes. Currently only the "CircMidPassOpen" and
"CircMidPassClose" posture modes are supported for circular arcs passing through intermediate auxiliary
points;
- CircMidPassOpen: Enables the effect of interpolation of circular arcs passing through intermediate
auxiliary points.
- CircMidPassClose: Disables the effect of interpolation of circular arcs passing through intermediate
auxiliary points.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-50
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
GetCurCPos (P1)
Get the Cartesian space position in the robot's current coordinates (World or User Coordinates) and save it in P1.
Being given the APos point, as well as the user coordinates and tool parameters of the target CPos point
to be converted, the value of the target CPos point can then be derived.
Being given the CPos point, as well as the user coordinates and tool parameters of the target APos point
to be converted, the value of the target CPos point can then be derived.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-51
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Original coordinates: The parameters of the reference coordinate system before the conversion.
Being given the CPos point, as well as the user coordinates and tool parameters of the target CPos point
to be converted, the value of the target CPos point can then be derived.
CPosToCPos (P1, TOOL1, USERCOORD1, P2, TOOL2, USERCOORD2)
The target point P2 can be derived from P1, TOOL1, USERCOORD1, TOOL2, USERCOORD2.
Being given the reference tool coordinates TOOL and the offset to be shifted or rotated, the value of the
target tool coordinates can be calculated.
ToolOffset (TOOL1, DCPOS1, TOOL2)
Based on the tool coordinates TOOL1 and the offset DCPOS1, the offset tool coordinates TOOL2 can then be derived.
Being given the reference user coordinates USERCOORD and the offset to be shifted or rotated, the value
of the target user coordinates can be calculated.
UserOffset (USERCOORD1, DCPOS1, USERCOORD2)
This command offsets a position point (APOS or CPOS) relative to the coordinates or tool by the amount
of the DCPOS, and finally gets a target position value, which is of type CPOS.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-52
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Original position: The start point of the offset motion (APOS or CPOS);
Relative offset: The increment of the position to be moved relative to the original position (DCPOS);
Reference coordinates: The selection of the coordinates offset or tool offset. "Coord" indicates an offset
relative to the current user coordinates; "Tool" indicates an offset relative to the tool coordinates, i.e.
translation or rotation with reference to Tx, Ty, Tz;
Tool parameters: The information on the tool to which the original position and the target position belong;
Coordinate parameters: The information on the coordinates to which the original and target positions
belong;
Target position: The final position after offset (CPOS).
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-53
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Moving coordinate system: SYNCOORD variable. The set moving coordinate system needs to be consistent with
the moving coordinate system enabled on the conveyor configuration interface.
Workpiece id: Variable of type INT, which returns the id of the currently received workpiece.
Duration: Indicates the time required to execute waiting, in ms.
− If the value of the parameter is 0, it will be forced to wait until it receives the workpiece position
information data from the vision before proceeding the next command.
− If the value of the parameter is not 0, even if no data is received, the system will skip the command
after waiting for a given period of time, and proceed the next command.
Timeout judgment value: Select a variable and assign a value to it in the following two cases.
− When the command is executed within the waiting time, assign 0 to the variable;
− When the command is executed due to timeout, assign 1 to the variable.
Tag name for timeout jump: When the execution timed out, choose the line where the tag name is located.
For example:
BitAnd (INT1, INT2)
Perform a bitwise sum operation on INT1 and INT2 and assign the result to INT1.
Before this command is executed, the robot control system will trigger the vision to shoot through IO and
receive the target position from the vision system. When the command is executed, the robot will move
from the current to the target position and keep in sync with the moving target object.
Target position offset: The offset relative to the tracked target object, it can only be set as a CPOS position point.
Choose an existing point from the drop-down list.
Target speed: The running speed of command.
− When setting it to “DEFAULT”, the default value V4000 will be used.
− When it is set to SPEED variable, you can selected the system pre-defined one, or create it by
yourself.
Tool Parameters: The tool parameters used when the robot executes the path.
− When setting it to “DEFAULT”, the tool parameters set last time will be continuously used.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-54
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Coordinate System Parameters: The coordinate system parameters used by the robot when executing the path.
Only the variable of SYNCOORD type can be set, but needs to be consistent with the moving coordinate system on the
conveyor configuration interface.
Workpiece load: The workpiece load parameter used by the robot when executing the path.
− It is set to “DEFAULT”, which means to continue to use the workpiece load parameters set last time.
− When it is set to PAYLOAD variable, you can selected the system pre-defined one, or create it by
yourself; when a load parameter different from the current workpiece load parameter is used, the
system will switch the workpiece load parameter to the set parameter. If the tool parameters of the
path of current segment and the preceding/next segments change, the transition will not be
supported.
Jump label when aborting during synchronization: It is used to follow the Aborting function. When the robot fails to
synchronize with the target workpiece during synchronization, i.e. when the execution of the MovLSync command fails,
the program pointer will go to the line where the Jump label is located to perform the Aborting operation. The user can
add the corresponding command under this Label according to the working conditions on site.
− This value can be set by default. When set to default, it will jump to the Label used for the "Jump to
label when aborting after synchronization".
Lift height when aborting after sync: The distance lifted while following when aborting after sync, this is the offset
relative to the positive direction of the Z axis of the moving coordinates.
Jump label when aborting following sync: It is used to follow the Aborting function. When the robot cannot continue
following during the following motion, i.e. the execution of the subsequent commands of the MovLSync command fails,
the program pointer will go to the line where the jump label is located to perform the Aborting operation.
− This value cannot be defaulted and requires special attention in this case.
AddDo: Robot will perform IO operation after executing this command.
− NULL: No operations.
− IO commands: Perform IO operations, the IO commands currently supported are SetDo, SetAo,
SetSimDo, SetSimAo, PulseOut, PulseSimOut, SetDO8421, SetSimDO8421, SetDIEdge and
SetSimDIEdge.
When executing this command, the robot transits smoothly from the previous motion command and quits
the tracking status, and then resumes the motion in the normal user coordinates.
Target position: the endpoint position of the command (the position point of APOS or CPOS).
− Select an existing point from the drop-down list, or create a new a variable in the pop-up dialog box
for teaching.
Target speed: The running speed of command.
− When setting it to “DEFAULT”, the default value V4000 will be used.
− When it is set to SPEED variable, you can select the system pre-defined one, or create it by
yourself.
Transition type: The way of transition when the robot approaches the endpoint.
− DEFAULT: Default, i.e. no transition parameter is set in the command. If the SetBlendParam
parameter is used in the program, the transition mode operates as per the globally set transition
parameter.
− FINE: Equivalent in effect to DEFAULT.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-55
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
− RELATIVE: Relative transition. The transition parameter is a relative value that represents the
percentage of the distance from the transition point to the path endpoint relative to the full length of
the path.
− ABSOLUTE: Absolute transition. The transition parameter is an absolute value that represents the
distance from the transition point to the endpoint of path. from the transition point to the endpoint of
path.
Coordinate System Parameters: The coordinate system parameters used by the robot when executing the path.
− This parameter cannot be set to “DEFAULT” and must be forced to enter a coordinate system
parameter.
− When it is set to USERCOOR variable, you can select the system pre-defined one, or create it by
yourself. When a coordinate system different from the current one is used, the system will switch
the coordinate system to the set one.
Workpiece load: The workpiece load parameter used by the robot when executing the path.
− It is set to “DEFAULT”, which means to continue to use the workpiece load parameters set last time.
− When it is set to PAYLOAD variable, you can select the system pre-defined one, or create it by
yourself; when a load parameter different from the current workpiece load parameter is used, the
system will switch the workpiece load parameter to the set parameter. If the tool parameters of the
path of current segment and the preceding/next segments change, the transition will not be
supported.
AddDo: Robot will perform IO operation after executing this command.
− NULL: No operation.
− IO commands: Executing IO operation. The IO commands currently available are SetDo, SetAo,
SetSimDo, SetSimAo, PulseOut, PulseSimOut, SetDO8421, SetSimDO8421, SetDIEdge, and
SetSimDIEdge.
When executing this command, the robot transits smoothly from the previous motion command and quits
the tracking status, and then resumes the motion in the normal user coordinates.
Target position: the final position of the command (the position point of APOS or CPOS).
− Select an existing point from the drop-down list, or create a new a variable in the pop-up dialog box
for teaching.
Target speed: The running speed of command.
− When setting it to “DEFAULT”, the default value V4000 will be used.
− When it is set to SPEED variable, you can select the system pre-defined one, or create it by
yourself.
Transition type: The way of transition when the robot approaches the endpoint.
− DEFAULT: Default, i.e. no transition parameter is set in the command. If the SetBlendParam
parameter is used in the program, the transition mode operates as per the globally set transition
parameter.
− FINE: Equivalent in effect to DEFAULT.
− RELATIVE: Relative transition. The transition parameter is a relative value that represents the
percentage of the distance from the transition point to the path endpoint relative to the full length of
the path.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-56
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
− ABSOLUTE: Absolute transition. The transition parameter is an absolute value that represents the
distance from the transition point to the endpoint of path. from the transition point to the endpoint of
path.
Coordinate System Parameters: The coordinate system parameters used by the robot when executing the path.
− This parameter cannot be set to “DEFAULT” and must be forced to enter a coordinate system
parameter.
− When it is set to USERCOOR variable, you can select the system pre-defined one, or create it by
yourself. When a coordinate system different from the current one is used, the system will switch
the coordinate system to the set one.
Workpiece load: The workpiece load parameter used by the robot when executing the path.
− It is set to “DEFAULT”, which means to continue to use the workpiece load parameters set last time.
− When it is set to PAYLOAD variable, you can select the system pre-defined one, or create it by
yourself; when a load parameter different from the current workpiece load parameter is used, the
system will switch the workpiece load parameter to the set parameter. If the tool parameters of the
path of current segment and the preceding/next segments change, the transition will not be
supported.
AddDo: Robot will perform IO operation after executing this command.
− NULL: No operation.
IO commands: Executing IO operation. The IO commands currently available are SetDo, SetAo, SetSimDo,
SetSimAo, PulseOut, PulseSimOut, SetDO8421, SetSimDO8421, SetDIEdge, and SetSimDIEdge.
Moving coordinate system: SYNCOORD variable. The set moving coordinate system needs to be consistent with
the moving coordinate system enabled on the conveyor configuration interface.
Target position: The CPOS type variable, and also the detected position information of the workpiece after entering
the conveyor. Please note that only 2D visual data is currently supported, which means that only X, Y and A are valid in
this CPOS type variable.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-57
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Coordinate system parameters: The parameters of the coordinate system to which the robot is currently referenced,
which can only be set to variables of SYNCOORD.
Note that after switching to a moving coordinate system, only the JOG coordinates set before the switch can be
toggled, e.g. if the JOG coordinate system set before the switch is a WORLD coordinate system, then only the WORLD
coordinate system can be toggled after the command is executed and cannot be switched.
Moving coordinate system: The variable of type SYNCOORD. The moving coordinate system must be the same as
the one enabled in the conveyor configuration interface.
Target position: The variable of type DCPOS, indicating the offset of the position of the workpiece entering the
conveyor relative to the origin of the moving coordinate system.
Coordinate system parameter: The variable of type USERCOORD, indicating the coordinate system to be referred
to when teaching the path point position after synchronization.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-58
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Moving coordinate system: The variable of type SYNCOORD. The moving coordinate system must be the same as
the one enabled in the conveyor configuration interface.
WAIT increment: The value of the increment in which the robot is to be synchronized. In mm for straight conveyors
and in deg for disc conveyors.
Moving coordinate system: The variable of type SYNCOORD. The moving coordinate system must be
the same as the one enabled in the conveyor configuration interface.
Conveyor speed: The speed at which the virtual conveyor runs, in mm/s for linear conveyors and in deg/s
for disc conveyors.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-59
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Moving coordinate system: The variable of type SYNCOORD. The moving coordinate system must be
the same as the one enabled in the conveyor configuration interface.
Moving coordinate system: The variable of type SYNCOORD. The moving coordinate system must be
the same as the one enabled in the conveyor configuration interface.
Enable receive status: Enables the robot system to receive information on the position of the workpiece.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-60
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Moving coordinate system: The variable of type SYNCOORD. The moving coordinate system must be the same as
the one enabled in the conveyor configuration interface.
The command binds the INTERRUPT index to the interrupt program. When the signal bound to this index
is triggered, the system can execute the INTERRUPT program bound to this INTERRUPT index.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-61
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
After the INTERRUPT identifier in IConnect is bound to the interrupt program, the IDelete instruction must be
executed to delete the identifier variable before IConnect can be re-executed, otherwise an error message will be
reported.
When an interrupt identifier variable is created, the value in that variable should be synchronized with the name of
that variable. That is, if a new inter1 variable of type INTERRUPT is created, its value should also appear as inter1
when viewed in the variables interface.
The interrupt handler can only be used for programs under this project, no global programs are supported
This command removes any data in the system bound to this INTERRUPT index, that is, it removes the
detection of this INTERRUPT index and the data in the execution queue.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-62
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Monitor the active state of the edge signal of the set DI to allow the system to execute the INTERRUPT
program with the following command parameters:
INTERRUPT ID: The INTERRUPT index number (INTERRUPT type).
Port variable: The DI port number to be monitored (DI type).
Trigger edge type: The type of DI edge signal to be monitored.
Note
The INTERRUPT index number in this command must already be bound to the INTERRUPT program, i.e.
the IConnect command is executed, otherwise an error message will appear.
After the command has been executed, the corresponding DI valid edge signal is given in the running
state of the program and the INTERRUPT program bound to this INTERRUPT index should be executed
correctly.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-63
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
The execution of this command in the INTERRUPT program will stop the main program from parsing and
interrupt the current motion; also, it displays the data and program from the INTERRUPT program on the
program editing and the variables interfaces.
Note
This command can only be executed in the INTERRUPT program.
This command specifies the form of motion to bring the robot back to the position at which the main
program was interrupted. The system automatically caches the interrupt position when the interrupt occurs,
and the command will automatically retrieve the interrupt position from memory and run to that point when
it is executed, eliminating the need for additional command processing by the user.
Motion mode: The mode of motion to the interrupt point
After executing this command in the interrupt program, the system will switch the INTERRUPT program to
background for execution and put the main program out of sleep, to continue the previous commanded
parsing and motion operation, while to display the data and program in the main program on the program
editing and the variable interfaces.
When this command is executed, the system will immediately end the current INTERRUPT program,
return the PC pointer to the start of the main program, and bring the system to a halt.
Note
1. This command must be used in conjunction with the IEnter command in the INTERRUPT program.
2. When this command is executed, the system will jump to the "CycleLable" label command if it is
taught by the main program, or to the first line of the program being loaded if it is not taught.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-64
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Data to be manipulated: INT variable; the result of the operation is also assigned to this operand.
Data to be compared: INT variable.
BitAnd (INT1, INT2)
Perform a bitwise AND operation on INT1 and INT2 and assign the result to INT1.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-65
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Data to be manipulated: INT variable; the result of the operation is also assigned to this operand.
BitNeg (INT1)
Perform a bitwise negation operation on INT1 and assign the result to INT1.
Data to be manipulated: INT variable; the result of the operation is also assigned to this operand.
Data to be compared: INT variable.
Data to be manipulated: INT variable; the result of the operation is also assigned to this operand.
Data to be compared: INT variable.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-66
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Data to be manipulated: INT variable; the result of the operation is also assigned to this operand.
Bits shifted left: INT variable, the number of bits shifted left.
BitLSH (INT1, INT2)
Perform a bitwise left-shift operation on INT1 and INT2 and assign the result to INT1.
Data to be manipulated: INT variable; the result of the operation is also assigned to this operand.
Data to be shifted right wei2: INT variable, the number of bits shifted right.
BitRSH (INT1, INT2)
Perform a bitwise right-shift operation on INT1 and INT2 and assign the result to INT1.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-67
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-68
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
AreaActivate (AREA0)
Activate standard area monitoring to enable AREA0.
The command to bind an AREA IO, by which an input port can be bound to the selected area and specify a
high and low active level for controlling the start and stop of the robot.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-69
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-70
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
TrigCam (“OK”, 1)
The string "OK" triggers the camera to shoot a picture.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-71
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Conveyor tracking.
Tracking (10.0, 10.0, DO2, DO1, INT0,INT1)
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-72
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
For example, Pallet0 with a maximum number of workpieces of 60 will halt when 8 workpieces have been
placed. Call "PalletReset (Pallet0, 8);" to restart the palletizing of subsequent workpieces.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-73
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
− When it is set to ZONE variable, you can select the system pre-defined one, or create it by yourself;
it means no transition when the variable value is 0; the greater the transition value, the larger the
transition radius.
PalletToPut (PALLET1,V2000)
The palletizing position is calculated based on the first taught workpiece position as well as the configured
palletizing distance. Add the set palletizing distance to the position of the previous workpiece, so as to get
the position of the next workpiece, as shown in Figure 6-54.
According to Figure 6-55, the defaulted palletizing sequence starts from X. Arrange all the parts in the x
direction first, and then the next row. Arrange the workpiece in the x direction until the pre-determined
number of workpieces in the x direction is reached.
When starting placement for a new row, the position data of the workpiece in the new row will be produced
by adding the offset in the y direction to the position of the workpiece in the first row.
The default palletizing sequence is x y z. First, put the workpiece in the x direction and then proceed to the
second row. The placement of the first part of the new row starts at the position shown in the figure below.
They will be put on the next row if the current row is full. After all the rows in this layer are filled, the xy
layer repeats translation in the z direction until it is fully palletized.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-74
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
The robot moves to the entry position of the pallet in a linear motion (optional)
The robot moves to the front position of the palletizing point in a linear motion (optional)
The robot moves to the arranged position of the workpiece in a linear motion (required)
This is the command for the opposite action of workpiece placement, making the robot leaves from the
position of the workpiece that has been placed.
Following motion commands are executed when calling the PalletFromPut command:
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-75
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
- The robot moves to the rear of palletizing point in a linear motion (optional)
- The robot moves to the entry position of the pallet in a linear motion (optional)
If neither the post-pallet point nor the entry position has been set, the robot will maintain its current posture
when the PalletFromPut command is executed.
Following motion commands are executed when calling the PalletToGet command:
The robot moves to the entry position of palletizing point in a linear motion (optional)
The robot moves to the post position of the pallet in a linear motion (optional)
The robot moves to the picking position in a linear motion (required)
After making these motion sequences, the robot reaches the position where the workpiece is placed, then
closes the fixture for picking workpieces.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-76
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Following motion commands are executed when calling the PalletFromGet command:
The robot moves to the palletizing point in a linear motion (optional)
The robot moves to the entry position of the pallet in a linear motion (optional)
If neither the post-point nor the entry position of the pallet point has been set, the robot will maintain its
current posture when executing the PalletFromGet command.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-77
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Note
The matrix points generated based on the three points are only operations in the displacement direction,
so the posture and additional axis angle values of the generated matrix points are kept the same as the
origin (as in P1_Home below):
If the number of rows is 1 and the number of columns > 1, the line is divided equally according to the
number of columns by forming a line based on the origin (as in P1_Home below) and the last point in the
row direction (as in P2_Row below), disregarding the last point in the column direction (as in P3_Column
below);
If the number of columns is 1 and the number of rows > 1, the line is divided equally according to the
number of rows on the basis of the origin (as in P1_Home below, and the last point in the column direction
(as in P3_Column below), disregarding the last point in the row direction (as in P2_Row below);
If both the number of rows and the number of columns are 1, the origin is used directly (as in P1_Home
above);
The range of rows is [1,32767], the range of columns is [1,32767] and the product needs to be less than
32767.
Example 1:
Divide the quadrilateral formed by P1, P2 and P3 equally in 4 rows and 5 columns.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-78
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Row: 4
Column:5
P1_Home P2_Row
C1 C2 C3 C4 C5
R1
R2
R3
R4
P3_Column
Number of rows: The row number of the matrix from which the point is to be taken, of type INT.
Number of columns: The column number of the matrix from which the point is to be taken, of type INT.
Target point: Used to store the value of the picked point, of type CPOS.
Note
The number of rows must be in the range [1,32767], the number of columns must be in the range
[1,32767], and the number of rows and columns must be less than or equal to the corresponding values
set in the SetMatrix command.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-79
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Create a client locally and connect it with the server-side according to the server-side parameters
transmitted.
Socket name: The name of the socket to be created. The value transmits a socket variable.
IP address: The ip address of the server to be connected.
Port number: The port number of the server to be connected.
Operation return value: Create the return value variable of the operation. It is success if the return value is 0, and
failed if it is 1.
Close the created client according to the socket name transmitted, and return the success or failure
information of the operation.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-80
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Socket name: The name of the socket to be closed. The value transmits a socket variable.
Operation return value: Create the return value variable of the operation. It is success if the return value is 0, and
failed if it is 1.
SocketClose (Socket0, INT0)
/* Close the Socket0*/
Send a string to the server that has established a connection, and return the result of whether it is
successful or not.
Socket name: The name of the socket that needs to perform the sending operation. The value transmits a socket
variable.
Sent strings: The string data that needs to be sent to the server-side.
Operation return value: Create the return value variable of the operation. It is success if the return value is 0, and
failed if it is 1.
Send a real array to the connected server and return the success or failure.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-81
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Socket name: The name of the socket that needs to perform the sending operation. The value transmits a socket
variable.
Real-type array sent: The real-type array data that needs to be sent to the server-side.
Operation return value: Create the return value variable of the operation. It is success if the return value is 0, and
failed if it is 1.
SocketSendReal (Socket0, RealOneArray0, INT0)
/*Send RealOneArray one-dimensional array information to the server*/
Send an int array to the connected server and return the success or failure.
Socket name: The name of the socket that needs to perform the sending operation. The value transmits a socket
variable.
int-type array sent: The real-type array data that needs to be sent to the server-side.
Operation return value: Create the return value variable of the operation. It is success if the return value is 0, and
failed if it is 1.
SocketSendInt (Socket0, IntOneReal, INT0)
/*Send IntOneArray one-dimensional array information to the server*
SocketReadReal - Convert the string sent from the server into a Real array format for
storage
Read the string sent from the server-side, and store it in the form of a real array.
Wait for and receive the string sent by the server. Its format is [1.1,2.2,3.3,4.4] (that is, the beginning and
the end of the data are[], and the figures are separated by,). The robot system will split and parse the
received string, and store it in the array in sequence.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-82
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Socket name: The name of the socket that needs to perform the read operation. The value transmits a socket
variable.
Read count of data: The count of data to be read and stored in the array.
Data return value: Store the read and converted value into an array variable, and return such array variable.
Detection time: The time for waiting for the server-side to send data. It sends alarm when time is out.
Operation return value: Create the return value variable of the operation. It is success if the return value is 0, and
failed if it is 1.
SocketReadReal (Socket0, 5, RealOneArray0, 100, INT0)
/* Read 5 real numbers from the server within 100ms, and put them in the variable RealOneArray0 */
SocketReadInt - Convert the string received from the server into an integer format
Read the string sent from the server and store it in the form of an int array.
Wait for and receive the string sent by the server-side. Its format is [1,2,3,4] (the beginning and the end of
the data are[], and the figures are separated by,). The robot system will split and parse the received
string, and store it in the array in sequence.
Socket name: The name of the socket that needs to perform the read operation. The value transmits a socket
variable.
Read count of data: The count of data to be read and stored in the array.
Data return value: Store the read and converted value into an array variable, and return such array variable.
Detection time: The time for waiting for the server-side to send data. It sends alarm when time is out.
Operation return value: Create the return value variable of the operation. It is success if the return value is 0, and
failed if it is 1.
SocketReadInt (Socket0, 5, IntOneArray0, 100, INT0)
/* Read 5 real numbers from the server within 100ms, and put them in the variable IntOneArray0 */
SocketReadStr- Read the string sent by the server and store it as a string variable
Read the string sent from the server-side, and store it in the form of a string variable.
Wait and receive the string sent by the server. Its format is [Hello world!] (The beginning and the end of the
data are[]). The robot system will store the received string in the string variable.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-83
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Socket name: The name of the socket that needs to perform the read operation. The value transmits a socket
variable.
Read string: The string data sent from the server. The value is returned in the form of a string variable.
Detection time: The time for waiting for the server-side to send data. It sends alarm when time is out.
Operation return value: Create the return value variable of the operation. It is success if the return value is 0, and
failed if it is 1.
SocketReadStr (Socket0, STRING0, 100, INT0)
/*Read the strings from the server within 100ms, and put them in the variable STRING0 */
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-84
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-85
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Type of SoftFloat:
− Linear SoftFloat. Only the linear SoftFloat is supported currently.
SoftFloat reference coordinate system:
− WORLD: World Coordinates
− USER: Tool Coordinates
− TOOL: User Coordinates
Coordinate system number: When WORLD is selected as the reference coordinate system, the coordinate system
number is empty by default and will not be displayed. When TOOL or USER is selected, select an existing coordinate
system number from the drop-down list, or create a new coordinate system number in the pop-up dialog box for teaching.
SoftFloat direction:
− X: The X direction of the selected reference coordinate system or its number
− Y: The Y direction of the selected reference coordinate system or its number
− Z: The Z direction of the selected reference coordinate system or its number
SoftFloat sensitivity: The SoftFloat compliance parameter.
− HIGH: The highest level of compliance
− MidHigh: The second highest level of compliance
− MID: The medium compliance
− MidLow: The second lowest level of compliance
− LOW: the lowest level of compliance
For the setting of SoftFloat direction, please refer to the description of SoftFloat functions for details.
SoftFloatStart ("CART","TOOL",tool1,"Y","MID")
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-86
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
After the SoftFloat function is done, call this command to turn off the SoftFloat function.
SoftFloatStop ()
- Robot: Optional data collection, which collects motion data from the robot itself, i.e. the motion
data when no load is attached. The use of "Robot" type data for tuning helps to improve the
accuracy of load tuning, but this item increases the time taken for tuning calculations.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-87
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
- WithLoad: data must be collected to capture the motion of the robot with a load mounted on
the flange end;
- ValidData: Optional data collection, selected when the accuracy of the model needs to be
verified, to collect data on the motion of the robot fitted with a load. Using the "ValidData" type
of data allows you to verify the accuracy of the tuned model at the same time as the tuning
calculation; however, this item will increase the time taken for the tuning calculation.
Note
The load tuning data collection. When selecting "Robot", "WithLoad" as the data saving type,
the motion command used to validate the path should be MovJ; the MovJ, MovL, MovC and
other combinations can be used when verifying the motion path for "ValidData" type.
The TRIGGER command does not support single- step or manual mode.
Note
This command must be used in conjunction with the StartMdllog() instruction.
After the execution of StopMdllog(), a ".txt" file with the same name as the StartMdllog()
parameter, i.e. the data saving type, will be generated in the "runtime\config" directory, and the
file can be opened by the software EScope to view the curves.
Once the data required for load tuning has been collected, execute this command to start the robot load
tuning process, which takes 30-60 minutes. Once tuning is done, a pop-up box will display the model
validation score results.
Command paramters are required to execute this function: type of model to be tuned, workpiece load
variable, length of data interval, and whether to validate the model. The command parameters are detailed
below:
The type of model to be tuned:
Note
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-88
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
The online load tuning function is currently only supported on the Universal 6-axis model.
The online load tuning function only runs on a controller system with more than 1GB of C drive
space and 1GB of Windows memory, otherwise the function will not work properly;
byte
Take the ASCCII code of the character in the nth position of the string.
Parameter 1: The variable or constant of string type.
Parameter 2: The variable or constant of type int.
Function return value: The int-type constant.
find2
Return the position of the substring in the string.
Parameter 1: The variable or constant of string type.
Parameter 2: The variable or constant of type int.
Function return value: The int-type constant. (The return value is -1 when the corresponding character or string is
not found)
len
Calculate the length of a string.
Parameter 1: The variable or constant of string type.
Function return value: The int-type constant.
char
Return the character corresponding to the ASCCII code.
Parameter 1: The variable or constant of type int.
Function return value: The constant of string type.
gsub
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-89
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
lower
Return the string in lowercase format.
Parameter 1: The variable or constant of string type.
Function return value: The constant of string type.
upper
Return the string in uppercase format.
Parameter 1: The variable or constant of string type.
Function return value: The constant of string type.
reverse
The string inversion command, which inverts the string and returns it.
Parameter 1: The string to be inverted, a variable or constant of type string.
Function return value: The string to be inverted, a string variable.
findEnd
The string inversion lookup command, which locates the last occurrence of a specified string in a string
and returns the index number.
Parameter 1: The source string to be looked up, a variable or constant of type string.
Parameter 2: The specified string to be looked up, a variable or constant of type string.
Return value: The index number of the search, a variable of type int.
format
The formatted STRING command, which transmits a reasonable formatting control in parameter 1, fills this
formatting control with any number of subsequent parameters, and returns the filled data.
Parameter 1: The String format, a variable or constant of type string.
Parameter 2: The parameter of the formatting controller to be filled, a variable or constant of type string/real/int.
Parameter 3: The parameter of the formatting controller to be filled, a variable or constant of type string/real/int.
... (no limit on the number of parameters, as long as the total length does not exceed the length of a single
commanded string)
Function return value: The count of successfully split and saved to an array, a variable of type int
The formatted string starts with % and supports the following uses.
%c - accepts a number and converts it to the corresponding character in the ASCII table
%d, %i - accepts a number and converts it into signed integer format
%o - accepts a number and converts it to octal format
%u - accepts a number and converts it to unsigned integer format
%x - accepts a number and converts it to hexadecimal format, using the lowercase letter x
%X - accepts a number and converts it to hexadecimal format, using an uppercase X
%f - accepts a number and converts it to floating point format
%s - accepts a string and formats it according to the given parameters
Example:
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-90
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
getAt
The command to obtain a single string. It gets the string data of a certain bit and returns the obtained data.
Parameter 1: The string to be intercepted, a variable or constant of type string.
Parameter 2: The position to be intercepted, a variable or constant of type int.
Function return value: The acquired string, a variable of type string.
left
The command to take the left of a string. It intercepts a specified number of strings starting from the left
side of the string and returns the intercepted data.
Parameter 1: The string to be intercepted, a variable or constant of type string.
Parameter 2: The number to be intercepted, a variable or constant of type int.
Function return value: The intercepted string, a variable of type string.
right
The command to take the right of a string. It intercepts a specified number of strings starting from the right
side of the string and returns the intercepted data.
Parameter 1: The string to be intercepted, a variable or constant of type string.
Parameter 2: The number to be intercepted, a variable or constant of type int.
Function return value: The intercepted string, a variable of type string.
strcmp
The String comparison command. Under this command, the return value is the ASCII difference between
the first different characters.
Parameter 1: The string data to be compared, a variable or constant of type string.
Parameter 2: The string data to be compared, a variable or constant of type string.
Function return value: The returned ASCII value, a variable of type int.
trimLeft
The command to trim the string by left. This command removes the spaces to the left of the string and
returns the modified string data.
Parameter 1: String to be trimmed, a variable or constant of type string.
Function return value: The trimmed string, a variable of type string.
trimRight
The command to trim the string by right. This command removes the spaces to the right of the string and
returns the modified string data.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-91
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
IToStr
Integer data to STRING command. The command allows to convert integer data to string type data and
return the converted string.
Parameter 1: The integer data to be converted, a variable or constant of type int.
Function return value: The converted string data, a variable of type string.
RToStr
REAL parameter to STRING command. The command allows to convert the real data to string type data
and return the converted string.
Parameter 1: The real data to be converted, a variable or constant of type REAL.
Function return value: The converted string data, a variable of type string.
StrToI
The String to Integer command. This command converts string data to integer type data and returns the
converted integer data.
Parameter 1: The string data to be converted, a variable or constant of type string.
Function return value: The converted integer data, a variable of type int.
StrToR
The String to REAL data command. This command converts string data to REAL type data and returns the
converted real number.
Parameter 1: The string data to be converted, a variable or constant of type string.
Function return value: The real data to be converted, a variable of type REAL.
APosToStr
The APOS point data to STRING command. This command converts apos points into strings in the
specified format and returns the converted string data. The converted apos point is in the format "0;
1,2,3,4,5,6,0,0,0,0,0,0,0,0,0,0,0;", where the semicolon in front represents the apos point type and
coordinate value, respectively.
Parameter 1: The APOS point data to be converted, a variable of type APOS.
Function return value: The converted string data, a variable of type string.
CPosToStr
The CPOS point data to STRING command. This command converts cpos points into strings in the
specified format and returns the converted string data. The converted cpos point is in the format
"1;0,0,0,0,0,0;1,2,3,4,5,6,0,0,0,0,0,0,0,0,0,0;", where the semicolon in front represents the cpos point type,
cfg parameter and coordinate value, respectively.
Parameter 1: The CPOS point data to be converted, a variable of type CPOS.
Function return value: The converted string data, a variable of type string.
TranStrToInt
The command to get integer string array. This command splits the string according to the passed split
character, converts the split value to an integer one-dimensional array and returns the number of valid
splits.
Parameter 1: The string to be split, a variable or constant of type string.
Parameter 2: The separator, a variable or constant of type string.
Parameter 3: The split integer being stored as an array, a variable of type IntOneArray.
Function return value: The count of successfully split and saved to an array, a variable of type int
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-92
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Example:
P:INT0.value = TranStrToInt("1_2_3er", "_", G:IntOneArray0) // The command passes in the character
"1_2_3er", and after execution the system extracts the data by splitting it according to the incoming
split character _. The split data is stored in the one -dimensional integer array variable IntOneArray0 in
the order of 1, 2, 0, and the number of splits 3 is assigned to INT0.value.
TranStrToReal
A command to get an array of REAL strings. This command splits the strings according to the passed
splitters and converts the split values into a REAL one-dimensional array and returns the number of valid
splits.
Parameter 1: The string to be split, a variable or constant of type string.
Parameter 2: The separator, a variable or constant of type string.
Parameter 3: Store the split REAL type variable as an array, a variable of type RealOneArray.
Function return value: The count of successfully split and saved to an array, a variable of type int
Example:
P:INT0.value = TranStrToReal("1.1_2.2_3er", "_", G:IntOneArray0) // The command passes in the
character "1.1_2.2_3er", after execution the system extracts the data by splitting it according to the
incoming split character _. The split da ta is stored in the one-dimensional integer array variable
RealOneArray0 in the order of 1.1, 2.2, 0 respectively, and the number of splits 3 is assigned to
INT0.value.
TranStrToApos
The command to get an array of apos point data strings. This command splits the string according to the
passed split character and converts the split value to an apos point variable, while returning a status of
whether the conversion was successful or not. The string to be converted must be in the format "0;
1,2,3,4,5,6,0,0,0,0,0,0,0,0,0,0,0;", where the leading semicolon represents the apos point type, the
coordinate value, and the last semicolon can be followed by any string.
Parameter 1: The string to be split, a variable or constant of type string.
Parameter 2: The separator, a variable or constant of type string.
Parameter 3: Store the split apos point data as an apos variable, a variable of type APOS.
Function return value: Return the status of the extraction success or failure, a variable of type int
Example:
P:INT0.value = TranStrToApos("0; 21,22,23,24,25,26,0,0,0,0,0,0,0,0,0,0;$qwqewe", "$", G: P0) // The
command passes in the characters "0;21,22,23,24,25,26,0,0,0,0,0,0,0,0,0,0,0,0;$qwqewe". After
execution, the system will split the extracted data according to the incoming separator $, and the data
after $ will be discarded. The split data are stored in the order 21, 22, 23, 24, 25, 26... in the order of
a1, a2, a3, a4, a5, a6... of P0. and the successful return value 0 is assigned to INT0.value.
TranStrToCpos
The command to get an array of cpos point data strings. This command splits the string according to the
incoming separator and converts the split value to an apos point variable, while returning a status of
whether the conversion was successful or not. The string to be converted must be in the format
"1;0,0,0,0,0,0,0;1,2,3,4,5,6,0,0,0,0,0,0,0,0,0,0,0,0;", with the semicolon preceding the cpos point type, the
cfg parameter, and the coordinate value respectively.
Parameter 1: The string to be split, a variable or constant of type string.
Parameter 2: The separator, a variable or constant of type string.
Parameter 3: Store the split apos point data as a cpos variable, a variable of type CPOS.
Function return value: Return the status of the extraction success or failure, a variable of type int
Example:
P:INT0.value = TranStrToCpos("1;0,0,0,0,0,0;21,22,23,24,25,26,0,0,0,0,0,0,0,0,0,0;$qwqewe", "$", G: P0) //
The command passes in the characters "0; 0,0,0,0,0,0,0;21,22,23,24,25,26,0,0,0,0,0,0,0,0,0,0,0,0,0,0;$qwqewe". After
execution, the system will split the extracted data according to the passed splitting character $, the data after $ will be
discarded. The data after the first ";" will be stored in the cfg parameter in the order of "0,0,0,0,0,0" and the data after the
second ";" will be stored in the order of 21, 22, 23, 24, 25, 26... in the order of x, y, z, a, b, c... of P0, and the successful
return value 0 is assigned to INT0.value.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-93
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-94
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-95
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-96
ER 系列工业机器人操作手册 Chapter 6 Introduction to Commands
SimAiToReal
A function that converts SimAi variables to Real types that can be involved in arithmetic after conversion.
Parameter: SimAi
SimAoToReal
A function that converts SimAo variables to Real types that can be involved in arithmetic after conversion.
Parameter: SimAo
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 6-97
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Step 2 By default, the standard area variable is "inactive" and the user can activate it by clicking "Activate".
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-1
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Figure 7-2 Interface for setting standard area variables - Axis interference zone
Parameter Description
Unchangeable by default
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-2
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Range of values:
WorkArea
BlockedArea
SignalArea
Range of values:
Flange
Range of values:
BOX
CYLINDER
X, Y, Z, lenX, lenY, lenZ Sets the start coordinates of the area and the size of the
area.
Axix, posMax, posMin Set the parameters for the axis interference zone (in Figure
7-2), i.e. the axis number to be detected, the maximum and
minimum range of axis motions.
Step 5 Click "OK" to complete the setting of the standard area variables, as shown in Figure 7-3.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-3
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Note
1. When the standard area activates or deactivate the function, the activation or deactivation can be
performed via the variable configuration interface, the command or the input port (the input port
number enabled by the configuration).
2. When the standard area input port is enabled, the area can be activated or deactivated (co-existing
with the standard area activation command and the standard area deactivation command, whichever
is triggered later) by entering the edge of the port number.
3. When a standard area is activated, the default is to set this standard area property to be activated
automatically.
4. Auto-activation Attribute: When the system reboots and loads a standard area, the standard area
attribute is auto-activated and the input port enable is not set, the area is automatically activated;
when the standard area attribute is auto-activated and the input port enable is set, the area is
activated or not according to the level status of the set input port number.
5. When the standard area is active, the status of whether the robot is in the setup area is output in real
time; after the output port is enabled and set, a signal can be output according to the status of
whether the robot monitoring end is in the setup area.
6. When the standard area is activated and the area type is a WorkArea or BlockedArea, the robot
periodically detects the position of the monitoring end of the robot. If it is outside the WorkArea or
inside the BlockedArea, a corresponding alarm will be generated during the robots movement.
Step 1: Click on "User Application > Polyhedron Area" to enter the Polyhedron Area plugin interface, as shown in
Figure 7-4. Currently, up to 4 polyhedron regions are supported.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-4
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Step 2: Select the ID of the area to be configured and enter the configuration interface.
1. If the configuration interface is entered after clicking on the area ID, as shown in Figure 7-5, it means
that the area has already been configured with a polyhedral area. Please refer to Step 3 to modify the
parameters.
2. If, after clicking on the area ID, it appears as shown in Figure 7-6, please click on the "Create" button,
enter the configuration interface, and then click on the "Modify" button to modify the parameters by
referring to Step 3.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-5
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Step 2: Modify the parameters of the configuration interface according to the following instructions:
Status: After activation of this area, determine whether the monitoring point is inside or outside the area.
Auto Activation: When selected, this area will be automatically activated after the controller starts.
Monitoring Point: Select the monitoring point of the area, which currently includes the robot flange and Tcp.
Type: Select the type of this area.
Coordinate System: Select the reference coordinates for this area, which defaults to the World Coordinates.
Vertex Z Value: Indicate the starting position of the area in the Z-direction of the coordinates. It can be entered
manually or obtained by clicking the "Get Current Z Value" button, which displays the current Z-axis coordinate value
in the current coordinates.
Area Height: Indicate the height of the area in the Z-direction of the coordinates. It can be entered manually or
calculated by clicking the "Calculate Z-Height" button, which displays the Z-axis coordinate value of the current
coordinates minus the vertex height value.
Count of Vertices: Indicate the count of vertices on the bottom of the polyhedron area. Clicking on "Vertex
Information" will bring up the vertex configuration interface, as shown in Figure 7-2. Clicking on "Add" will
automatically add the current TCP position in the user coordinates. If you need to modify a vertex of the polyhedron
area, select the corresponding vertex and modify it by clicking on "Teach" or entering the XY coordinates. If you
need to delete a vertex of the polyhedron area, select the corresponding vertex and click on "Delete". The right side
of the interface supports the preview of the 2D and 3D effects of the polyhedron area, as well as the enlarged 3D
effect of only the polyhedron area. Preview supports synchronous display of the monitoring point position (blue dot in
the figure). In 2D mode, only the position of the monitoring point in the XY plane is displayed, and switching to 3D
mode can preview the relative position of the actual monitoring point;
Input Port: Check "Port Enable" to select the input port that needs to activate this area variable, and set it to "Low
Active" or "High Active".
Output Port: Check "Port Enable" to select the output port that needs to activate this area variable, and set it to "Low
Active" or "High Active".
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-6
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Step 2: When using a polyhedron area in the command, create a POLYHEDRON type variable and specify the
correct polyhedron area ID in the "index" parameter. After creation, activate or deactivate the polyhedron area using
the PolyhedronAreaActivate or PolyhedronAreaDeactivate command.
Note
1. When the polyhedron area is activated and the area type is a WorkArea or a BlockedArea, the
system will periodically check the robot monitoring point position during operation and output the
robots status in the set area in real time.
2. When the standard area is activated and the area type is a signal area, the system will periodically
check the robot monitoring point position regardless of whether the excitation is on or off and output
the robots status in the set area in real time.
3. After setting the automatic activation parameter for the polyhedron area, it will not take effect
immediately. The system will load the polyhedron parameters during a restart and determine whether
to activate the area automatically based on the DI port status. When the DI port is disabled, the area
is automatically activated, and when the DI port is enabled, the area is activated or not depending on
the DI level.
4. The logic for activating or deactivating the polyhedron area is the same as the usage status of the
input/output port and standard area monitoring function.
5. The activation or deactivating of the polyhedron area can be performed through the variable
configuration interface, instructions, or input ports (if configured).
----END
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-7
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Way of use
Note
If the current robot model does not support collision detection, the interface will display "The current
robot model does not support collision detection".
This function detects collisions based on load information and device information, so the load
information must be set correctly to avoid false alarms or affect detection sensitivity. For setting the
load parameters, please refer to "PAYLOAD0" (6.5) and "SetPayload" commands (6.5).
.Different working conditions and operating conditions may result in different collision sensitivities with
the same parameter settings. Therefore, false alarms may occur. If a collision false alarm occurs,
appropriately reduce the sensitivity of the collision axis according to the alarm information by
increasing the numerical value until the false alarm no longer occurs.
Step 1: Select "General Settings>Collision Detection" on the System Home to enter the setting interface as shown
in Figure 7-8.
Parameter Introduction:
Enable Checkbox: Controls the on/off switch of the Collision Detection feature.
Checked: Enable the Collision Detection.
Unchecked: Disable the Collision Detection.
Values for Axis 1-6: Set the sensitivity of the Collision Detection.
Default value: 100
Larger value: Lower sensitivity for the Collision Detection.
Smaller value: Higher sensitivity for the Collision Detection.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-8
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Collision IO: The system outputs to the DO port when the collision backoff is done. <N/A> indicates no output,
while other values output a high level to the corresponding DO port.
The target paths running data is recorded through the func tion setting, and the collision detection self-
adjustment parameters are calculated based on the recorded data. The obtained self-adjustment
parameters are then used.
Way of use:
This function requires the Collision Detection feature to be enabled and ensures that the target path for the
Collision Detection Self-adjustment can operate properly.
Step 1: Select "General Settings> Collision Detection> Advanced Settings" on the System Home to enter the setting
interface.
Step 2: Check the "Enable" checkbox in the upper left corner, as shown in Figure 7-8.
Step 3: Click the "Advanced Settings" button in the lower right corner to enter the "Collision Detection Self-
Adjustment" page.
Step 4: Select the "Calibration" tab, click the "Start" button to re-record the self-adjustment data, run the robot's
target path, and interrupt data collection by clicking the "Pause" button. Data collection can be resumed by clicking
the "Resume" button. Run the target path at least once at the target speed, then click the "End" button to end data
collection.
Step 5: Select the "Parameter ID", "Detection Method", and "Sensitivity Level" based on actual needs, and click
"Calculate".
Step 6: Select the "Collision Detection Parameter Settings" tab to set the default parameters for the Collision
Detection.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-9
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Parameter Introduction
Calibration Tab:
Parameter ID: 1-6, used to store the calculated collision detection self-adjustment parameters.
Sensitivity Level: 5 levels: Lowest, Low, Standard, High, Highest, corresponding to sensitivity levels
in ascending order.
Calculate: Calculate the Collision Detection self-adjustment parameters based on the set
parameters.
Default Collision Detection Parameter ID: The factory default parameter is "DEFAULT," and 1-6
corresponds to the self-adjustment parameters in "Parameter ID" 1-6.
When a collision occurs, the robot triggers an alarm and quickly stops its movement. It then moves back
along its original path to prevent contact with the obstacle and release the stress.
The first stage of the process is a quick stop of the robots movement when it detects a collision.
The second stage involves moving back along the original path from the collision stop point to the end
point of the rollback.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-10
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Note
To use this function, you need to contact the manufacturer.
Way of use
Note
When using the Vibration Suppression function, it is essential to set the correct payload parameters, which
affect the controllers adjustment of vibration suppression.
Refer to the Basic Setting Interface for Setting Payload Parameters (4.7.2) and the SetPayload Command
(6.5) for information on setting payload parameters.
Step 1: Enter the configuration interface for vibration suppression by selecting "General Settings>Vibration
Suppression" on the System Home, as shown in Figure 7-10.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-11
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Parameter Description
Enable Checkbox: The switch controlling the Vibration Suppression function ON/OFF.
Checked: Enable the Vibration Suppression function.
Unchecked: Disable the Vibration Suppression function.
Values for Axis 1 to Axis 6: Set the strength of vibration suppression.
Default Value: Standard.
Value Range: There are five levels: Low, Low-Medium, Standard, Medium-High, and High. The
vibration suppression effect increases progressively with each level.
Camera
Robot
Disc conveyor
Workpiece
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-12
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Caution
The current system version supports up to two conveyors per machine.
To access the conveyor configuration interface, users can click on "User Application-Conveyor Tracking" in
the programming pendant. In this interface, conveyor parameters can be configured, including enabling the
conveyor belt, checking and calibrating the pulse equivalent, viewing the conveyor belt position and speed,
and toggling the display of reasons for non-tracking. Users can also switch between five configuration
pages, namely "Conveyor Belt Parameters," "Tracking Parameters," "Trigger Parameters," "Visual
Parameters," and "Virtual Conveyor Belt," to further configure the settings.
Way of use
Note
Up to two conveyors are supported.
Step 1: Select "User Application-Conveyor Tracking" on the System Home, which will take users to the conveyor
configuration interface.
Parameter Description
Display cause of tracking failure:
Checked: Display the causes for tracking failure.
Unchecked: Do not display the causes for tracking failure.
Conveyor Enable: The switch controlling the Conveyor Tracking
Checked: Turn on the Conveyor Tracking function.
Unchecked: Turn off the Conveyor Tracking function.
Pulse equivalent:
Conveyor position:
Conveyor speed:
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-13
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-14
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Velocity coefficient/Accel coefficient/Decel coefficient: the ratios of the velocity/Accel/Decel during the tracking
synchronization process.
Tracking tolerance: the threshold used to judge the accuracy of the tracking synchronization, representing the
maximum allowable displacement error between the robot and the target object.
X-axis compensation: the compensation for workpiece offset relative to the target position in the X direction.
Y-axis compensation: the compensation for workpiece offset relative to the target position in the Y direction.
A-axis compensation: the compensation for workpiece offset relative to the target position in the A direction.
Trigger Types:
− Timing trigger: The system will output a high level signal from the trigger output port based on the
configured trigger time (ms) and cycle, of which high-level hold time is 1/2 of the trigger time.
− External IO trigger: When the system detects a rising edge signal at the trigger input port (detection
cycle of 4ms), set the trigger output port to output a high level signal. The high-level hold time is
synchronized with the trigger input port.
− Non-camera trigger: No visual operation mode, and a task program needs to be created: detecting
input signals, sending target information, and so on. RUN program can be used to write the
commands. When the rising edge signal is detected at the trigger input port, call the SetTargetPos
to send the workpiece position information.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-15
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Trigger time: The settings are valid when the "Trigger Type" is of "Timed Trigger". It indicates the interval time for
inputting the high level signal at the specified trigger output port.
Trigger input port: Specify the trigger input port information for system detection. The settings can be valid when the
"Trigger Type" is of "External IO Trigger" or "Non-Camera Trigger".
Trigger output port: Specify the trigger output port information output by the system, so that the camera can perform
shooting. The settings can be valid when "Trigger Type" is of "Timed Trigger" or "External IO Trigger".
Trigger signal verification types:
− Nil: This method does not perform any verification processing on the trigger signal, and any signal
triggering is considered valid.
− Time: This is a time verification method, which means that within a certain time period after the last
valid signal triggering, the system will block the signal receiving function. The blocked data received
varies depending on the blocking object.
− Distance: This is a distance verification method, which means that within a certain distance (which
refers to the conveyor movement distance) after the last valid signal triggering, the system will block
the signal receiving function. The blocked data received varies depending on the blocking object.
Blocking object:
− Position Reception: When the trigger signal verification type is of Time or Distance, the system
discards the workpiece information sent from vision or the SetTargetPos instruction within a certain
time or distance after the last valid signal triggering, which means that any workpiece information
received in this interval is invalid data.
− Signal Detection: When the trigger signal verification type is of Time or Distance, the system stops
detecting the trigger signal within a certain time or distance after the last valid signal triggering,
which means that the workpiece information received in this interval is executed with the encoder
position recorded by the last valid signal.
Verification Time: This parameter is used to specify the time for blocking signal receiving after the last valid signal, in
ms. This parameter is effective when the "Trigger Signal Verification Type" is set to "Time."
Verification Distance: This parameter is used to specify the distance for blocking signal receiving after the last valid
signal, in units of millimeters for linear conveyors and degrees for disc conveyors. This parameter is effective when
the "Trigger Signal Verification Type" is set to "Distance."
Select [Virtual Conveyor] to enter the virtual conveyor parameter configuration interface.
----END
Select "Advanced Settings" on the System Home and click on "Network Settings" to enter the system
"Network Settings" page. The programming pendant will display the corresponding setting page according
to the controller system version.
To ensure normal communication, the parameters in this interface should be set to the correct values
according to the actual situation.
Network Settings A
The controller system uses internal bridging for its network card. When any network port is connected to a
LAN, the IP addresses of the Programming pendant, OS1, and OS2 cannot be the same as those of other
devices on the LAN, otherwise network address conflicts may result in communication anomalies.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-17
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Remote Network Settings: Modify the IP addresses of the OS ends that are currently connected to the programming
pendant remotely.
− OS1 IP: IP address of OS1.
− OS2 IP-TP: IP address of OS2.
− OS2 IP-Comm: IP address used for communication with OS2.
Local Network Settings: Only modify the IP addresses of the OS ends that are locally connected to the programming
pendant.
− Programming pendant IP: IP address of the programming pendant.
− OS1 IP: IP address of OS1.
− OS2 IP-TP: IP address of OS2.
Network Settings B
The controller system divides the network into internal and external networks. The internal network is
mainly for the effective connection between the programming pendant and the controller, while the external
network is for the effective connection with external communication. Therefore, when wiring the robot
group, only ETH1 or ETH2 needs to be modified according to the application.
Caution
External communication network addresses cannot be the same as the identification segment of the
internal communication network, otherwise normal communication may be affected. (For example, the
default factory network segment for the internal network is 192.168.6.x, so the external network is not
allowed to be set to 192.168.6.x.)
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-18
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
When the teaching pendant is started, the subnet mask and gateway are automatically read and displayed
in the interface.
The subnet mask cannot be empty, and the gateway can be left blank.
After modifying the subnet mask and gateway, click the "Save" button to save the changes. Follow the
prompts on the interface to restart the controller (as shown in the figure below). After the restart is
completed, the modifications will take effect.
IP Scan
When the controller system is set to type B in the network settings, this function is temporarily unavailable.
In some customer sites, there may be multiple controllers on the same LAN. Without clearing the controller IP
configuration, the programming pendant may not be able to connect to the correct controller. Therefore, this function
enables scanning of all controllers IPs on the LAN using the programming pendant, allowing the customer to choose
which controller to connect to.
If the programming pendant is unable to connect to the controller after starting up, follow the shortcut keys in the
figure below to enter the IP configuration interface.
In the IP configuration interface, the IP can be directly edited (with secondary password verification required), or the
"Scan" button can be clicked to automatically search for the IP of the current LAN controllers and their corresponding
real-time system IPs. Selecting from the drop-down list will automatically fill in the configuration field.
After clicking "Save IP" and successfully saving the changes, click "Restart". After the restart, the programming
pendant will be connected to the specified controller.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-19
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
1. ESTOOL operation
Upgrade the program directly to the programming pendant system, without checking the "Upgrade the
teach pendant while starting up". Load the program in the programming pendant system directly when
it is powered on.
To upgrade the program of the pendant to the controller system, check the "Upgrade the teach
pendant while starting up", and load the program in the controller system directly when it is powered
on. When this method is selected, the controller system version will be upgraded, and the pendant will
also be upgraded automatically and synchronously.
Step 1 Switch the user to the “administrator”, and click the Advanced Settings plug-in group, as shown in Figure 7-
22.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-20
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Step 3 Enter the TP update interface as shown in Figure 7-24, and check the "Upgrade the teach pendant while
starting up" to enable the synchronous update of the teach pendant.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-21
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Step 1: Click on the "Select File" button to locate the file that needs to be updated.
Step 2: Click on the "Restart" button and enter your password. After the password is verified successfully, reboot
the teach pendant and the restart will take effect.
ESTool update
Step 1 Start ESTool. The ways of startup are described in "Start ESTool".
Step 3 HMI update interface after login, as shown in Figure 7-26. Select HMI function module, insert U disk into the
teach pendant, select the file to be updated on the left, and click the update button to update.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-22
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Step 2 Select the pendant program file that needs to be updated in the U disk from the list of pendant programs,
and click "Select".
Step 3 A prompt message will pop up after the update is finished, as shown in Figure 7-27.
Step 4 Click "Restart", the teach pendant will restart and upgrade to the latest TP version automatically.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-23
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
----END
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-24
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Step 1: Put the controller runtime program (.runtime or .patch format file, which is usually provided by the developer)
into the root directory of the USB flash drive.
Step 2: Insert the USB flash drive into the Programming pendant USB port, select Advanced Settings on the
System Home and click on the controller update interface as shown in Figure 7-29.
Step 3: Check the "Auto backup in the background" function if required; if checked, the existing system software will
be backed up on the controller side before the update, and the backed up system software will be used to restore
the system during the system restore.
Step 4: Click on the "Update" button, enter the administrator password to confirm and then you will be prompted if
you need to export the existing runtime. Select "Yes" to export the existing runtime from the controller, and select
"No" to skip this step and continue to the next step.
Step 5: After selecting the update file, it will automatically update, then wait for the completion of the update.
Note
When updating the controller, and "Auto background backup" is checked, then a backup of the runtime
process will appear during the update, as shown in Figure 7-29 and Figure 7-30;
If the actual programming pendant is used and updated from a USB flash drive, then the USB flash drive
must be in FAT32 format;
The name of the update package and the path where it is located must not contain Chinese characters,
.Do not power down your system while the system update is in progress, in case the system update is not
completed and the system does not function properly.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-25
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Step 1: Switch to administrator mode, access the controller upgrade interface, and click "Restore". Enter the
administrator password for confirmation. After that, a confirmation dialog box will pop up as shown in Figure 7-31.
Click "Ok" to initiate the restoration request to the controller.
Step 2: Once the controller approves the restoration request, the restoration operation will begin, as shown in
Figure 7-32. The programming pendant will disconnect from the controller after the restoration starts.
Step 3: Wait patiently for some time. The programming pendant will display a message box indicating that the
restoration is about to end, as shown in Figure 7-33. As the message suggests, to ensure data synchronization, the
Programming Pendant needs to be restarted. For the virtual Programming Pendant, automatic restart is not
possible, so after clicking "OK", the virtual programming pendant will close automatically, and you need to manually
reopen and run it. For the actual Programming Pendant, it will restart automatically after you click "OK".
Note
Do not turn off the system power while waiting for the system restoration to complete to avoid system
malfunction caused by the restoration failure.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-26
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-27
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Step 2: Select the export type as required (including: runtime package, project program, and system log), then click
"Export". Enter the administrator password for confirmation (if the actual programming pendant is used and no U-disk is
inserted, a prompt to insert the U-disk will appear), and then request export to the controller, as shown in Figure 7-35.
Step 3: After the request is approved, the "Export Rename" dialog box will appear. The virtual Programming Pendant also
supports selecting the directory to save the export. After setting the export name, click "OK" to begin exporting the
corresponding file.
Step 4: After the export is complete, it will be displayed as shown in Figure 7-36.
Note
If using the actual programming pendant, do not remove the U-disk before the export is complete, as it may
cause the exported files to be nonexistent or damaged.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-28
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Step 2: Switch to the administrator user and enter the "Controller Upgrade" interface. Click "Backup Export" and then
click "Import Project". After entering the administrator password to confirm, the interface shown in Figure 7-37 will be
displayed, prompting that importing the project will overwrite the existing project. You can choose to export the existing
project by clicking "Yes". The process is the same as exporting the project program. After the export is completed, the
project program file dialog box will be entered. If you click "No", you will directly enter the dialog box for selecting the
project program file.
Step 3: Select the imported project program, and the import will begin. After the import is completed, the prompt "Import
successful" will be displayed. Please refresh the project, as shown in Figure 7-38.
Step 4: Click the project button on the right to enter the project interface. Click "Refresh" to display the imported project.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-29
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
----END
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-30
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Note
This function is currently available only on SCARA models.
Reach by one-click. It is applicable only to position variables in the world coordinates.
When being activate d, the parameter configuration of Reach by One-click will become valid.
To use this function, press and hold the hand switch in manual mode before performing motion
operations.
By pressing and holding the button, the robot will stop after moving to the target point. If the button is
released halfway, the robot will stop motion immediately, and continue to move toward the target point
by pressing such button again. Where: Height 1 represents the height of the vertical lift from the
starting point along the z-axis; Height 2 represents the vertical height of the target point. The arched
path is shown in Figure 7-40.
Z directions
Height 1
Reach point
Height 2
Target point
Starting point
Origin
Step 1 Enter the program data interface, and click the tool coordinates to be calibrated in the global scope, i.e.
TOOL0, as shown in Figure 7-41.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-31
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Step 2 Click "Modify" to enter the preview interface of reference coordinate system, as shown in Figure 7-42.
Step 3 Click "Settings" and enter the calibration method selection interface of the reference coordinate system, as
shown in Figure 7-43.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-32
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Step 4 Select the way of calibration and perform calibration to the offset or posture.
[4-point Calibration]
1. Select the “4-point Calibration”, which means that you need to calibrate tool offset by teaching 4 different
postures of the same point. The, click "Next". Move the robot TCP to a position and click "Teach", as shown
in Figure 7-44.
2. Then, click "Next" to change the posture of the robot, and click "Teach", as shown in Figure 7-45.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-33
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
3. Click "Next" to change the posture of the robot, and click "Teach", as shown in Figure 7-46.
4. Click "Next" to change the posture of the robot, and click "Teach", as shown in Figure 7-47.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-34
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
5. The accuracy error after this teaching will appear. User can continue to save the result or re-
calibrate as needed.
6. Click "Next" to get the calibrated value, as shown in Figure 7-48.
2. Click "Next", and the result of the posture calibration of tool coordinates will appear, as shown in Figure
7-50.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-35
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Step 5 Click "OK" after it is confirmed to be correct. The modification is finished, as shown in Figure 7-51.
----END
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-36
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Step 1 Enter the program data interface, and click the user coordinates to be calibrated in the global scope, e.g.
USERCOOR1, as shown in Figure 7-52.
Step 2 Click "Modify" to enter the preview interface of user coordinates, as shown in Figure 7-53.
Step 3 Click "Settings" to enter the calibration method selection of user coordinate system.
There’s only the "3-point calibration method" available currently, as shown in Figure 7-54.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-37
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Step 4 Click "Next" to start teaching the coordinates at the origin, and move the robot to the origin of the user
coordinates. By clicking "Teach", the interface will record the coordinates of the origin (the first point), as shown in
Figure 7-55.
Step 5 Click "Next" to move the robot to any position on the X-axis of the user coordinate system. Click "Teach",
the interface will then record the coordinates of the second point, as shown in Figure 7-56.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-38
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
- If X is checked: it means that the x-axis is selected and only the xy-plane or xz-plane can be selected.
The same applies if Y/Z is selected.
Step 6 Click "Next" to move the robot to any position on the XY plane of the user coordinates. Clicking "Teach",
the interface will record the coordinates of the third point, as shown in Figure 7-57.
Step 7 Click "Next" and return to the preview interface of user coordinates, as shown in Figure 7-58.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-39
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Step 8 Click "OK" after it is confirmed to be correct. The modification is finished, as shown in Figure 7-59.
----END
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-40
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Glue gun
External TCP
Workpiece
Calibrate the external TCP before using the external TCP functions. For details, please refer to "7.11
Calibration of user coordinates/external tool coordinates".
The external tool coordinates may be selected in the jog reference coordinate system. When the external
tool coordinates is selected as the reference coordinate system, the jog position and posture are relative to
the external tool coordinates. The jog position under the external TCP is similar to the jog position under
the user coordinate system, and both move along the X, Y, and Z directions of the reference coordinate
system. The difference between the jog posture in the external tool and the jog posture in the user
coordinate system: for the jog posture in the user coordinate system, the TCP point does not move, while
the posture rotates around the TCP point. For the jog posture of the external tool, the TCP point rotates
around the external tool coordinates.
In MovL and MovC commands, the reference coordinate system can be selected as external tool
coordinates. The current reference coordinate system can also be set as external tool coordinates using
the command SetExternalTCP. When the external TCP is used to teach linear and circular motions, teach
2 points in a linear mode, and 3 points in an arc mode.
Note
The posture point stored in teaching can be the description of the TCP point relative to the external TCP.
The motion of is relative to the external TCP coordinates.
For example, when external TCP functions are used, if the teaching origin and endpoint of the workpiece is
attached to the external TCP origin, the contour of the workpiece is a straight line, irrespective of the
changes of posture of the teaching origin and endpoint. When linear motion commands are used, the
contour of the workpiece always moves along the external TCP origin. The motion speed is the speed of
the workpiece relative to the external TCP coordinates.
Way of use
Teaching endpoint Two points trajectory of
Teaching Origin
teaching during
reproduction
Straight-line teaching
under the external TCP
Workpiece
Glue gun
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-41
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Way of use
Step 1 Enter the Jog Management group in the Home; click "Tool Alignment", and enter the operation interface of
"Single-point Alignment Coordinate Axis", as shown in Figure 7-60.
Figure 7-61 Operating interface upon activation of single-point alignment coordinate axis
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-42
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Step 5 A pop-up window means that the alignment is successful, as shown in the figure below.
----END
Caution
Before performing "Servo management" operations, please confirm that the following conditions are
met:
The axis drive numbers (Axis 1 to Axis 6) corresponding to the robot joints have been confirmed.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-43
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Way of use
Enter the General Settings group in the Home; click "Servo Management", and then enter the "Servo
Management" operation interface, as shown in Figure 7-62.
Click "Reset Fn010" and "Reset Fn011" to clear the servo alarms associated with the absolute encoder (A.45, A.46,
A.47, A.48, A.51).
Click "Reset" to clear the current servo alarm of the right axis.
Click "Clear History Alarm" to clear the history alarm of the right axis.
Caution
Click "Reset Fn010", the absolute value multiturn information of the encoder will be cleared. Be sure to
Make sure that servo faults have been ruled out before performing "Clear Servo Alarms" operations.
When performing Fn010 or Fn011 operations, make sure that the servo is not in excitation state, and
the system needs to be restarted after the operation.
Set PN Parameters
Click the "Set PN Parameters" function button at the bottom to enter the "Set PN Parameters" operation
interface, as shown in Figure 7-63, which initially displays the PN parameters of Axis 1.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-44
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Click the "Set PN Parameters" function button at the bottom to get the PN parameters of current axis on the
interface.
Click the corresponding axis number tab to get the PN parameters of the corresponding axis.
Clicking the "Set" button for the corresponding PN parameter pops up an input box. After entering a value, click the
"OK" button to send the input value to the servo. After the setting is done, the current PN value is displayed in the
corresponding PN parameter textbox.
Caution
Before setting PN parameters:
Disable the servo enable signal.
Familiarize yourself with the servo parameter setting method, including parameter range, meaning, and
other information.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-45
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Torque
To smooth the mechanical impact
Pn115 feedforward 0~640 0.25ms
resulted from torque feedforward.
filtering
After the programming pendant is started normally, clicking the "Version Information" button at the bottom will obtain
the servo software version and display it on the screen.
Caution
The servo software version is obtained only once upon first entry, and for version information that is not
obtained, "Nil" is displayed.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-46
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Clicking "Backup" will prompt for a password. Use the administrator password to confirm the operation. After the
password is verified, the controller will locally backup the current portion of the Pn parameters. Note that the backup file
will overwrite the original backup file.
The restoration of servo parameters can be divided into two types: restoring user-backed up parameters and
restoring factory-backed up parameters. Select the type of backup to restore using the radio button.
Restoring user-backed up parameters: i.e., restoring servo parameters backed up or imported by the
user.
Restoring factory-backed up parameters: When the machine is delivered, a servo factory parameter
backup file is provided for each model. Restoring this backup file will restore the parameters to the
servo.
After selecting the backup type using the radio button, click "Restore" and enter the password. Use the
administrator password to confirm the operation. After the password is verified, the controller will
execute the restore operation.
Insert a USB disk and click "Export" to download the user backup parameter file to the root directory of the USB
drive.
Insert a USB disk and click "Import". Enter the password, use the administrator password to confirm the operation,
and after the password is verified, select the imported servo backup parameter file.
Caution
The servo must be disabled before performing backup and restore operations.
Performing "Backup" and "Import" operations will overwrite the original backup file. To preserve the
original backup file, use the "Export" function.
Way of use
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-47
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Step 1: From the System Home, select "General Settings > Visual Settings" to enter the Visual Settings page, as
shown in Figure 7-66.
Step 3: Fill in the "Camera IP" and "Camera Port Number" according to the actual parameters, which are set to
192.168.6.230:5000 by default.
Parameter Description
Camera Device Type: Sets the 2D or 3D view.
Allowed Values: 2D, 3D, 2D client.
Camera IP: The default IP is 192.168.6.230.
Camera Port Number: The default value is 5000.
Visual Type: Divided into dynamic and static types, only static visual types are currently supported.
Visual Commands
The visual commands list is shown in Figure 7-67.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-48
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
TrigCam
This is the command for triggering the camera shooting.
TrigCam (“OK”, 1)
The string "OK" triggers the camera to shoot.
WaitFinishCAM
This is the command for waiting for the camera to finish shooting.
WaitFinishCAM (1000,1)
GetCamPos
This is the command for getting the camera position.
GetCamPos (P6, INT0, INI1, 1)
Usage I
The robot is the client, while the vision device is the server.
Step 1: Go to the System Home and select "General Settings > Visual Settings" to enter the 3D visual settings
interface as shown in Figure 7-68.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-49
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Step 3: Fill in the camera IP and port number as per the actual parameters. It is defaulted as 192.168.6.230:6000
Note
Step 4: Send a character string to the vision settings by using the command SendMessage. The content of the
character string can be defined by the user. For example, sending the string "ScanReque" to the camera can be
achieved by executing SendMessage("ScanReque",1).
Vision obtains 3D images of the environment using the sensor, makes analysis and parsing, and then
converts them into vision commands to set or get robot variables, position points, IOs, etc.
Usage II
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-50
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Using robot as the server, and the vision device serves as the client. The robot server is configured as
follows:
IP: 192.168.6.63 (controller’s IP address)
Port: 5000
Step 1 Establish the connections.
1. Controller internally start the python script to create the server-side.
2. Configure the client device to make it connect to the robot. (Ping the controller IP 192.168.6.63)
3. Configure the client device to use the above connection parameters.
4. Establish a connection with the server. (The client should send a read and write request to the server every
10 seconds at the moment to keep the connection as a heartbeat)
Step 2 The vision client then sends commands to the server.
The vision commands sent to the robot are listed in Table 7-3.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-51
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
or not
----END
7.17 ModbusTCP
Function overview
ModBusTcp protocol interface is a communication mode in which an external logic controller (PLC, etc.)
communicates with the robot via the standard industrial bus protocol (ModBusTCP), and reads and writes
the virtual IO port of the robot. The robot can interact with external devices through ModBusTCP without
additional expansion of IO ports.
Estun robot controller, as a server, provides the following functions to external control device through
ModbusTCP protocol:
Access and control virtual I/O
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-52
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Way of use
The ModBusTCP interface of ER series robots is configured as follows:
IP: 192.168.6.68 (real-time system IP address)
Port: 502
Cycle of collection >50ms
Response timeout>100ms
Heartbeat time <10s
Step 1 Establish the connection.
1. Configure the client device to make it connect to the robot. (Ping the real-time system at IP 192.168.6.68)
2. Configure the client device to make it use the above connection parameters.
3. Establish a connection with the server. (The client should send a read and write request to the server every
10 seconds at the moment to keep the connection as a heartbeat)
Step 2 Read and write SimIO.
According to the table below, the virtual output is SimOutput. The client should read the value of the
corresponding register, and map it to the input of the external device. The virtual input is SimInput. The
client should write the value to the corresponding register, and then map it to the output of the external
device.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-53
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
The client can read the corresponding Bit through the mask to get the robot status.
Command execution
40019
status word
Request from
40100
reading/writing flag bit
Bit1 Reserved
Bit5 Reserved
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-54
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Bit6 Reserved
Emergency stop
Bit1 command executed
successfully
Reset command
Bit4
executed successfully
Command execution
Bit13
error
Bit14 Reserved
Bit15 Reserved
----END
2. The robot can be in four lockup states: The locked state of robot, the unlocked state in stage 1, unlocked
in stage 2, unlocked in stage 3, and unlocked indefinitely.
3. No lockup setting is made for the robot at time of delivery, but be defaulted to unlock indefinitely. Once it
has been locked up, the motion and other related operations cannot be performed.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-55
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
4. The number of days of lockup are to be set and cleared by the manufacturer by entering a dynamic
password to log in. The unlocking operation can be done by the user after getting the unlocking key
from the manufacturer.
Remaining: Display the current period type and the remaining days of the current period. If the "special period” is
displayed for the permanent unlocking, the remaining days are "indefinite period";
Unlock: Open the period unlocking interface. This operation can be finished by users.
Setting: Open the interface for setting the period of days. The operations in this interface can only be performed by
the manufacturer’s personnel after entering the dynamic password
Clear: Open the permanent unlocking robot setting interface. The operations in this interface can only be performed
by the manufacturer’s personnel after entering the dynamic password
----END
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-56
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Step 2 After logging in, as shown in Figure 7-71, enter the restricted number of days for stages 1, 2, and 3, and
click the "Set" key to invalidate the set days.
Note
After the robot software is installed at time off delivery, and if the lockup is not configured, the lock will
be not restricted by default, and all the functions can be used permanently.
All the days for the three stages need to be filled in, and be invalid after setting.
After setting, the stage 1 lockup will be valid. The starting time is the current time of unlocking.
----END
Unlocking period
Step 1 Enter the staged lock management application interface, click the "Unlock" button, and the teach pendant
will display as shown in Figure 7-72. Then, provide the machine code and the number of stages to be unlocked to
the manufacturer to get the unlocking key. The machine code consists of two parts, and the format is: fixed code-
dynamic code.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-57
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Step 2 After unlocking the appropriate period, the period will then become valid. You can refresh to view the
current remaining days in the corresponding interface.
Note
The current number of days after unlocking will become valid immediately. The start time will be the current
unlocking time.
If unlocked in an early time, only the number of days in the current period will be valid, and the days in the
previous period will be invalid by default.
----END
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-58
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Step 2 Log in the lockup clearing setting interface, as shown in Figure 7-74. According to the prompt machine code,
the manufacturers personnel is provided with the clearing key.
Step 3 After the lockup function is cleared, the robot enters an unlocked state indefinitely. You can refresh and
view the current period in the interface of remaining days with no "Special Period" displayed, and the remaining
days are "Indefinite".
----END
When the workpiece is gripped by the robot and the machine is performing feeding/blanking
operations, there is a difference between the gripping position and the final position of the rough
workpiece. Linear SoftFloat function works to change the robot from a rigid state to a flexible state
without using external sensors or adding a mechanical construction. The end of the robot can move
in a straight line in the specified direction under the actions of the external force, and fit the workpiece
well to avoid collision and friction. The function is used in die-casting and other workpiece
feeding/blanking operations.
When SoftFloat is started, the motion speed of robot is determined by the external force. The greater
the external force, the faster the robot will move.
Caution
After SoftFloat is turned on, it will be turned off in case of following conditions.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-59
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
When using SoftFloat functions, please specify the correct SoftFloat direction to ensure that it is
consistent with the moving direction of the workpiece.
After SoftFloat is turned on, the following situations occur, and SoftFloat functions are turned off.
Stop the SoftFloat after the external force is removed, in such a way that the robot will stop without
producing vibration.
If the last motion command of the SoftFloat starting command contains transition information, no
transition processing will be performed.
When SoftFloat is turned on, the collision detection and maximum torque detection functions are turned off,
which will be restored when SoftFloat closes or an error is alarmed after SoftFloat functions is turned on.
Before extracting workpieces using SoftFloat, confirm whether the SoftFloat direction is set correctly. When
tool coordinates are selected as the reference coordinate system, the linear motion direction will be the
direction of tool coordinates direction selected at the start point of SoftFloat. The direction of SoftFloat tool
coordinates is the same as the direction when the robot is in jog operation. When TOOL is selected as the
reference coordinate system, the coordinate system number shall be nullTool. When the Y direction is
selected for SoftFloat, the direction of the linear SoftFloat is shown as follows:
Ty
Tx
Tz
SoftFloat direction
软浮动方向
The flexibility effect will the best when the direction of SoftFloat is set in parallel to the tangential direction
of the horizontal rotation of the robots force point around the Z -axis of the world coordinates; when the
angle θ is greater than 60 degrees, the linear SoftFloat will report an error. The angle θ is the angle
between two straight lines in space. It is illustrated as follows:
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-60
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Tangential
切线方向direction
SoftFloat direction
软浮动方向
θ= 0
The flexibility will be better if the angle between the tangential direction is parallel to the SoftFloat direction.
SoftFloat
软浮动方向 direction
θ Tangential direction
切线方向
The flexibility will be poor if the angle between the tangential direction and the SoftFloat direction is larger.
Application example
The extraction of workpieces from the die-casting machine will be taken as an example. The field
application of SoftFloat can be in following process:
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-61
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Program starts
SoftFloat starts
No
Beyond the waiting time Controller reports an
No or not? error
Yes
Yes
1. When the program runs to the starting point of SoftFloat, the workpiece will be gripped first.
2. After the SoftFloat is turned on, the controller sends DO signals to the die-casting machine, while
waiting for the DI signal input of the die-casting machine ejector in-position signal and setting the
waiting time;
3. When the die-casting machine receives the DO signal, the die-casting machine ejects the ejector rod,
and the robot can move by following the ejector pin; When it goes beyond the set waiting time, the
controller alarms;
4. The SoftFloat ends when the controller receives the ejector in-position signal.
5. The robot continues to move down from the position where the SoftFloat ends.
Example of teaching:
MovJ (P0, V100,"RELATIVE",C0)/* Robot moves to the SoftFloat starting point P0*/
SetDO(DOO,0) /* Control the gripper to grasp the workpieces */
Wait (500) /*Wait for 0.5s*/
SoftFloatStart (CART,TOOL,nullTool,Y,LOW) /* After the linear SoftFloat is turned on, the
robot can move in a straight line along the Y direction of tool coordinates without tool
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-62
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
parameters, and the SoftFloat flexibility level is LOW */ SetDO(DOO,1)/* Send out the
die-casting machine ejector pin moving forward signal */
WaitDI(DIO,0,8000,0,INT0) /*Controller waits for the in-position signal of the ejector
pin of the die-casting machine and sets a waiting time of 8s, then returns to the in-
position signal state INT0*/ IF INT0.value >0 THEN/* Judge if it is in position*/
SetRtToErr("WaitError",10000)/*Controller reports an error if it is beyond the set
waiting time for 8s */
ENDIF;
Wait (500) /* Wait for 0.5s till the robot stop moving; the waiting time depends on the
actual conditions */
SoftFloatStop ()/*SoftFloat function is turned off */
MovJ (P1, V100,"RELATIVE",C0)/* Robot moves from the SoftFloat endpoint to point P1 */九点
标定功能
Way of use
Step 1: On the System Home, select "User Applications > 9-point Calibration" to enter the corresponding
operation interface, as shown in Figure 7-75.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-63
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
1. Select the corresponding camera; each camera shall have the appropriate calibration parameters.
2. The initial interface is not operable; check the upper right corner to enable 9-point calibration function.
3. Operate the teach pendant manually to move the robot to calibration point 1; select point 1 and input
manually the pixel position corresponded to the calibration point 1; keep the robot TCP point coincident
with point 1 on the calibration paper, and then click to teach the current robot coordinate point. Click
“Save” key.
4. Repeat the above operation, select calibration points 2~9 in turn, and input the pixel position points
corresponded to the calibration points;click “Save” after each time of input.
Note
Selection of calibration direction: Select the positive direction when the Z direction of the camera working
coordinate system is the same as the Z direction of the world coordinate system, the positive direction is
selected here; and select negative when the Z direction of the camera working coordinate system is
opposite to the Z direction of the world coordinate system.
After each point has been taught, click the “Save” button.
Step 3 Compute the matrix.
Click the “Compute” button after setting the visual pixel position point and robot coordinate point. The
computation error is displayed at RX and RY, and the normal error is within ±0.1. After computation, keep
the 9-point calibration enable in the enabled state. Then, send the shot target object point to the robot end
using the camera to observe if the robot can move to the target object correctly.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-64
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
"Help" menu
Click the “Help” button in the lower right corner, and the calibration interface will then switch to the operation page
containing the “Instructions for use”. The left area can also be used. The “Way of use” is the same as that mentioned in
above chapter. Click the function button in the lower left corner to switch back to the original window.
Calibration drawings
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-65
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
The serial number of the calibration point of the vision and robot must be the same as the figure below.
----END
Multi-station Reservation function works to bind each station in the robot working area to different input
ports, and assign these input ports with the functions of starting and stopping, and then the user can
enable the robot to execute the station program bound to it automatically by entering effective signal to the
input port. Also, by using this function, user can start the programs on the corresponding tooling in turn
according to the sending order of the signals.
The figure below illustrates a working example of a robot: its working sequence is tool 1, tool 2 and tool 3;
the jobs performed on each tool are program 1, program 2 and program 3.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-66
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Tool 3
(Login program3)
Tool 1
(Login program 1)
Tool 2
(Login program2)
Each of the three toolings process the different workpieces, corresponding to different processing
procedures. There’re following two effects when starting it under Playback mode, assuming that the
procedures are program 1, program 2, and program 3:
When there’s no program executed currently, user sends signal to tool 1, and the robot will automatically load and
run program 1. The starting mode of tools 2 and 3 is the same as the tool 1.
The program currently being executed by the robot: Assuming that program 1 is currently being executed, and
workpieces are prepared for tools 2 and 3, the user first sends the starting signal to tool 3, and then the tool 2. At this
moment, as the robot is executing the tool 1, then the system will record the appointment waiting status of tools 3 and 2
in turn. When program 1 is executed, the robot will execute program 3 first, and then the program 2. The whole
appointment process is finished by this moment.
When the robot operates, the user can check the working status and IO signal of each station using the
teach pendant.
Way of use
To use this function correctly, user needs to complete the following tasks:
The program of each station has been edited correctly. For the editing method of the program, please refer to 4.2
Program editing.
The Start button located on the tooling of each station can be used properly.
Step 1 Click "Multi-station Reservation " in the "User Application" plug-ins on the Home interface, as shown in
Figures 7-76 and 7-77.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-67
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Step 2 After entering "Multi-station Reservation Settings", check "Multi-station Reservation Enable" and the
"station" to be operated.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-68
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Step 3 Click the "program name" in the row where each "station" is located.
Step 4 Select the program you want to perform from the "Project List".
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-69
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Step 5 Assign the "Start Input", "Stop Input", "Status Output" and "Stop Output" signals to each "station" correctly.
User can click each cell in the table header listed on the interface to view the “Help” information.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-70
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Step 6 Click "Multi-station Reservation Status" to view the status of each "Station" as well as its IO signal status.
Note
After the parameters of the Multi-station Reservation are properly set, you can perform the multi-station
reservation operation after switching the system to Playback mode.
When a program is not executed and the reservation is successfully made, but you then want to cancel
the current reservation, just cancel the reservation by inputting signal to the start unit.
----END
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-71
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
With the positioner function, the workpiece can be moved to a suitable position for welding upon the
rotation and flip of the worktable. It also makes collaborative motion with the robot so as to improve the
production efficiency and welding quality.
Up to 6 positioners can be configured. 1-axis rotary positioners and 2-axis rotary positioners are supported.
Note: In the screenshots of this chapter, the axis name "Ex" is equivalent to "PEx".
Step 2: Select the "Positioner ID" to be set, for example, selecting positioner ID = "1".
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-72
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
When the number of axes is set to "2", select the additional axis to be calibrated by clicking "Switch Axis".
Caution
When 2 additional axes are set, make sure that the additional axis corresponded to the second axis of the
positioner is at the zero position when calibrating the "1-axis coordinate system"; vice versa.
Caution
During calibration, make sure that the axis of the positioner teaches by rotating in the positive direction,
and keep the other axes of the positioner at the zero position.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-73
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Back Next
Note
For the model 3 corresponding to the "3-axis positioner", it can be configured as two two-axis positioner.
[How to calibrate]
1. Install a point device or find a characteristic point prior to calibration as a marked position.
2. Move the robot TCP to such position, and then click "Teach".
3. Click "Next" and continue to rotate the positioner axis to an angle (recommended greater than 30°),
move the robot TCP to the marked position, and then click "Teach".
4. Click "Next", and after rotating the positioner axis to the angle (recommended greater than 30°) for the
second time, move the robot TCP to the marked position, and then click "Teach".
5. Click "Next", and the calibration "result" will appear.
Note
When calibrating the "2-axis coordinate system", make sure that the additional axis corresponded to the 1-
axis of the positioner is at the zero position. Then, click "Switch Axis", and calibrate the 2-axis coordinate
system with the same method.
Step 9 After returning to the positioner coordinate system interface, click "OK", and the positioner ID=1
coordinate system is successfully calibrated.
----END
Example
The left and right sides of the robot are provided with a positioner each. The robot first performs
synchronous motion with the U-shaped positioner on the left (variable POSITIONER1 has been set), and
then with the L-shaped positioner on the right (variable POSITIONER0 has been set). The structure of
command is shown in Figure 7-89.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-74
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
P3 P4
P5
HomeP
P2
P0
P1
In the reverse mode, the motion commands that are allowed for execution in reverse will perform such
operation, and alarms will be given for the motions or other commands that are not allowed. Other
commands that do not affect the return of the original track will be skipped and not executed.
Way of use
In manual mode, press the "F/B" key to enter the Execution in Reverse mode, and press the "F/B" key
again to return to the positive sequence mode.
Caution
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-75
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
After the program is logged off or loaded, it is automatically restored to execution in positive sequence.
The reverse execution is limited to single-step execution performed manually.
When using this function, skip directly for any skippable commands, which will not be executed.
When using this function, the system will give an alarm in case of an unexecutable command.
When performing execution in reverse, the commands such as SetPC will lead to changes in the
running path. This is a manual intervention, while the risk is to be borne by the operator.
The reverse function cannot be performed by crossing programs. It does not support calling back to the
main program from the CALL program.
The executable and skip-able commands during reverse execution are shown in Table 7-10. Any
commands not listed are unexecutable.
Note
The END line or the commented command line as well as the comment line or Label command line are all
skippable by default.
Caution
To enable the servo parameter self-tuning function, the following conditions must be met:
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-76
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Application Example
When the program executes the "Servo parameter self-tuning function" start command, the function is
enabled. Once enabled, the controller will automatically adjust the corresponding servo parameters. If the
set command parameter value exceeds the maximum limit, the controller will issue an alarm.
Caution
When the wrist singularity function is enabled, the robots posture during the teaching path cannot be
guaranteed. Therefore, execute the motion slowly to prevent robot collision;
Even if the user selects the cross-wrist singularity mode, the robot will move according to the non-
cross-singularity mode if the current segment does not cross the wrist singularity;
The cross-singularity function is only applicable to universal six-joint robots with wrist singularity and
does not support other robot types or other singular positions;
The cross-wrist singularity function supports the transition between motion commands, but the
SetSingularPass command interrupts the transition;
JOG mode does not support cross-singularity;
Swing motion, tracking motion, and external TCP functions do not support cross-singularity;
The function supports the start point in the singular position, but not the end point;
Upon logout or loading of a project, the cross-singularity function will reset to its default value.
Application Example
When the command for cross-singularity function is executed, the function is turned ON. If the cross-
singularity OFF command is not executed, the function remains ON.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-77
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
MovL(P1); /* If the motion from P0 to P1 does not cross the singularity or only crosses the wrist singularity, the robot
moves to P1 */
MovC(P2,P3); /* If the motion from P1 to P3 does not cross the singularity or only crosses the wrist singularity, the robot
moves to P3 */
SetSingularPass("CLOSE")/* Turn OFF the coss-wrist singularity function */
End;
As shown in Figure 7-90, the following diagram illustrates the state of lost home position information
(unRef: Home position information is lost):
Caution
The operations in this Chapter only apply to the second situation mentioned above where the device is
not replaced and the home position needs to be recovered due to encoder battery failure or other
reasons. For other situations where components are replaced, home position must be recovered using
instruments or other calibration methods.
The system provides two homing methods: Global Homing and Single-Axis Homing.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-78
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Step 1: Jog the robot axis to the vicinity of the zero mark on the body of the corresponding axis, as shown in Figure
7-92.
After the robot is calibrated, the position of the waist hole for attaching the zero-mark sticker (labeled as "2")
will be adjusted to align with the line labeled as "1". The single-turn absolute value data information for
each axis will also be archived. This value can be viewed in the "Set Single Turn Value" in the "Single Turn
Value" interface in the Jog Management menu.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-79
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Caution
The arrow at point 2 should be jogged as accurately as possible to align with the line at point 1. If the
line at point 1 is too wide, pay attention to whether the arrow passing through the area of the line at
point 1 will cause the single-turn value of the corresponding axis to cross one turn (for example, from
reaching the maximum value of 20,000 pulses to crossing 20,000 pulse value again). If the line at point
1 causes the single-turn value to cross one turn, there may still be accuracy loss issues even if the axis
is homed in single-axis mode.
Step 2: In the Programming Pendant's "Jog Management -> Location Management" interface, select the "Single
Turn Value" item to view the single turn value information recorded during the factory calibration, as shown in
Figure 7-93:
Fill the single-turn value data (factory-set) into the command parameter and click the "Home" button after
selecting the axis to be homed, as shown in Figure 7-94.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-80
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Homing by Command
Edit the RefRobotAxis command and specify the axis to be homed, as well as fill in the single-turn value data
(factory-set) into the command parameter, as shown in Figure 7-95. Then, run the RefRobotAxis command (the
robot axis will move to the single-turn value position and perform homing operation).
RefRobotAxis (1,2419239)
/* The robot axis 1 will perform zero calibration at the position of 2419239 for a single-turn value when executing this
command. */
Caution
Where there is coupling between joints, it is important to note the order of homing, that is, starting from
the source axis of the coupling, return to zero sequentially. For example, if there is coupling between
joints 4, 5, and 6 (with 4 coupled to 5 and 5 coupled to 6), the order of zeroing should be 4 -> 5 -> 6.
----END
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-81
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Maintenance can be divided into two types: Overall Maintenance and Nitrogen Gas Spring Maintenance.
The former can be prompted in two ways:
Accumulated running time: Each model corresponds to a maintenance execution cycle (e.g. 10,000
hours, 11,520 hours, etc.). When the maintenance execution time exceeds this cycle, the system
will prompt "Maintenance overdue, please maintain in a timely manner!".
Use date: Each model corresponds to a cumulative usage period (e.g. 2 years, 3 years, etc.). From
the factory/execution date to the end of the usage period, which is the next maintenance date, the
system will prompt "Maintenance overdue, please maintain in a timely manner!".
For models equipped with nitrogen gas springs, the inspection cycle is 6 months (180 days) from
the factory/execution date. When the inspection date is due, the system will prompt "Nitrogen gas
spring usage time has exceeded 6 months, please maintain and check in a timely manner!".
Way of use
Step 1: On the Home interface, select "User Applications>Maintenance Tips", as shown in Figures 7-96 and 7-97.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-82
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
- Total running time: The accumulated running time of the robot since the factory, this value keeps
accumulating and cannot be cleared.
- Maintenance execution time: The running time accumulated since the factory or reset.
- Maintenance execution cycle: Each model has a corresponding maintenance cycle (e.g. 10,000 hours,
11,520 hours, etc.). When the maintenance execution time exceeds the maintenance execution
cycle, the maintenance tips will appear.
- Factory/execution date: The date when the robots control system first runs or when it is reset.
- Next maintenance date: The date of the next maintenance. When the system date is later than the next
maintenance date, the maintenance tips will appear.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-83
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
- Manufacture/Execution Date: The date when the robots control system first runs or the date recorded
when resetting.
- Check Date: The date that is 6 months (180 days) after the Manufacture/Execution Date. When the
System Date is greater than the Check Date, the maintenance tips for the nitrogen gas spring will
appear.
- Reset: Reset the nitrogen gas spring maintenance information, and record the Manufacture/Execution
Date as the system date. Refer to Step 4 for the reset process.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-84
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
- Prompt Log: The information of recent maintenance tips will be saved, as shown in Figure 12-98. Click
"Prompt Log" to access historical prompt records.
- Prompt contents:
Full Maintenance: When the maintenance cycle or date has passed, a prompt with a prompt
number of 53006 will appear.
Nitrogen Gas Spring Maintenance: When the system date reaches or exceeds the Check Date,
a prompt with a prompt number of 53010 will appear.
Note
1. After the due date or maintenance cycle, please perform maintenance promptly. If not
maintained in a timely manner, the prompt information will appear during normal use of the
robot.
2. Nitrogen Gas Spring Maintenance: When Nitrogen Maintenance Tips appear, please check the
nitrogen gas spring according to the robot maintenance manual as soon as possible. After
passing the inspection, reset the nitrogen gas spring maintenance information for the next
maintenance reminder.
----END
Parameter Description
Total Operating Time: The accumulated running time of the robot since leaving the factory. This value keeps
accumulating and cannot be reset.
Maintenance Execution Time: The running time accumulated since leaving the factory or resetting.
Maintenance Execution Cycle: Each robot model has a corresponding maintenance cycle (such as 10000h, 11520h,
etc.). When the maintenance execution time exceeds the maintenance execution cycle, the maintenance tips will
appear.
Manufacture/Execution Date: The date when the robots control system first runs or the date when it is reset.
Next Maintenance Date: The date of the next maintenance. When the system date is later than the next
maintenance date, the maintenance tips will appear.
Check Date: The date 180 days after the manufacture/execution date. When the system date is later than the check
date, the maintenance tips for the nitrogen spring will appear.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-85
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Function Description
This function is a method for fast calibration of the scara robot, which is divided into 2-axis zero calibration
for individual points and pole length calibration that requires a calibration pole. This function is only used
for the scara model.
Way of use
Step 1: Select "User Applications > Scara Fast Calibration" on the Home interface, as shown in Figures 7-101 and
7-102.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-86
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Axis 1 Clear
Calculate
Axis 2
Pole length calibration: This function is used for the pole length calibration of the scara robots upper and lower
arms, as well as the zero calibration of the 2-axis. A fixed length calibration pole is required, with two points
corresponding to the left and right ends of the pole, and the length between the two points is known. This function is
currently only open to Estun production staff and requires a password.
Teach
Calibration result
Axis 1
Axis 2
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-87
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Axis 1 Clear
Calculate
Axis 2
(2) Switch to the right-hand fixed point tab on the left-hand side and align the calibration pin tip
with the fixed point. Then, click "Teach".
Axis 1 Clear
Calculate
Axis 2
(3) Click "Calculate" to get the zero-point deviation value of the 2 axes.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-88
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Axis 1 Clear
Calculate
Axis 2
(4) Switch to the homing interface and move the 2 axes to the deviation value position. Click
"Homing" to complete the calibration.
Tool
Reference Coordinate
System
TCP speed
Joint Coordinates World Coordinates User Coordinates Torque Single-turn value Jog settings Home return
(1) Click on "Pole Length Calibration" and enter the password, which is only accessible to Astun
production personnel.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-89
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
(2) Switch to the left-hand M-hole system tab, adjust axis L1 and axis L2 to the posture shown in the
figure, align the calibration pin tip with the M-hole, and then click "Teach" button;
Teach
Calibration result
Axis 1
Axis 2
(3) Switch to the right-hand M-hole system tab, adjust axis L1 and axis L2 to the posture shown in
the figure, align the calibration pin tip with the M-hole, and then click "Teach" button;
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-90
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Teach
Calibration result
Axis 1
Axis 2
(4) Switch to the left-hand N-hole system tab, adjust axis L1 and axis L2 to the posture shown in the
figure, align the calibration needle tip with the N-hole, and then click "Teach" button;
Teach
Calibration result
Axis 1
Axis 2
(5) Switch to the right-hand N-hole system tab, adjust axis L1 and axis L2 to the posture shown in the
figure, align the calibration pin tip with the N-hole, and then click "Teach" button;
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-91
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Teach
Calibration result
Axis 1
Axis 2
(6) Enter the calibration board length "d" in the calibration board setting, and then click "Calculate"
button;
Teach
Calibration result
Axis 1
Axis 2
(7) Click "Save" button to send the results of L1 and L2 to the controller for storage;
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-92
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Teach
Calibration result
Axis 1
Axis 2
(8) Switch to the Homing interface, move the 2 axes to the deviation position, and click "Homing" to
complete the calibration.
----END
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-93
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Note
The Zero Loss Protection without Limit Block function for the universal 6-axis robot is enabled by default;
After the Zero Loss Protection without Limit Block is enabled, and if an axis without limit block loses its zero point,
the Programming Pendant Position Interface will display the position of each axis before zero loss. If other axes suffer
zero loss, rather than those provided with no limit block, the Programming Pendant Interface will not display the position
of each axis before the loss of zero.
Caution
The position displayed on the programming pendant before zero loss may not be accurate in the
following situations:
1) The controller software has been replaced;
2) The robot loses its zero point during high-speed motion;
3) The robot loses its zero point after an abnormal power-off restart during motion;
4) Move the joints manually after the robot loses its zero point.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-94
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Note
Only the robot body axes are displayed during the homing operation.
The homing operation requires servo enablement and can only be performed in teaching mode.
Press the Rob key on the programming pendant to take you quickly to the Homing interface.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-95
ER 系列工业机器人操作手册 Chapter 7 Advanced Functions
Note
Global Project does not support deletion, renaming, or copying operations.
There are no project domain variables in the Global Project, so when the system jumps from a program in another
project to a Global Program, the project variables in the variable interface will be invisible. After exiting the global
program, the project variables in the original project will be displayed again.
In the current version, there is no deletion verification for global programs, so caution should be exercised when
using this feature. When other programs in other projects use the CALL command to call global program A, users can
directly select and delete global program A in the project interface.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 7-96
ER 系列工业机器人操作手册 Chapter 8
Way of use
To use the function, select the Station Configuration option from the General Settings group on the System
Home to enter the configuration interface as shown in Figure 7-118.
First, you can select the servo type by clicking the "Slave Type" drop-down list according to different application
scenarios and needs.
Secondly, you can select the corresponding device model by clicking the "Station Model" drop-down list;
Finally, you can click the Add or Delete button and wait for the operation to complete.
Note
In using this function, it is necessary to understand the current topology and device types.
This function currently supports the addition and deletion of IOs of EC4-1616 IO type, EC4-P20DE type encoder,
and ESTUN ED3L servo;
The added device topology only supports the sequence of IO Device-Encoder Device-Servo Device, and does not
support IO or encoder after the servo device;
The addition and deletion of IO function in the integrated electrical cabinet is not currently supported;
The range of device names that can be displayed on the network topology in Figure 7-1 is as follows:
IO device identification range: coupling, EC4-1616, XB6-EC0002E, EC4-A04VE, TunderIO, EC-P20DE;
Servo device identification range: Pronet, EDSD, ED3L, ED3S;
All other device types are identified as Slave.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 8-1
ER 系列工业机器人操作手册 Chapter 8
Breakpoint
Main program
Interrupt program
The configuration of the interrupt mechanism parameters, including the program to be executed
after the interrupt, the trigger method, and the actions required for the main program, can be
done through specific commands.
Currently, the system supports three trigger methods: timer trigger, DI trigger, and SIMD trigger.
The corresponding commands are stored in the INTERRUPT commands set, and their specific
definitions can be found in section 6.8 INTERRUPT commands. These commands include IEnter,
IExit, MovToIPos, IConnect, IDelete, ITimer, ISignalDI, and ExitCycle.
Note
1. The system does not respond to the interrupt trigger signal while executing the MovH and
MovArch commands.
2. Only certain commands are allowed to execute in the interrupt program, as listed below:
Motion commands: all motion commands except for MovH and MovArch (only allowed after
executing the IEnter command).
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 8-2
ER 系列工业机器人操作手册 Chapter 8
Both the main program and the INTERRUPT program support the CALL command. However, the
INTERRUPT program only supports calling other programs within the same project and does not support
Global Program.
Application Scenarios
The INTERRUPT function has three application scenarios, as outlined below:
Scenario 1: After the INTERRUPT is triggered, the program stops immediately, and when the interrupt
program finishes executing and reaches the INTERRUPT point, it resumes the execution.
Scenario 2: After the INTERRUPT is triggered, the program stops immediately, and when the interrupt
program finishes executing, it exits the INTERRUPT and returns to the first line of the program.
Scenario 3: After the INTERRUPT is triggered, the program enters the background and executes
operations in parallel (i.e., without issuing an INTERRUPT command or sending a command to put the
main program to sleep). When the interrupt program finishes executing, it exits automatically.
Scenario 1 Example:
The following is an example program, Prog1, which stops immediately after the INTERRUPT is triggered
and resumes execution when the INTERRUPT program finishes executing and reaches the interrupt point,
as detailed below:
1. During execution of main program, if DI15 is set to a valid rising edge signal, the system interrupts
the main programs execution and switches to the Prog1 program. The engineering interface displays
the status of Prog1 as "interrupt execution," and the program editing and variable interface display
the corresponding data of Prog1.
2. After Prog1 program execution is finished, the system will resume the execution of the main program
and display the relevant data of the main program.
main()
Start:
IDelete(INTERRUPT1) // Reset all data related to the interrupt flag (represented in the form of variables
ISignalDI(INTERRUPT1, DI15, "riseEdge",1) // Set the detection method of the interrupt flag to a rising
edge signal of DI.
GetCurCPOS(P0)
IF P0 ~= PHome Then // Check if the robot is at the home position and move to it if its not there
MovL(PHome)
ENDIF
tt:
MovL(P1)
MovC(P2,P3)
...
MovL(P10)
Goto tt
End;
Prog1()
Start:
IEnter() // Pause the current motion, put the main program to sleep, and store the stopped position
information, including the current tool, user coordinate system, load information, etc.
MovL(P1)
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 8-3
ER 系列工业机器人操作手册 Chapter 8
...
MovToIPos ("MovJ",V200) // Move to the previously cached pause position and restore the previous tool,
user coordinate system, load inertia
IExit() // Exit the interrupt and resume the main programs execution by re -parsing the instruction
from the paused motion command.
End;
Scenario 2 Example:
Prog2 is an INTERRUPT program that immediately stops when triggered, and resumes execution from the
first line after the interrupt program exits, as detailed below:
1. During the execution of the main program, when DI16 is set to an effective rising edge signal, the
system interrupts the execution of the main program and switches to the Prog2 program. The state of
the Prog2 program is displayed as "INTERRUPT execution" in the project interface, and the editing
and variable interface shows the corresponding data for Prog2.
2. After the Prog2 program executes the "ExitCycle" instruction, the system automatically returns to the
stop state.
3. The system determines whether there is a "CycleLabel" instruction in the main program to reset the
PC pointer of the main program to the specified line and restore the relevant data display for the main
program (if the "CycleLabel" instruction exists, it jumps to the CycleLabel for execution; otherwise, it
jumps to the first line of the program).
main()
Start:
IDelete(INTERRUPT2) //Reset all data related to the interrupt identifier (presented as a variable)
ISignalDI(INTERRUPT2, DI16, "riseEdge",1) // Set the detection of interrupt identifier as effective DI rising
edge signals.
GetCurCPOS(P0)
IF P0 ~= PHome Then // Check if the robot is not at the home position and move it there if
needed
MovL(PHome)
ENDIF
tt:
MovL(P1)
MovC(P2,P3)
...
MovL(P10)
Goto tt
End;
Prog2()
Start:
IEnter () // Pause the current motion, put the main program to sleep, and store the stopped position
information, including the current tool, user coordinate system, load information, etc.
MovL(P1)
...
ExitCycle() //Reset the PC pointer of the main program to start executing from the first line.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 8-4
ER 系列工业机器人操作手册 Chapter 8
End
Scenario 3 Example:
Prog3 is an example program that executes in the background after being triggered by an INTERRUPT,
without issuing an interrupt command or putting the main program to sleep. It automatically exits after the
INTERRUPT program finishes execution. The following is an example:
1. In the main program, the system calls Prog3 every 2000ms. However, Prog3 only runs in the
background in parallel and does not interrupt the main programs execution or related data display. At
the same time, the project interface displays the Prog3 programs status as an interrupt parallel state.
2. After the execution of Prog3 is complete, the parallel execution also ends.
main()
Start:
IDelete(INTERRUPT3) //Reset all the data associated with the interrupt identifier (as a variable)
ITimer(INTERRUPT3, 2000) // Set the detection mode of the interrupt identifier INTERRUPT3 to timer
interrupt, which triggers every 2000ms
GetCurCPOS(P0)
IF P0 ~= PHome Then // Check if the robot is not at the home position and move it there if needed
MovL(PHome)
ENDIF
tt:
MovL(P1)
MovC(P2,P3)
...
MovL(P10)
Goto tt
End;
Prog3()
Start:
SetDO(DO1,0) //If there is no IEnter command, the INTERRUPT program will execute in the
background like the run program, without sending the INTERRUPT command.
INT0 = INT0 + 1
...
SetDO(DO1,1)
INT0 = 0
End;
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 8-5
ER 系列工业机器人操作手册 Chapter 8
Due to the "nodding" phenomenon of the robot, that is, after the demagnetization, the robot will drop a little.
When the demagnetization is restarted, the robot will use the logic of pausing and then starting, first
returning to the position before the drop before continuing to run.
hen the robot is stopped/paused, or WaitDI/WaitTime, the controller starts timing. When it exceeds
the set value (this value is configured through parameters), the controller spontaneously issues a
demagnetization command. The teach pendant interface uses different colors to distinguish between
the demagnetization in this situation and the normal demagnetization state;
When receiving a start command again, or receiving a DI signal, or when the waiting time is up, the
controller first sends an automatic magnetization command and then continues to execute the
instruction.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 8-6
ER 系列工业机器人操作手册 Chapter 8
Delayed 1h
Function Description
StartMdlLog() command for data collection
When using the robot load online tuning function, please follow the example steps to operate:
Data collection
Step 1: Data collection. Click "Create" below the program, find "Load Online Identification Instruction>
StartMdLog" and select the corresponding data saving type. After setting the corresponding load dynamic
information, select the "StopMdlLog" command.
/**** Collect when a load is installed, trajectory point can be adjusted, must be executed ****/
StartMdlLog{dataType="WithLoad"}
/* Running speed, including slow and high speed */
SetOverRide{V=10}
CALL PayloadPath
.
.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 8-7
ER 系列工业机器人操作手册 Chapter 8
.
SetOverRide{V=100}
CALL PayloadPath
StopMdlLog{}
.
(3) Example of collecting "ValidData" type data:
/**** Used for collecting data for model verification, trajectory can be customized, optional ****/
StartMdlLog{dataType="ValidData"}
/*Path customization, motion commands such as MovJ, MovL, MovC, etc */
.
MovL(P=t_l.P1)
MovJ(P=t_l.P2)
MovC(A=t_l.P3,P=t_l.P4)
.
StopMdlLog{}
Step 2: The path program used for load tuning is shown below.
/* PayloadPath program execution segment, load tuning path segment */
MovJ{P=t_l.P0}
MovJ{P=t_l.P1}
MovJ{P=t_l.P2}
MovJ{P=t_l.P3}
MovJ{P=t_l.P4}
MovJ{P=t_l.P5}
MovJ{P=t_l.P6}
MovJ{P=t_l.P7}
MovJ{P=t_l.P8}
MovJ{P=t_l.P9}
MovJ{P=t_l.P8}
MovJ{P=t_l.P7}
MovJ{P=t_l.P6}
MovJ{P=t_l.P5}
MovJ{P=t_l.P4}
MovJ{P=t_l.P3}
MovJ{P=t_l.P2}
MovJ{P=t_l.P1}
MovJ{P=t_l.P0}
Step 2: The point data of the load tuning path is as follows. During the data acquisition process, joints J1 and J2
do not need to move and can be held at a fixed angle position. If there is interference between the load and the
robot body or WorkArea object during the movement, the points can be modified according to the actual situation.
Joint J3 (angle) J4 J5 J6
S/N
P0 0 0 0 0
P1 -5.0 10.0 10.0 180.0
P2 5.0 95.0 95.0 170.0
P3 -5.0 85.0 85.0 -10.0
P4 5.0 -5.0 -95.0 10.0
P5 -5.0 5.0 -85.0 -180.0
P6 5.0 -5.0 95.0 -170.0
P7 -5.0 -95.0 105.0 -180.0
P8 5.0 -85.0 -95.0 -170.0
P9 -5.0 165.0 -85.0 -180.0
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 8-8
ER 系列工业机器人操作手册 Chapter 8
Step 1: Click the "Create" button below the program and select the "Online load tuning
commands>CalDynMdl" command. Then click the "OK" button.
Step 2: Set the parameters. Set the "Model Type" to "TypePayLoad/TypeTool", "Workpiece Load Variable" to
"G:PAYLOAD1", "Data Interval Length" to "1", and "Model Validation" to "Enable". Then click the "OK" button.
Step 3: The online identification command takes a long time to execute (usually 30-60 minutes). After the
identification calculation is completed, a pop-up window will display the model validation scores for each
axis (J1 and J2 axes typically have a score of "nan" because the motion angles are not specified), as
shown in the following figure.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 8-9
ER 系列工业机器人操作手册 Chapter 8
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 8-10
ER 系列工业机器人操作手册 Chapter 8 FAQs
Chapter 8 FAQs
Drive Design
Series name Version Model Remarke
specification sequence
Integrated
drive system
Medium-load drive
Standard electrical cabinet Heavy-load drive
Solutions
Step 1: Find the nameplate of the control cabinet. Take the C2E control cabinet manual as an example.
Step 2: Based on the nameplate information, it can be determined that it is a C2 series control cabinet. To learn
more detailed information about the control cabinet, you can search for the "User Manual of ESTUN Robot C2E
Series Control Cabinet".
Step 3: If you have any questions or cannot accurately find the corresponding manual for the control cabinet,
please contact an ESTUN engineer.
Solution
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 8-11
ER 系列工业机器人操作手册 Chapter 8 FAQs
Step 1: Find the nameplate on the control cabinet, and ensure that the input voltage and power requirements
indicated on the nameplate are met. Refer to the figure below:
Step 2: If a ground or neutral wire is required in the manual for the corresponding model, it cannot be omitted.
Step 2: Check whether the teach pendant, control cabinet, and external emergency stop button are pressed.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 8-12
ER 系列工业机器人操作手册 Chapter 8 FAQs
Step 4: If the control cabinet panel is fitted with a "Start" button, it needs to be pressed to turn on the robot.
Solution
Use the ER20-1780 robot as an example:
Step 1: Log in to the ESTUN official website and select "Service & Support>Document Downloads."
Step 2: Enter "Instruction Manuals of Main Units" in the search box, find the document "Instruction Manual of
ESTUN Robot Universal Small Load Series", and check the "Maintenance and Repair" to get relevant maintenance
information.
The teach pendant program can be backed up via the USB interface on the teach pendant.
Solution
Step 1: Prepare a FAT32 formatted USB drive and plug it into the USB interface on the teach pendant.
Step 2: Press the button on the teach pendant or click "Project Management" on the home page to enter
the "Project Management" interface.
2. Access to the
administration interface
Step 3: Select the program that needs to be imported or exported and use the corresponding arrow to indicate
import or export.
Step 4: After importing or exporting the program, wait for 30 seconds before unplugging the USB drive.
Location of the E-stop button: upper right of the teach pendant or on the control cabinet.
Solution
As shown in the figure below, the robot is in an emergency stop state.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 8-14
ER 系列工业机器人操作手册 Chapter 8 FAQs
Rotate
Step 4: Check that the teach pendant is in a normal state and run according to the actual situation.
Solution
Step 1: Press or click "User Management" on the teach pendant homepage to enter the "User Management"
interface.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 8-15
ER 系列工业机器人操作手册 Chapter 8 FAQs
Step 2: In the "Current User" drop-down list, select the "Administrator" role and enter the correct password. After
verification is successful, reload the program that needs to be edited and modified, and then the program can be
edited and modified.
Step 4: Establish a teach reference point separately to reproduce the point deviation for comparison.
Solution
Step 1: Check whether the robot is in the running state through the status bar on the teach pendant.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 8-16
ER 系列工业机器人操作手册 Chapter 8 FAQs
Step 2: Check if a certain instruction condition is not met according to the program pointer in the program interface.
Solution
Scenario 1: If the teach pendants progress bar stays at 10% or 13%, the teach pendants system is
abnormal, and you should contact Estun technical personnel for assistance.
Scenario 2: If the teach pendants progress bar stays at 20%, the teach pendants IP settings do not match
the controller. Please follow the steps below.
Step 1: Enter the IP setting interface of teach pendant through the physical buttons on the left side of the teach
pendant. Press buttons 1/7/6/5/4 in sequence as shown in the figure below.
Scenario 3: If the progress bar of teach pendant stays at 80%, 85%, or 90%, the controller startup is
abnormal, and you should contact Estun technical personnel for assistance.
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 8-17
ER 系列工业机器人操作手册 Chapter 9 Annexes
Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-1
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-2
ER 系列工业机器人操作手册 Chapter 9 Annexes
Insert √ √ × √ √ × √ √ × × × ×
Quick
Teach √ × × √ × × √ × × × × ×
Teach
J/L Quick
√ √ × √ √ × √ √ × × × ×
Switch
Refresh
√ √ √ √ √ √ √ √ √ √ √ √
Search
√ √ √ √ √ √ √ √ √ √ √ √
Create
√ √ × √ √ × √ √ × × × ×
Delete
√ √ × √ √ × √ √ × × × ×
Progra Edit
√ √ × √ √ × √ √ × × × ×
m data
Rename
√ √ × √ √ × √ √ × × × ×
Update Global Scope
√ √ × √ √ × √ √ × × × ×
Create
Shortcut √ √ × √ √ × √ √ × × × ×
Program
Comma
Create
nd √ √ × √ √ × √ √ × × × ×
Variable
View
√ √ √ √ √ √ √ √ √ √ √ √
Physical Physical
√ √ √ √ √ √ √ √ × × × ×
IO Digital IO
Physical
√ √ √ √ √ √ √ √ × × × ×
Analog IO
View
√ √ √ √ √ √ √ √ √ √ √ √
IO Virtual Virtual
√ √ √ √ √ √ √ √ × × × ×
detectio IO Digital IO
n Virtual
√ √ √ √ √ √ √ √ × × × ×
Analog IO
View
★ ★ ★ ★ ★ ★ × × × × × ×
Modify
System
Port √ √ × × × × × × × × × ×
IO
Number
Modify
√ √ × × × × × × × × × ×
Port Value
Homing
★ × × ★ × × ★ × × × × ×
View
√ √ √ √ √ √ √ √ √ √ √ √
JOG Location
Manage manage Joint/Worl
ment ment d/User
Coordinat √ √ √ √ √ √ √ √ √ √ √ √
es
Switching
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-3
ER 系列工业机器人操作手册 Chapter 9 Annexes
GO √ × × √ × × √ × × × × ×
View
Current √ √ √ √ √ √ √ √ √ √ √ √
Alarms
View
Historical √ √ √ √ √ √ √ √ √ √ √ √
Alarms
Clear
System
Alarm Historical √ √ × √ √ × × × × × × ×
Log
Alarms
View
Historical √ √ √ √ √ √ √ √ √ √ √ √
Alarms
Clear
Current √ √ √ √ √ √ √ √ √ √ √ √
Alarms
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-4
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-5
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-6
ER 系列工业机器人操作手册 Chapter 9 Annexes
Software Licensing √ √ × √ √ × × × × × × ×
Multi- View
User √ √ √ √ √ √ √ √ √ √ √ √
station
Applicat
Reserva Multi-
ion √ √ √ √ √ √ √ √ √ √ √ √
tion station
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-7
ER 系列工业机器人操作手册 Chapter 9 Annexes
Positioner √ √ √ √ √ √ √ √ √ √ √ √
Polyhedron Area √ √ √ √ √ √ √ √ √ √ √ √
View
√ √ √ √ √ √ √ √ √ √ √ √
Enable
√ √ √ √ √ √ √ √ √ × × ×
conveyor
Pulse
equivalent √ √ √ √ √ √ √ √ √ × × ×
calibration
Conveyor
belt
√ √ √ √ √ √ √ √ √ × × ×
parameter
Convey
s
or
Follow
tracking
parameter √ √ √ √ √ √ √ √ √ × × ×
s
Trigger
parameter √ √ √ √ √ √ √ √ √ × × ×
s
Vision
parameter √ √ √ √ √ √ √ √ √ × × ×
s
Virtual
√ √ √ √ √ √ √ √ √ × × ×
conveyor
View
√ √ √ √ √ √ √ √ √ √ √ √
Mainten Refresh
√ √ × √ √ × √ √ × × × ×
ance
Informat Prompt
√ √ × √ √ × √ √ × × × ×
ion log
Reset
√ √ × √ √ × √ √ × × × ×
View
√ √ √ √ √ √ √ √ √ √ √ √
Modify
test √ √ × √ √ × √ √ × × × ×
Run-in
duration
Test
Reset
√ √ × √ √ × √ √ × × × ×
Save
√ √ × √ √ × √ √ × × × ×
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-8
ER 系列工业机器人操作手册 Chapter 9 Annexes
MBDataBuffer[0] 40001
Reserved
MBDataBuffer[1] 40002 Global speed
Response made by
MBDataBuffer[2] 40003
reading/writing flag bit
bit0: manual operation
mode
bit1: auto operation
mode
bit2: remote operation
mode
MBDataBuffer[3] 40004 Rob 状态信息
bit3: enable state
bit4: running status
bit5: error status
bit6: program running
status
bit7: robot is moving
MBDataBuffer[13] 40014
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-9
ER 系列工业机器人操作手册 Chapter 9 Annexes
Register
Local address Definition Description Remark
address
bit1: Emergency stop
command was executed
successfully
bit2: Starting command
was executed
successfully
bit3: Stopping command When the command
was executed register is 0, bit[0] is
successfully 1; and when the
bit4: Reset command command register
was executed has sent a
successfully command, bit[0] is 0
bit5: The upward
enabling command After the command
succeeded is successfully
bit6: The downward executed, the
enabling command corresponding
Rob 执行命令状 succeeded position is 1
MBDataBuffer[18] 40019
态 bit7: The command to
load project was
successful When control is
regained and the
bit8: The command to command is 0, the
log off project was previous success bit
successful will be cleared
bit9: Set global speed
successfully
bit10: Waiting for control Therefore, the
rights status code of the
bit11: Waiting command command that can
be issued is 0x801
bit12: Wait the command
to be executed
bit13: Command
execution error
bit14: Reserved
bit15: Reserved
MBDataBuffer[19] 40020
MBDataBuffer[50] 40051
bit2 (0→0x4): Robot
All commands are
program starts triggered on the
bit3 (0→0x8): Robot rising edge, which
program stops work together with
bit4 (0→0x10): Robot the reading/writing
flag bit 0x11
error resets
(commands can be
bit7 (0→0x80): Load issued when the
Rob operational
Rob MBDataBuffer[51] 40052 project file bit8 (0→ command status bit
commands
Receive 0x100): Logout current is 0x801)
project file Note: In case of a
bit9 (0→0x200): Set command response
global speed failure, reset the
bit10 (0→0x400): Reset state machine using
bit1, and then issue
the command state
the new commands
machine
MBDataBuffer[52] 40053 Global speed
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-10
ER 系列工业机器人操作手册 Chapter 9 Annexes
Register
Local address Definition Description Remark
address
value
MBDataBuffer[53] 40054
MBDataBuffer[54] 40055
MBDataBuffer[55] 40056
MBDataBuffer[56] 40057
MBDataBuffer[59] 40060
MBDataBuffer[60] 40061
MBDataBuffer[61] 40062
MBDataBuffer[62] 40063
MBDataBuffer[67] 40068
MBDataBuffer[98] 40099
MBDataBuffer[100] 40101
……
For user use
Read-write access
General …… (already open to
permission
internal PLC).
……
MBDataBuffer[1499] 41500
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-11
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-12
ER 系列工业机器人操作手册 Chapter 9 Annexes
609 Failed to load program data Load the program directly from
Possible causes:
the engineering interface and
Failed to load run program data 1. The program variable file that
610 observe the warning messages
needs to be loaded does not
displayed during loading, then
Failed to load trigger program exist.
proceed with further
611 data 2. There are invalid data in the
troubleshooting based on the
program variable file.
information so provided.
Parsing failed! Program not The current program is not Load the program that needs to
612
loaded loaded, so the execution fails. be run before starting.
Failed to parse logical control Possible causes:
commands 1. The label name is duplicated.
2. The logical relationship Check the program flow
613 among if, elseif, and else is information taught based on the
mismatched, or endif is missing. possible causes listed on the left.
3. while and endwhile do not
match.
CALL command line changed, When switching from running to
please reload the project paused state, creating,
After completing the
modifying, or deleting call
614 modifications, reload the program
commands will result in this
and run it again.
error upon resuming the
program.
Failed to get call program file Possible causes:
when executing call 1. The program file to be called
does not exist.
Load the program that failed to be
2. The content length of the
called from the engineering
program file to be called
interface, observe the failure
exceeds the limit or the
615 information displayed, and
maximum length of a single
proceed with the next
command is exceeded.
troubleshooting based on this
3. The version number of the
information.
program file does not match the
current command system
version.
Required call program file does Check if the program to be called
The program file to be called
616 not exist exists from the engineering
does not exist.
interface.
Interrupting a circular arc is not It is forbidden to restart the robot Please switch to the stop state
617 allowed, cannot restart directly while it is paused during a before starting, such as to the line
circular motion. before the arc on PC.
The system supports a maximum The current program is already
Please kill the unused run
of eight programs running running eight programs
program before running a new
618 simultaneously simultaneously, which will result
one, or optimize the program
in this error upon executing run
structure on your own.
again.
kill and run programs do not The kill command can only be
match used to kill a program that has
619 Check the program structure.
been run, otherwise it will result
in this error upon execution.
Expression command execution - -
620
failed
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-13
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-14
ER 系列工业机器人操作手册 Chapter 9 Annexes
BendTrack is stopped and cannot During the bending Set the program pointer to
be restarted synchronization process, direct another line before starting.
638
restart is prohibited after
stopping.
OnDistance trigger command The motion command is not Contact the manufacturer or use
does not support this motion included in the list of supported the correct motion command.
command commands for OnDistance
639 trigger command. Please use
this trigger command according
to the supported command
table.
TRIGGER command execution An error will occur if the number Check the program structure to
failed. of AddDo commands or trigger see if there is a trigger or AddDo
640 commands waiting to be command that blocks execution.
executed exceeds the maximum
limit (1000) in the cache.
The current command does not During execution in reverse, Set the PC to the previous line of
support execution in reverse certain commands are restricted the command and perform a
641
and only a subset of commands reverse operation.
are supported.
The label to be jumped to does The label to be jumped to is not Check if the label actually exists.
642
not exist defined in the current program.
There are prohibited commands During the tracking mode, only Optimize the program according
running in the tracking mode some commands are supported. to the supported command list for
For detailed information on the the tracking state in the manual.
643
supported commands, please
refer to the relevant chapter in
the manual.
The follow process has stopped. If the system stops during the 1. Exit the current coordinate
Please restart from the motion tracking mode and is still in the system by setting the PC to the
command with the user coordinate moving coordinate system, for MovLSyncQuit command and
system safety reasons, it is required to then move to the specified line.
644 restart after PC to the motion 2. Switch the user coordinate
command with the user system to the one used for the
coordinate system. specific line in the position
interface, and then move to the
specified line.
The label to be jumped to after the MovLSync command does not Check the relevant commands
645 tracking failure cannot be empty specify the label to be jumped and add jump labels.
to.
RUN and KILL commands are not Delete RUN and KILL commands.
646 -
supported in Global Program
CALL commands in Global Check and modify the CALL
Program do not support calling command.
647 -
programs other than Global
Program
The AddDo command execution Check the cause why the
"AddDo" command failed to
failed command cannot be executed,
648 execute successfully within 2
such as the IO being controlled
seconds.
elsewhere.
Online load tuning commands are Load tuning related commands Run the load tuning commands
not allowed to be executed in do not support single-step again in continuous automatic
649
single-step mode. execution. mode or continue to run the next
line of the command.
The CALL command cannot call The current program is named
the current program itself. "prog1". If the program contains
a "CALL prog1" command, an Modify the CALL command or
650
error 650 will be reported program structure.
because "CALL" cannot call the
program it is currently in.
The number of parameters in the An internal system problem
651 Contact the manufacturer
command is abnormal. occurred.
The position point data in the The position point parameter Edit the commands in the
652 command is abnormal. passed in the command is program interface and check
abnormal, and a non-structured whether the position parameter
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-15
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-16
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-17
ER 系列工业机器人操作手册 Chapter 9 Annexes
Type of swing arc parameter in The parameter of the command When editing the command in the
the command parameters is for the swing arc type is program interface, check whether
683 mismatched inconsistent with the defined the incoming swing arc type
parameter type. parameter is a swing arc variable.
Contact the manufacturer.
Type of swing arc parameter in The parameter of the command
684 the command parameters cannot for the swing arc type is not
be found defined in the variable type list.
An item in the swing arc The attribute value of an item in
Contact the manufacturer
parameter cannot be found in the the parameter of the swing arc
685 command parameters type passed in the command is
not found in the attribute value
definition of the variable type.
External TCP coordinates The external TCP coordinate
parameter in the command system parameter passed in the When editing the command in the
686
parameters is abnormal command is abnormal and is a program interface, check whether
non-table structure parameter. the incoming external TCP
Type of external TCP coordinate The type of the external TCP coordinate system parameter is
system parameter in the coordinate system parameter an external TCP coordinate
687 command parameters is passed in the command is system variable. Contact the
mismatched inconsistent with the defined manufacturer.
parameter type.
The type of external TCP The external TCP coordinate
coordinate system parameter in system parameter passed in the
688
the command parameters cannot command is not defined in the
be found. variable type list.
An item in the external TCP The attribute value of an item in
Contact the manufacturer
coordinate system parameter the external TCP coordinate
cannot be found in the command system parameter passed in the
689
parameters command is not found in the
attribute value definition of the
variable type.
Coordinate system parameter The coordinate system
data in the command is abnormal parameter passed in the
690 When editing the command in the
command is abnormal and is a
program interface, check whether
non-table structure parameter.
the incoming coordinate system
Type of coordinate system The type of the coordinate
parameter is a coordinate system
parameter in the command system parameter passed in the
691 variable.
parameters is mismatched command is inconsistent with
the defined parameter type.
Type of coordinate system The coordinate system
parameter in the command parameter passed in the
692
parameters cannot be found command is not defined in the
variable type list.
An item in the coordinate system The attribute value of an item in
Contact the manufacturer
parameter cannot be found in the the coordinate system
command parameters parameter passed in the
693
command is not found in the
attribute value definition of the
variable type.
The variable for the positioner
Abnormal variable for the coordinate system parameter
694 positioner coordinates in the passed in the command is
command parameter abnormal and is a non-table When editing the command in the
structure parameter. program interface, check if the
The type of positioner coordinate The type of the positioner passed-in positioner TCP
system parameter in the coordinate system parameter parameter is a valid TCP variable.
695 command parameters is passed in the command is
mismatched inconsistent with the defined
parameter type.
Type of positioner coordinate The positioner coordinate
system parameter in the system parameter passed in the
696
command parameters cannot be command is not defined in the Contact the manufacturer
found variable type list.
697 A certain item in the positioner The attribute value of an item in
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-18
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-19
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-20
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-21
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-22
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-23
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-24
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-25
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-26
ER 系列工业机器人操作手册 Chapter 9 Annexes
DMC servo parameter self-tuning The speed threshold parameter Adjust the speed threshold
5276
function, low-speed velocity in the AutoGainEnable parameter within a reasonable
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-27
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-28
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-29
ER 系列工业机器人操作手册 Chapter 9 Annexes
Spiral step distance cannot be The step distance of spiral Please set the spiral line
5703 greater than spiral radius motion should be less than the parameters reasonably
spiral radius
Spiral start and end points are too The distance between the start Please set the spiral line
close to draw a half-circle, please and end points of the spiral line parameters reasonably or re-
5704
re-teach should be less than twice the teach the spiral point
spiral radius
Spiral teaching points cannot be The start point, auxiliary point, Please re-teach the spiral point
collinear and end point of the spiral line
5705
taught are collinear and cannot
draw a spiral path
Continuous rotation joints only Continuous rotation joints only
Continuous rotation joint does not support MC_MoveRelative and support MC_MoveRelative and
5706 support absolute displacement MC_MoveVelocity function MC_MoveVelocity function blocks
commands blocks. This alarm is only valid This alarm is only valid for PLC
for PLC axes axes
Transition segment speed Adjust the transition parameters
5707 planning is too small, please or WaitFinish ratio
adjust the transition parameters
Motion segment displacement or
time planning is too small, please
5708
adjust the transition parameters or
re-teach
Singular position exists during
5709 trajectory execution, please re- Re-teach or modify the point
System safety check
teach
Motion segment planning is not
sufficient for deceleration, please Adjust the transition parameters
5710 or WaitFinish ratio
adjust the transition parameters or
WaitFinish ratio
Motion segment planning is not
sufficient for deceleration, please
5711
adjust the transition parameters or
WaitFinish ratio
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-30
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-31
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-32
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-33
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-34
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-35
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-36
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-37
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-38
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-39
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-40
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-41
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-42
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-43
ER 系列工业机器人操作手册 Chapter 9 Annexes
Wrong password for decryption, Possible causes: Confirm whether the password
decryption failed 1. Incorrect password input entered is correct. Contact the
50017
2. The password provided by the manufacturer to confirm the
manufacturer is incorrect password if there is no mistake
Encryption data is occupied by
50018 another thread, please try again Internal system error Contact the manufacturer
later
Encryption is not currently The system only needs to be
enabled, and decryption is not decrypted when it is in an
required encrypted state. By default, it is
50019 not encrypted when it leaves the -
factory. This alarm is considered
to be an informational message,
rather than an alarm message
System execution period has When the time allowed for
expired, please contact the encryption use has expired, this
manufacturer for decryption warning will be displayed and it
50020 Contact the manufacturer
will be necessary to contact the
manufacturer for decryption
operation
System time has been tampered When the system is in
with and is running illegally encryption mode, the system
records the timing status in real Change back to the original time
50021
time. If the system time is or re-encrypt at the current time.
altered, this warning will be
generated.
Failed to obtain system time, The encryption parameters
50022 operation is frequent, please try cannot be obtained, resulting in Contact the manufacturer
again failure.
Error switching from pause to stop - -
50023
during program execution
Failed to set multi-station The start/stop input, start/stop Confirm the validity of the input
parameters, parameters are output for the four enabled port for the input/output port.
invalid workstations can only be unique
50024 and cannot be repeated.
Similarly, the start/stop input
(output) for the same
workstation cannot be repeated
Failed to set remote speed, The system does not respond to Switch to manual or automatic
50025 please switch to another mode to the remote start speed setting mode before setting the speed.
set command in remote mode
Enabled multi-station Every time the system is Confirm the validity of the input
input/output/program name cannot switched from manual/automatic port and program name in the
be empty or invalid value mode to multi-workstation mode, multi-station parameter
all the enabled workstation configuration interface
50026
parameters are checked to
ensure they are valid.
Otherwise, an error will be
generated.
Failed to update encryption data File writing, deleting, and
50027 to file copying can all result in failure
and generate this warning
When switching system modes,
switching the program to single-
step mode may fail. Possible
reasons include:
1. The system is currently in
Contact the manufacturer
running mode, and mode
Failed to switch to single-step
50028 switching fails.
mode when setting system mode
2. The system is currently in
pause mode, and stopping the
program fails.
3. The system has not switched
to manual mode in reverse
order, resulting in switching
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-44
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-45
ER 系列工业机器人操作手册 Chapter 9 Annexes
51031 One-point alignment is not When the system is in running Please exit the running state of
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-46
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-47
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-48
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-49
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-50
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-51
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-52
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-53
ER 系列工业机器人操作手册 Chapter 9 Annexes
Program deletion is not allowed In the project loading state, Check if the project is in a loaded
52066 while the project is loaded deleting programs in the project state
is not allowed
Program renaming is not allowed In the project loading state, Check if the project is in a loaded
52067 while the project is loaded renaming programs in the state
project is not allowed
Variable name length exceeds the Not be triggered temporarily -
52068
limit (used in translation mirror)
IF command carries coordinate Not be triggered temporarily -
52069
system or tool parameters (used in translation mirror)
Program line count exceeds the Not be triggered temporarily -
52070
limit (used in translation mirror)
Failed to open program text file Not be triggered temporarily -
52071
(used in translation mirror)
Translation command issue error Not be triggered temporarily -
52072
(used in translation mirror)
Translation command result Not be triggered temporarily -
52073
retrieval timed out (used in translation mirror)
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-54
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-55
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-56
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-57
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-58
ER 系列工业机器人操作手册 Chapter 9 Annexes
Variable type is invalid The type of the variable found Contact the manufacturer
52512 based on the given variable name
does not match the given type
Failed to retrieve teaching point
52513 System error Contact the manufacturer
coordinates
The program domain variable Program domain variables
power-off save attribute cannot be cannot have their power-off
Check if the program variable's
modified retention attribute modified, but
52514 power-down save attribute has
this error will also occur if the
been updated
variable retrieval fails during the
checking process
The safety area is not a global
52515 variable or the variable does not
exist
Failed to write variable creation to
52516
file System error Contact the manufacturer
Failed to write variable
52517
modification to file
Failed to write variable teaching to
52518
file
Variable value is invalid or Variable value (in string form) Check if the content of the
52519
exceeds the maximum length exceeds maximum length of 400 variable value is too long
PLC variable index numbers PLC variable index numbers Check if there are PLC variables
52520
cannot be the same cannot be the same with the same index
Maximum number of PLC PLC variables support a Check the number of PLC
52521
variables has been reached maximum of 150 variables
PLC variables are being used by PLC variables are being used by Can be attempted later
52522
other applications another application
52523 Failed to rename variable - -
System variables cannot be System variables cannot be
52524
modified modified
System variables cannot be System variables cannot be Check if the variable is a system
52525
deleted deleted variable
System variables cannot be System variables cannot be
52526
renamed renamed
Internal processing error in global The string representation of the
52527 variable caches global variable structure
(table) cannot find the type
Internal processing error in project The string representation of the
variable caches project variable
52528 Check the variable file to see if
structure (table) cannot find the
the related variables are normal
type
Program variable internal processing Unable to find type when
error converting the program variable
52529
structure (table) in cache to a
string
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-59
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-60
ER 系列工业机器人操作手册 Chapter 9 Annexes
The saved waypoint array The system has a limit on the Optimize the position array
contains too many elements, try length of the file used to store elements appropriately based on
52565 deleting some arrays and try point array variables When the the site conditions
again limit is exceeded, an error will
occur
The maximum count of waypoint The total count of point array Optimize the number of position
52566 arrays has been reached variables in the system cannot array variables appropriately
exceed 32 based on the site conditions
Failed to retrieve display variable The variable scope display flag
52567 scope was not successfully read from
the file, or written to the file
Contact the manufacturer
Failed to set display variable The command queue is being
52568 scope operated on or the system is in a
locked state
Failed to write "Stop" command to If setting a pointer, the pause
52701 parser or kernel state will transition to the stop Contact the manufacturer
state
52702 Failed to start parser or kernel - -
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-61
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-62
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-63
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-64
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-65
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-66
ER 系列工业机器人操作手册 Chapter 9 Annexes
Document version V1 18 (for RCS2 V1.30) 2023 ESTUN Robotics. All Rights Reserved. 9-1