98
8 SFC PROGRAM
8.4 SFC Setting
■Precautions
• When setting the parameter to "Resume Start," install a battery in the CPU module. If a battery trouble, such as no battery
or battery voltage drop, has occurred, the SFC program may start in the Initial Start mode when it is started first time after
the CPU module power is switched from off to on. Battery troubles can be detected by Option Battery Setting. For details,
refer to the user’s manual for the CPU module used.
• When a program is resumed, the SFC program stop position is held, but the status of the label or device used for an action
is not held. Therefore, if labels or devices are required to be held for Resume Start, set them to the latch mode.
(MELSEC iQ-F FX5 User's Manual (Application))
• When a program is resumed under a condition other than conditions ((1), (3), (5) in the table) under which the coil output of
the coil HOLD step [SC] is turned off, the coil HOLD step [SC] that holds an operation is restarted, but the output is not
turned on. To hold the output, set the labels and devices to the latch mode. (MELSEC iQ-F FX5 User's Manual
(Application))
• When the CPU module is powered off or reset, the intelligent function module is initialized. To resume a program, it is
recommended to create the initial program for the intelligent function module in a block which is constantly active or in a
sequence program.
• When the CPU module is powered off or reset, labels and devices are also cleared.
• Depending on the timing, a program may not be resumed after the CPU module is powered off or reset. If a program is
started in the initial status after the start mode is set to Resume Start, an event where the program cannot be resumed is
stored in the event history. To ensure the program is started in the Resume Start mode, power off or reset the CPU module
after switching SM321 from ON to OFF or switch the operating status from RUN to STOP.
Start Conditions Setting
Set whether to automatically start and activate the block 0 or to keep it inactive until a start request is issued when starting the
SFC program.
[CPU Parameter] [SFC Setting] [Start Conditions Setting]
Use the Start Conditions Setting to control the start block according to the product type.
"Auto-start block 0" is useful when block 0 is used as described below.
• Management block
• Preprocessing block
• Continuous monitoring block
■Precautions
• To execute the SFC program when "Do not auto-start block 0" is set, execute the SET instruction (Starting a block) from the
sequence program.
• When "Auto-start block 0," is set, create block 0 without fail.
Setting Description
At SFC Program START At the end of block 0
Auto-start block 0
(default)
Block 0 is started automatically and starts execution from
its initial step.
Block 0 is restarted automatically and restarts execution
from its initial step.
Do not auto-start block 0 Block 0 is activated by a start request issued by the SFC
control instruction (Starting a block) or a block start step
in the same manner as other blocks.
Block 0 is not restarted automatically and remains
inactive until another start request is issued.