8 SFC PROGRAM
8.6 SFC Program Execution
111
8
Operation when a program is modified
To change an SFC program, use the following function.
• Write to the programmable controller
The following table shows the SFC program data that can be changed by the above method.
When data is written to the programmable controller
Shown here is the operation when an SFC program is modified by writing data to the programmable controller.
■When the operating status is changed from STOP to RUN
If the CPU module is stopped during execution (running) of an SFC program, the device state and the SFC program active/
inactive state will be restored to the state immediately before the stop when the CPU module status is changed from STOP to
RUN. The program will start in the Resume Start mode regardless of the CPU parameter setting "SFC Program Start Mode
Setting."
If the sequence program file (including an SFC program) or the FB file is written to the CPU module while it is in the STOP
status, the SFC program will start in the Initial Start mode if the SFC program exists when the operating status is changed
back to RUN. Note that it may start in the Resume Start mode if there are no changes before and after writing of the SFC
program. (Page 97 SFC Program Start Mode Setting)
■Precautions
• After an SFC program is modified by writing data to the programmable controller, reset the CPU module, and execute the
SFC program.
• If the CPU parameter "SFC Program Start Mode Setting" has been set to "Resume Start," once turn off (Initial Start) SM322
(SFC program startup status), and modify the program by writing data to the programmable controller. Thereafter, start the
SFC program in the Initial Start mode, and then turn on (Resume Start) SM322 again.
Change type Write to the programmable controller
STOP/PAUSE RUN
SFC program addition
SFC block addition/deletion
SFC block
change
SFC diagram
change
Step/transition condition addition/deletion
Transition condition (branch/ convergence/jump) change
Step attribute change
Change in SFC
diagram
Operation output program change
Transition program change
Block information change
SM322 (SFC program startup status) Program modification status
Modified Not modified
OFF (Initial start) Initial start Initial start
ON (Resumption) Initial start Resumption