Function block IEC type mapping
In IEC programs function blocks can be defined as types (POU). Instances formed from these are mapped as individual variables with their member variables.
These IEC function blocks are also represented in the OPC UA information model as individual variables with their subordinate member variables. Unlike structures, the member variables of function blocks are referenced in the OPC UA information model after their declaration, for example as input or output variables.
The IEC type information is also available in the OPC UA information model. The corresponding OPC UA type is a derivation of the OPC UA CtrlFunctionBlockType, which is defined in the PLCopen Companion Specification.