
B-63484EN/05 3.CREATING AND EDITING SEQUENCE PROGRAMS
- 113 -
Transition
A transition represents a condition under which transition occurs from
one step to another.
• There must be only one transition between steps.
• The transition of processing from one step to another is carried
out as described below:
• When a signal becomes on in a transition, its state is held even
after state transition occurs. So, if you do not want to maintain
the state, you must turn off the signal, using another subprogram.
[Example of setting transition conditions]
In this example, after an M7 code is decoded using the DEC
function instruction, control is passed to the next step.
NOTE
The TRSET function instruction is intended to
describe that a transition condition is satisfied. It is
used in a subprogram that is called from the
transition.
When S1 is running, only S1 and P101 are
processed. The other steps or transitions are not
executed. Even if P102 is satisfied, it is invalid
unless S2 is running.
Transition from S1 to S2 can occur if P101 is
satisfied. When P101 is satisfied, S1 ends
regardless of the state of S1, allowing S2 to start.
Subprogram P1
Subprogram P101