Vai al contenuto

Transition Condition

Each transition has an associated transition condition which is the result of the evaluation of a single Boolean expression. A transition condition which is always true is represented by the keyword TRUE, whereas a transition condition always false is symbolized by the keyword FALSE.A transition condition can be associated with a transition by one of the following means:
RepresentationDescription
image_0By placing the appropriate Boolean constant {TRUE, FALSE} adjacent to the vertical directed link.
image_0By declaring a Boolean variable, whose value determines whether or not the transition is cleared.
image_0By writing a piece of code, in any of the languages supported by GF_ProjectVX code, except for SFC. The result of the evaluation of such a code determines the transition condition.
The scope of a transition name is local to the POU in which the transition is located.