A program is an element that is stated at the highest level of POU.
Functions, function blocks, and operators are used to edit programs.
Sequence programs executed in a programmable controller CPU are created by programs of
For a simplest sequence program, only one program needs to be created and registered to a
task in order to be executed in a programmable controller CPU.
Programs can be described in the ST or structured ladder/FBD language.
Functions and operators are used to edit functions.
Functions can be used by calling them from programs, functions, or function blocks.
Functions always output same processing results for same input values.
By defining simple and independent algorithms that are frequently used, functions can be reused
Functions can be described in the ST or structured ladder/FBD language.