If the conditional terminal of a While Loop, a For Loop, or a (Real-Time, Windows) Timed Loop is Stop if True , the loop executes its subdiagram until the conditional terminal receives a TRUE value. If the conditional terminal is Continue if True , the loop executes its subdiagram until the conditional terminal receives a FALSE value.
Note A For Loop with a conditional terminal executes until the conditional terminal receives the stop value or until the set number of iterations completes, whichever happens first. |
Complete the following steps to change the continuation behavior of a loop with a conditional terminal.
You also can use the Operating tool to click the conditional terminal to change the condition.
You must wire a Boolean value or an error cluster to the conditional terminal in a While Loop or a For Loop with a conditional terminal.