Skip to main content

Project elements

POUs

A POU (Program Organization Unit) contains a well-defined part of the program for modularization and structuring. The POU has a defined interface with inputs and outputs and can be called and executed multiple times. POUs can be programs, functions or function blocks.

Configurations

Zugriffsvariablen / Access Variables

Access variables are variables that are also available outside the program. They are used to display and describe values in the HMI or to establish connections to the program via MQTT .

Config variables

Can be used to give initial values to certain variables in different POUs. These are defined via the project tree at Config Variables .

Tasks

Tasks control the execution of programs, functions and function blocks. They can be executed cyclically or trigger-controlled.

Data types

Data Types are custom definitions of data types that can be used throughout the project.

// Data Type
TYPE
ENERGY : REAL;
END_TYPE

// POU
VAR_INPUT
EnergyInput : ENERGY;
END_VAR