Assign a Constant/Variable, as a Transition Condition
As stated in the relevant section of the language reference, a transition condition can be assigned through a constant, a variable, or a piece of code. This paragraph explains how to use the first two means, while conditional code is discussed in the next paragraph.First of all double-click the transition you want to assign a condition to. This causes the following dialog box to appear.
Select True if you want this transition to be constantly cleared, False if you want the PLC program to keep executing the preceding block.Instead, if you select Variable the transition will depend on the value of a Boolean vari- able. Click the corresponding bullet, to make the text box to its right available, and to specify the name of the variable.To this purpose, you can also make use of the objects browser, that you can invoke by pressing the button its right side.Click OK to confirm, or Cancel to quit without applying changes.