Functions, function blocks, and programs are called program organization units, or POU, in EN 61131-3.
There are three basic POU types:
Every POU has two main parts: declarative and executive. In the declarative parts of a POU, variables necessary for the POU activity are defined. The executive part then contains the commands necessary for the execution of the required algorithm.