Semantic Error (SEM1173): The transition expects a condition of type 'BOOL'.
The error was reported for a transition in SFC code for which no condition is specified.
A transition is always associated with a Boolean transition condition. The condition may be a single Boolean variable, a Boolean constant or a coded transition written in the programming languages ST, LD or FBD that returns a Boolean result. Alternatively, the transition can be set as inline transition where a code network can be connected
The error message is reported together with the error SEM1094 (no method found).
Remedy
Define a transition condition by one of the following measures:- Make the transition an inline transition (via its context menu) and connect a Boolean variable or constant or connect a code construct which returns a Boolean variable.
- Add a transition method (coded transition) in the SFC FB type (COMPONENTS) and assign its name to the transition in the code network.
Further Info
For more information refer to the topic "Editing Transitions" |