1. Different conditions can transition from their respective states to the same state
1. Different conditions can transition from their respective states to the same state
When starting from the state of an activity and the transition condition is also conductive, the current state of the activity can be closed and the next state can be skipped.
When multiple states require independent processes for each subsequent state, this structure is used.
图1 Multi to Single Transfer
When S2 is active (S2=ON) and transition 2 is also conductive, state 5 will be turned on (S5=ON) and state 2 will be turned off at the same time (S2=OFF).
When S3 is active (S3=ON) and transition 3 is also conductive, state 5 will be turned on (S5=ON) and state 3 will be turned off (S3=OFF) at the same time.
When S4 is active (S4=ON) and transition 4 is also conductive, state 5 will be turned on (S5=ON) and state 4 will be turned off (S4=OFF) at the same time.
Perform the following steps to complete this structure:
use insert status stepmethod,insert status 2,3,4。
Use insert transfermethod,transfers 2, 3, and 4 into their respective states in sequence.
use insert horizontal linemethod,Insert a horizontal line connecting all states. Because there are 3 states, the length of the horizontal line is 3.
![]()
- Insert status 5。