StartStopSfc

Stop and restart a specific SFC program

With this function you can stop and restart a specific Sequential Function Chart (SFC) program.Stopping the program means that all steps are deactivated and all step flags, e.g. stepname.X, reset.

Parameters

Input

SfcName (Literal)

Name of the SFC program to control

Stop (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.

StartStoppedSfc (BOOL)

At a rising edge, the stopped SFC program is restarted. An SFC program that is not stopped is not affected.

Output

Stopped (BOOL)

Indicates whether the SFC program has been stopped. The function SfcStopped produces this result, too.

Remarks

Related topics:

Example

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