Order of Program Execution

The order of program execution in a project is defined in the Cycle dialog box. (Figure 1)

Figure 1: Cycle dialog box

The order of execution is always:

  1. High Priority
  2. SFC Section
  3. Normal Priority

The order in each group is determined by the vertical ordering.

In Figure 1, the order of execution for Normal Priority programs is:

  1. UntitledFBD
  2. UntitledST1
  3. UntitledFBD1

See Define the PLC Cycle.