Estun 1
Estun 1
Estun 1
For
ECAT Slave to ECAT Slave Gateway
—— GW-ECS256
RCS2 V1.00
Revision History
S/N Version Revision Date Content Reviser
1 V1.00 2022.07.05 Create a new document Liu Chongxiao
2
I
GW-ECS256 Configuration Manual for ECAT Slave to ECAT Slave Gateway
TABLE OF CONTENTS
Preface ............................................................................................................................................... 1
Target Audience.................................................................................................................... 1
Precautions............................................................................................................................ 1
Safety Instructions ................................................................................................................ 1
Chapter 1 Overview of Functions ................................................................................................... 2
Chapter 2 Protocol Introduction..................................................................................................... 3
2.1 Introduction to EtherCAT ............................................................................................... 3
2.2 EtherCAT Features ......................................................................................................... 3
2.3 Key indicators ................................................................................................................. 4
2.4 Hardware environment ................................................................................................... 4
2.5 Function configuration.................................................................................................... 4
Chapter 3 Instructions for Debugging............................................................................................ 6
3.1 Hardware wiring diagram ............................................................................................... 6
3.2 Multiprog configuration.................................................................................................. 6
3.3 OMRON PLC configuration ......................................................................................... 10
II
GW-ECS256 Configuration Manual for ECAT Slave to ECAT Slave Gateway
Preface
This Manual is applicable to control system RCS2 V1.28.00 and provides instructions on the
configuration and debugging methods of the EtherCAT Slave to EtherCAT Slave Gateway GW-ECS256
for ESTUN ER Series Robots.
Target Audience
This manual is intended for technical support personnel specifically working with ESTUN Robotics.
Precautions
During the installation and debugging of these components, operators must strictly follow the
instructions and explanations provided in this document.
Relevant responsible personnel must ensure that the application or use of the products fulfils all
safety requirements, including applicable laws, regulations, guidelines, and standards.
While this document has been carefully prepared, the products described herein are subject to
continuous updates and advancements. We may not always verify that the performance data,
standards, or other characteristics described herein are consistent with the physical products
after each update.
Technical or editorial errors may occur in this document. We reserve the right to modify the
document information without prior notice. If the data, diagrams and text descriptions in this
document have not been modified for a product that has been changed, we will not make any
specific statement to this effect.
No modifications to the hardware or software configuration other than those specified in the
text file are permitted, and ESTUN shall not be liable for any consequences resulting therefrom.
The unit of measurement in the illustrations is in millimeters (mm) unless otherwise stated.
Safety Instructions
Injury
Failure to comply with the safety instructions associated with this symbol may
jeopardize personal life and health safety.
Notes or Tips
This symbol indicates that the information is provided to help you better understand the
Safety Instructions.
1
GW-ECS256 Configuration Manual for ECAT Slave to ECAT Slave Gateway
The EtherCAT interface refers to a communication method where an external logic controller
communicates with a robot using the standard EtherCAT protocol.
2
GW-ECS256 Configuration Manual for ECAT Slave to ECAT Slave Gateway
3
GW-ECS256 Configuration Manual for ECAT Slave to ECAT Slave Gateway
According to the comparative analysis, EtherCAT stands out in various aspects of real-time industrial
Ethernet: it has extremely low cycle time, high synchronization, ease of use and cost-effectiveness. This
makes it highly valuable in applications such as robot control and CNC machines.
4
GW-ECS256 Configuration Manual for ECAT Slave to ECAT Slave Gateway
a) Move the controller's third or fourth network card from the Windows system to the INtime
system;(Assuming the third network card is moved to the INtime system)
b) Configure the runtime package file rtk/eclr_config.ini with the relevant settings. Example:
2. PLC Software:
In the Sysmac Studio project, configure the module as an EtherCAT slave. The corresponding PDO
data will be used for EtherCAT communication. Parse this data to control the robot accordingly.
5
GW-ECS256 Configuration Manual for ECAT Slave to ECAT Slave Gateway
In this section, the hardware OMRON NJ101-9000 is used as an example to illustrate how to use the
EtherCAT interface to interact with the robot.
6
GW-ECS256 Configuration Manual for ECAT Slave to ECAT Slave Gateway
2. The GW-PNS256RE module's slave PDO data corresponds to a type length of 64 DINT.
7
GW-ECS256 Configuration Manual for ECAT Slave to ECAT Slave Gateway
Click on the newly created global variable in "Variables Mapping" and double-click on the corresponding
module variable in the right Configuration/Resource section. Repeat this process for all newly created
global variables to complete the mapping.
8
GW-ECS256 Configuration Manual for ECAT Slave to ECAT Slave Gateway
4. The PDO data of the module slave is the data transmitted via PROFINET. Users can write their own
code to implement the required functionality (User Control Task or create a new Task). For example,
assign the received data to the transmitted data and send a response. The process is shown in the
following diagram.
5. Download the debugged project to the controller and monitor the data to observe if the
communication is functioning correctly.
Note:
When LAN3 is used for ECAT communication, the system does not detect disconnection states. When
writing programs, you can use the ECAT_GET_SLAVESTATE function block to check the connection
status. If the return value is 8 during operation, it indicates an abnormality. You can define error handling
in the PLC.
9
GW-ECS256 Configuration Manual for ECAT Slave to ECAT Slave Gateway
10
GW-ECS256 Configuration Manual for ECAT Slave to ECAT Slave Gateway
Select Ethernet - Direct Connection. Use the default PLC IP address: 192.168.250.1. Click "Ethernet
Communication Test" and confirm a successful test.
Click on the controller and select "Online." If both the "Online" and "ERR/ALM" indicators in the lower-
right corner of the software are green, it means the connection is successful.
11
GW-ECS256 Configuration Manual for ECAT Slave to ECAT Slave Gateway
Select "This File" and place the device's XML file in the popped-up file path. After restarting the software,
you will see the device ESTUN_EC4_V2.02.
12
GW-ECS256 Configuration Manual for ECAT Slave to ECAT Slave Gateway
In the vendor group, select "EC4 Series Terminal" and choose GW-ECS256RE. Drag this device under
the master device. If you encounter issues while dragging, change the device status to offline mode before
proceeding. Don't forget to add the node address. Once added, change the device status to online.
13
GW-ECS256 Configuration Manual for ECAT Slave to ECAT Slave Gateway
If an error occurs in the lower-right corner after changing to the online state, right-click on the master
device, select "Compare and Merge with Physical Network Configuration", and click "Apply Physical
Network Configuration.
After powering off and restarting the slave station, download the program to the PLC by following these
steps:
Click on the controller -> Transfer -> Transfer to Controller.
14
GW-ECS256 Configuration Manual for ECAT Slave to ECAT Slave Gateway
Right-click at the arrow and create a new device variable to complete the mapping for all variables.
15
GW-ECS256 Configuration Manual for ECAT Slave to ECAT Slave Gateway
16