Exporting EDC files

The EDC file creation takes place from within TwinCAT 3. Accordingly, the two project examples first have to be opened in Microsoft Visual Studio.

1. Double-click on Device 1 (EtherCAT Automation Protocol) to open it from the I/O configuration.
2. Select the Protocol tab and click on [Export Configuration File…].
The Save As dialog opens.
Exporting EDC files 1:
1. Define the file name and the storage location for the EDC file.

Ideally, the EDC file of machine M should have the name Measuring_EapDev_1.xml. Accordingly, the EDC file of machine O should have the name Operating_EapDev_1.xml.

In both project examples a small example PLC program with a few input and output variables was created. The symbol information for these variables is automatically saved in the EDC files during export. The TwinCAT EAP device can subsequently access the contents of these variables using this symbol information.