10 EtherCAT
10.1 Incorporating the EtherCAT master
Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com 117
10 EtherCAT
Following is a description explaining how to configure Modular PLCs XCon-
trol: XC-104-…, XC-204-…, XC-303-… PLCs as an EtherCAT master in order
to operate EtherCAT modules.
EU5C-SWD-ETHERCAT is used as an example of an EtherCAT module in this
case. This EtherCAT gateway assumes the coordinator role for additional
SmartWire-DT modules and their input and output functions.
In order for the EU5C-SWD-ETHERCAT gateway to be able to exchange data
with the XControl PLC, both a target configuration and a project configuration
must be stored on the gateway. For more information on how to set up
these configurations and store them on the device, please refer to the
"EU5C-SWD-ETHERCAT Gateway" manual, which is available for download in
PDF format at:
www.hilscher.com
<Products | Gateways | SmartWire-DT-Gateways | EU5C-SWD-ETHERCAT |
Downloads>.
Prerequisites
• A PC with an Ethernet adapter and XSOFT-CODESYS-3 PLC program-
ming environment version 3.5.10 or higher installed.
• The PC's Ethernet adapter must be connected to the XControl PLC via
Ethernet.
• XControl must be connected to the EU5C-SWD-ETHERCAT gateway.
• The Gateway is connected to the SmartWire-DT network.
• The gateway must have a valid SmartWire-DT configuration (the SWL
LED on the device must show a solid green light).
• You must have access to the device description files for the EU5C-SWD-
ETHERCAT gateway.
10.1 Incorporating the EtherCAT master
▶ In the device tree, select the "Device (XC-303)" device.
▶ Right-click on it to open the context menu and select the <Add
device...> option.
The "Add device" dialog box will appear. You can leave the dialog box open.
▶ Select "EtherCAT | Master | EtherCAT Master" under "Field buses" in the
"Add device" dialog box.
▶ Confirm by clicking on the "Add Device" button.
The EtherCAT master will appear in the configuration tree.