Skip to main content

6.3.3 SFC Basic Instructions

SFC command alt text

  • General example picture: To execute STEP0 only, first determine whether Tran0 or Tran3 is met for selection and execution; when Tran0 conditions are met, STEP1 is executed, and TRAN1 is met and STEP2 is executed; when Tran3 conditions are met, STEP3 and STEP4 are executed in parallel, and TRAN4 is met and STEP2 is executed. alt text

End of sequencer

  • Function description: end of sequencer
  • Example: alt text

Step and transition conditions

  • Function description: Controls the conditions for transferring from one step to other steps; when the transition condition is met, the immediately preceding step changes from the active state to the inactive state; only when the states of all the immediately preceding steps are active The transition condition is tested only when the state is in the state; the transition condition is defined by a variable or an expression.
  • Example: alt text

Open selection branch

  • Function description: Open the selection branch, which is used to select the branch to be executed. Among multiple steps connected in parallel, only the step with the first established transfer condition is executed.
  • Example: alt text

Open parallel branch

  • Function description: A method of executing multiple steps of parallel connections at the same time when the transfer condition is established.
  • Example: If Tran0 meets the transfer conditions, STEP1, STEP3 and STEP4 will be executed at the same time. alt text

Nested closure

  • Function description: Close the branch.
  • Example: alt text