- Create a "Standard project” and select CODESYS Control Win V3 as the device.
- Define the target system by means of Network scan.
- Activate the Diagnosis for devices.
Insert an EtherCat Master Ethernet adapter and specify the interface to be used.
If a target system has not been defined yet, then the error message "Gateway not configured" is displayed.
- Insert a slave below the EtherCat Master or scan the bus.
Edit the PLC_PRG POU as follows:
- Start the project and test the functionality by deactivating and activating the slave.