IEC Source code file writing services

Below are the main services for writing source code in IEC language in POU source files. Files are open using the paFileOpenWriteSrc function. When complete, they must be closed by calling the paFileClose function.

There are various set of available functions depending on the programming language:

- Structured Text or Instruction list:

    Text file writing functions

- Function Block Diagram:

    Functions for FBD sequential writing

- Ladder Diagram:

    Functions for LD sequential writing

- Sequential Function Chart:

    Functions for SFC sequential writing