Step Execution Sequence - Mitsubishi MELSEC-Q Series Programming Manual

Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

5 SFC PROGRAM PROCESSING SEQUENCE

5.3.3 Step execution sequence

(1) In the SFC program, the operation outputs of all active steps are processed within one scan.
Block 0
(2) At the end of the operation output execution at each step, whether the transition condition to
the next step is satisfied or not is checked.
(a) When the transition condition is not yet satisfied, the operation output of the same step is
also executed in the next scan.
(b) When the transition condition is satisfied, the outputs turned ON by the OUT instruction at
the executed steps are all turned OFF.
When the next scan is executed, the operation output of the next step is executed.
At this time, the operation output of the step executed previously is deactivated
(unexecuted).
The CPU module processes only the program of the operation output of the currently active
step and the transition condition to the next step.
Example: The execution sequence from a program start till a transition from the initial step to
SFC program
REMARKS
• The step whose attribute has been set to a HOLD step is not deactivated (unexecuted).
Processing continues according to the set attribute.
5 - 11
S0
t0
S2
S4
t2
t4
S3
S5
t3
t5
step 1 is as shown below.
CPU module
END processing
RUN
(SM321 ON)
Initial step
(operation
output
executed)
Block 0
(Transition condition
unsatisfied)
S6
t6
Active steps in corresponding block are executed within 1 scan.
S7
: Active step
t7
: Inactive step
END processing
(SM321 ON)
(SM321 ON)
Initial step
(operation
output
executed)
(Transition condition
satisfied)
END processing
Step 1
(operation
output
executed)
(Transition condition
unsatisfied)
5 - 11

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-l seriesMelsec-qna seriesMelsec q series

Table of Contents