StartStopAllSfcsAndInitData

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.

Parameters

Input

StopAllSfcs (BOOL)

At a rising edge all SFC programs are stopped, and all step flags and explicit Boolean variables that have been set but not saved in the action association list of a step are reset.

InitNonRetainDataOfAllSfcs (BOOL)

At a rising edge, all non-holding variables in the headers of the SFC program indicated by SfcName, including all external variables from the global variable list, are reinitialized. Explicit addresses used in an action or a transition are not affected.

StartAllStoppedSfcs (BOOL)

At a rising edge, all stopped SFC programs are restarted. SFC programs that are already running are not effected.

Output

AllSfcsStopped (BOOL)

Indicates whether all SFC programs are stopped. The function AllSfcsStopped produces this result, too.

Related topics:

Example

Modified on: 2022-06-28Feedback on this pagePanasonic hotline