9. Select [OK]
1.6.4.3 Call the POU in PLC_PRG
1. In the CODESYS editor device tree double-click “PLC_PRG”.
2. Select the next free line in “PLC_PRG” and press [F2].
ð
“Input Assistant” opens.
3. Select “User defined Program”.
4. Select “_30_PNIO test”.
5. Select [OK] to close the dialog.
1.6.4.4 Compile the project
Before logging-in to the CPU, you need to compile the complete code without any errors.
Getting started with example projects
Example project for remote I/O expansion with PROFINET > Add remote I/O expansion to project
2023/03/03 3ADR010649, 3, en_US 61