<9. Advanced Engineering >
In the figure below, the LD logic is connected to the EN terminal of the rightmost
OR logic so the reference position of FBD logic is changed to the lowest point.
Moreover, the LD logic has the highest reference position among all logics so it
is executed first.
The LD logic is connected to the OR logic so the rightmost OR logic is executed
before the AND and MOVE logics on the left.
The execution order of a control application is decided by a combination of factors
including relative height, manner of connection and mixed use of FBD and LD.
When determining the execution order, do not rely on visual inspection but rather
display the execution order in Logic Designer.
Moreover, adding LD to a code worksheet created in FBD or deleting LD logic from
a code worksheet created in FBD and LD may cause its execution order to change
drastically so always check the execution order after adding or deleting LD logic.