POUs under the Safety Application
POUs (EtherCAT Safety) are the programming blocks of CODESYS Safety for EtherCAT Safety Module. They are declared as PROGRAM
.
A maximum of 32 POUs can be added to the project tree of the safety application for the EL6900 terminal EtherCAT Safety, and a maximum of 64 POUs for the EL6910 and EK1960. If this value is exceeded, then the compiler issues an error.
Cannot be called by other programs
Can call function block instances from libraries
Called directly by the system
Adding a safe POU
In the project tree, select the
SafetyApp
object.In the context menu, click Add Object → POU (EtherCAT Safety).
In the Add POU (EtherCAT Safety) dialog, specify the name and comment of the POU and click Add to close the dialog.
In the object properties, configure the deactivation method.
For more information, see: Dialog: Properties – POU (under SafetyApp).