Program structure

The program structure of the generated PLC code is divided into three levels, as in the modeling:

  • Plant

  • Hardware area

  • Procedure

Each level consists of subprograms and global variable lists that communicate with the other levels via interfaces. The following illustration shows the levels with their respective subprograms and global variable lists. If multiple sequences or hardware zones are modeled, the structure expands horizontally in a generic manner.

Last updated

Was this helpful?