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.

../_images/96cb90b335f457f60a317f3455a3d628

Migration of existing applications.

  1. Define one or more encapsulating POU types for each corresponding function.

  2. Define encapsulating POU shell with needed inputs, outputs, and local variables in Automation Builder.

  3. Include existing code in generated C source template.

  4. Compile and download the function.