Stop and restart all SFC programs
With this function you can stop and restart all Sequential Function Chart (SFC) programs in a way that significantly saves program memory.Stopping the program means that all steps are deactivated and all step flags, e.g. stepname.X, reset.
Input
At a rising edge all SFC programs are stopped, and all step flags and explicit Boolean variables that have been declared as non-holding variables in the action association list of a step are reset.
At a rising edge, all stopped SFC programs are restarted. SFC programs that are already running are not effected.
Output
Set when all SFC programs are stopped. The function AllSfcsStopped produces this result, too.
All explicit Boolean variables that have been set but not saved in the action association list of a step are reset. All other variables retain their last value.The stopped SFC programs can then be started all at once or individually with another SFC control function, or resumed at any position using ActivateStepsOfStoppedSfcs.
This function cannot be used in functions because recognizing the rising requires a memory that a function does not have.
This function cannot be used in SFCs.
When this function is used, additional code is generated for the entire program. Since only 128 consecutive steps can be loaded to the PLC while in RUN mode, the code generated the first time this function is used cannot be loaded to the PLC. If you only use this function with the online edit mode in RUN mode, you have to download it at least once to the PLC.