CODESYS supports the EL6631 device from Beckhoff, This device establishes a gateway from EtherCAT to a PROFINET controller. You insert the gateway below the EtherCAT EK1100 coupler. Then you can configure it like a typical EtherCAT slave.
When you insert the gateway, a PROFINET controller node is inserted automatically. This PROFINET controller acts like a standard PROFINET controller.
(1) EtherCAT coupler (2) Gateway EtherCAT-
Below the PROFINET controller, insert the PROFINET devices and modules that you have installed to the device repository as a GSDML import. In the editor dialogs, you can set the typical PROFIBUS parameters and I/O channels.
By clicking Scan for Devices, which is provided for the EL6631 device, you can add PROFINET devices automatically below the PROFINET controller in the device tree.
See also