Documentation

Transition Connections

Transitions to and from Exclusive (OR) States

This example shows simple transitions to and from exclusive (OR) states.

The following transition...Is valid when...
B to AState B is active and the event E1 occurs.
A1 to A2State A1 is active and event E2 occurs.

See Transition to and from Exclusive (OR) States for more information on the semantics of this notation.

Transitions to and from Junctions

The following chart shows transitions to and from connective junctions.

The chart uses temporal logic to determine when the input u equals 1.

If the input equals 1...A transition occurs from...
Before t = 2Start to Fast
Between t = 2 and t = 5Start to Good
After t = 5Start to Slow

For more information about temporal logic, see Control Chart Execution Using Temporal Logic. For more information on the semantics of this notation, see Transition from a Common Source to Multiple Destinations.

Transitions to and from Exclusive (OR) Superstates

This example shows transitions to and from an exclusive (OR) superstate and the use of a default transition.

The chart has two states at the highest level in the hierarchy, Power_off and Power_on. By default, Power_off is active. The event Switch toggles the system between the Power_off and Power_on states. Power_on has three substates: First, Second, and Third. By default, when Power_on becomes active, First also becomes active. When Shift equals 1, the system transitions from First to Second, Second to Third, Third to First, for each occurrence of the event Switch, and then the pattern repeats.

For more information on the semantics of this notation, see Control Chart Execution Using Default Transitions.

Transitions to and from Substates

The following example shows transitions to and from exclusive (OR) substates.

For details on how this chart works, see Key Behaviors of Debouncer Chart. For information on the semantics of this notation, see Transition from a Substate to a Substate with Events.

Self-Loop Transitions

A transition that originates from and terminates on the same state is a self-loop transition. The following chart contains four self-loop transitions:

See these sections for more information about the semantics of this notation:

Was this topic helpful?