Skip to main content

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.

. Properties of a POU type block (EtherCAT Safety)
  • Cannot be called by other programs

  • Can call function block instances from libraries

  • Called directly by the system

Adding a safe POU

  1. In the project tree, select the SafetyApp object.

  2. In the context menu, click Add ObjectPOU (EtherCAT Safety).

  3. In the Add POU (EtherCAT Safety) dialog, specify the name and comment of the POU and click Add to close the dialog.

    EL6900_SafetyProjectCreatePOU.png
  4. In the object properties, configure the deactivation method.

    For more information, see: Dialog: Properties – POU (under SafetyApp).