Migration of Existing ApplicationsΒΆ
An existing C/C++ application can be used as part of an IEC application. All functions, which shall be called from IEC application have to be wrapped by a POU.
Note
Exception:Functions of an existing application, which shall exclusively be called from other parts of the C/C++ code, do not need to be wrapped by POU definitions.
Migration of existing applications.
Define one or more encapsulating POU types for each corresponding function.
Define encapsulating POU shell with needed inputs, outputs, and local variables in Automation Builder.
Include existing code in generated C source template.
Compile and download the function.