All declarations are declared altogether as local variables between VAR
and END_VAR
. The user can change the declarations as needed in VAR_INPUT
and VAR_OUTPUT
.
OPC UA |
IEC |
Description |
---|---|---|
OPC UA object types |
Function blocks |
|
Interfaces and add-ins |
Function block The members of the interface are members of the function block. |
Example: ![]() |
Inheritance |
Instead of generating multiple function blocks with "Extends", a flat hierarchy is generated. |
Example: ![]() |
Folder |
A separate type for each instance of a folder in an OPC UA object type The user may add the instances on his own by editing the declaration of the IEC POUs. However, function blocks have to be used which originate from an OPC UA companion. All instances of function blocks below the folder are exported. Semantic checks based on NodeSet2.xml are not possible. |
Initially, a folder is set as an object type in OPC UA. However, it is not enough
to generate a ![]() The user is responsible for adding appropriate elements to the folder. |
|
See description (as for folder) |
OPC UA defines an individual data type for folders: the |