Table of contents Table of contents 1 Foreword .............................. 5 Notes on the documentation...................... 5 Safety instructions .......................... 6 Documentation issue status ...................... 7 2 Introduction.............................. 8 3 Distinction between Online and Offline.................... 9 4 Offline IO configuration........................... 10 5 Online IO configuration........................... 12 6 Configuration of EtherCAT P via TwinCAT ................... 17 7 Appendix .............................. 23 Support and Service ........................ 23 IO configuration in TwinCAT...
Page 4
Table of contents Version: 1.1 IO configuration in TwinCAT...
All the components are supplied in particular hardware and software configurations appropriate for the application. Modifications to hardware or software configurations other than those described in the documentation are not permitted, and nullify the liability of Beckhoff Automation GmbH & Co. KG. Personnel qualification This description is only intended for trained specialists in control, automation and drive engineering who are familiar with the applicable national standards.
The IO configuration is the prerequisite for the use of the functions of IO modules in a PLC program. It covers the appending and parameterization of IO modules in TwinCAT. This quick start guide describes the basic IO configuration in TwinCAT 3 for IO modules of the type: • EtherCAT Box (EPxxxx) • EtherCAT P Box (EPPxxxx) Link The complete documentation for TwinCAT 3.
ESI files (EtherCAT Slave Information) in XML format. These files can be requested from the respective vendor and are made available for download. The ESI files for Beckhoff Ether- CAT/EtherCAT P devices are available on the Beckhoff website (https://www.beckhoff.de/english/ download/elconfg.htm?id=1983920606140).
Offline IO configuration Offline IO configuration The manual configuration of an EtherCAT Box/EtherCAT P Box in TwinCAT is described in this part of the documentation. 1. Open the section "I/O" in the "Solution Explorer". 2. Right click on „Devices“ and click on „Add new Item“.
Page 11
Offline IO configuration 4. Right click on "Device 1 (EtherCAT)" and click on „Add new Item“. ð A dialog window opens. 5. Choose the desired box in the dialog window, e.g. EPP1322-0001. Click on "OK". ð Result: The desired box was appended. IO configuration in TwinCAT Version: 1.1...
Online IO configuration Online IO configuration The configuration of a physically existing EtherCAT Box/EtherCAT P Box in TwinCAT is described in this part of the documentation. For the creation of the configuration • the real EtherCAT/EtherCAT P and IO-Link hardware (devices, couplers, drives) must be present and installed.
Page 13
Online IO configuration Fig. 2: Scan Devices This scan mode not only tries to find EtherCAT/EtherCAT P devices (or Ethernet ports that can be used as such), but also NOVRAM, fieldbus cards, SMB etc. However, not all devices can be found automatically. Fig. 3: Note for automatic device scan Ethernet ports with installed TwinCAT real-time driver are shown as "RT Ethernet"...
Page 14
Online IO configuration Detecting/Scanning the EtherCAT devices Online scan functionality When scanning, the master queries the identity information of the EtherCAT/EtherCAT P device from the device's EEPROM. The name and revision are used for determining the type. The respec- tive devices are located in the stored ESI data and integrated in the configuration tree in the default state defined there.
Page 15
Online IO configuration As can be seen in the illustration below, the connected EtherCAT/EtherCAT P Box (in this case: EPP1322-0001 and EPP1008-0002) is shown in the TwinCAT tree. Fig. 7: Box display after "Scan for boxes" Troubleshooting Various effects may occur during scanning. •...
Page 16
Online IO configuration Fig. 9: Example correction dialog It is recommended to check the "Extended Information" box, in order to show differences in the revision. Color Explanation green this EtherCAT/EtherCAT P device has a counterpart on the other side. Both type and revision match.
Configuration of EtherCAT P via TwinCAT Configuration of EtherCAT P via TwinCAT EtherCAT P tab From TwinCAT 3 Build 4020 TwinCAT has the tab “EtherCAT P”. This tab contains a planning tool to calculate voltages, currents and cable lengths of EtherCAT P system. The figure below shows the tab EtherCAT P when no device is connected to the junction device (A).
Page 18
Configuration of EtherCAT P via TwinCAT Are three devices connected to the three ports of the junction device (A), they are displayed as shown in the figure below. Fig. 13: Tab EtherCAT P: Three devices connected to junction device You can display the topology of your EtherCAT P system [} 22]. Version: 1.1 IO configuration in TwinCAT...
Page 19
Configuration of EtherCAT P via TwinCAT Wire Gauge Selection of the wire cross-sectional area of the cable which is to be used AWG 22 = 0.34 mm² AWG 24 = 0.22 mm² Length (m) Indication of the cable length which is to be used Check EtherCAT P At least one device is connected to the controller, the connected EtherCAT P System...
Page 20
Configuration of EtherCAT P via TwinCAT If you click on the button “Check EtherCAT P System”, all devices that are attached to your TwinCAT tree are listed as shown in the following figure. Fig. 14: Check EtherCAT P System The automatically assigned number of the device according to its position in the EtherCAT P strand.
Page 21
Configuration of EtherCAT P via TwinCAT Fig. 16: Check EtherCAT P System with problem This area offers the following three options to adjust the system so that there is no error: • Provide a higher voltage: There are max. 28.8 V possible. •...
Page 22
Configuration of EtherCAT P via TwinCAT Topology of the EtherCAT P system You can view the topology of your EtherCAT P system, as described in the figure below: 1. In the Click on "Device 1 (EtherCAT)" in the "Solution Explorer" 2. Click on the "EtherCAT" tab 3.
Beckhoff's branch offices and representatives Please contact your Beckhoff branch office or representative for local support and service on Beckhoff products! The addresses of Beckhoff's branch offices and representatives round the world can be found on her internet pages: http://www.beckhoff.com You will also find further documentation for Beckhoff components there.
Need help?
Do you have a question about the EtherCAT Box and is the answer not in the manual?
Questions and answers