13
2017/06
The PROFINET controller is added to the project tree.
3.2.2 PROFINET tasks in CODESYS
The following PROFINET tasks are automatically added to the project as soon as a
PROFINET controller is added to the Ethernet interface.
Profinet_CommunicationTask
This task includes the acyclic communication services, such as establishing connections, config-
uration of slaves and diagnostics. These services are not time-critical due to very weak real-time
requirements. Therefore the task is low priority (default: priority 30, interval 10 ms). In applica-
tions with a large amount of slaves it can be necessary to extend the cycle time.
Profinet_IOTask
This task is responsible for the PROFINET IO real-time data exchange. It controls the PROFINET-
Master-Stack. The task should be set to high priority (default: priority 1, interval 1 ms).
Fig. 8: PN-Controller in project tree
NOTE
The Device addresses under "Default Slave IP Parameter" and the Ethernet interface of the
TBEN-L-PLC- have to be in the same subnet.