End an SFC

Once the controller reaches the end of an SFC, the controller does not automatically restart at the first step. Tell the controller what to do when it finishes the last step.
To end an SFC
Select a method of ending the SFC:
  • To automatically loop back to an earlier step, jump after the last transition to a different step.
  • To stop and wait for an SFR or SFP command to restart, add a
    Stop Element
    .
    For example:
    end_sfc
    When
    last_transition
    is true,the execution of the SFC stops.
    Stop elements are also permitted within simultaneous branches. To stop the execution of a single branch of simultaneous branches, place a stop at the end of the branch.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.