Structure of a Configuration
WPS software follows the guidelines of the IEC 61131-3 standard.
Therefore, every application developed with it has a configuration with the following hierarchical structure:
• Configuration: This is at the highest level of the hierarchy, defining all software elements contained in an application that interact with each other to perform control functions.
• Resource: The second level of the hierarchy, representing any element with processing capacity for program execution. In WPS, resources are independent of each other, and each has a product associated with it. An application's global variables are within this scope.
• POU (Program Organization Unit): Describes the instructions that will be executed, the order in which they will be executed, and how they interact with each other. Functional blocks, functions, and programs are contained in this category. In WPS, the most prominent POU is the Ladder Diagram. An application's local variables are in this scope, each restricted to its own POU.
- Tasks: processes that control the order and execution time of POUs.
The following figure shows the schema of this hierarchy in WPS.

Legend:
- Configuration;
- Resource;
- POUs;
- Tasks;