It is possible to draw multi-layer configuration logic that contains feedback loops with the Application Configuration tool. The execution order of logic functions is calculated automatically in the Application Configuration tool, but the execution order can also be set manually. If the automatically calculated value causes the function to be executed one task cycle time after the other logic functions in the same loop, the execution order number can be set manually to prevent delays, for example, in output activation.
Example shows a simple situation where the execution order causes one cycle time delay if the NOT port is executed in the order determined by the automatic calculation.
By setting a smaller execution number than in the AND port to where the NOT port is connected, it is possible to fix the execution order of all functions in a loop so that they are handled in the same task.
Execution number can be changed by right-clicking the function and selecting Change CycleTime ExecOrder.
After manually defining the execution number, the function is no longer part of the automatic execution order calculation. The function can be included back to the automatic calculation by right-clicking the function and selecting Include FB in calculation.