430
5-37-4 END STEP: SF(213)
(213)
SF N
N: Step number ST
Operand Data AreaLadder Symbol
Variations
j SF(213)
Description When the execution condition is OFF, SF(213) is not executed. When the execu-
tion condition is ON, SF(213) changes the status of a step or subchart from
execute or pause to halt.
In halt status, the execution of actions with N, P, L, and D action qualifiers is
stopped, but the present values of TIM and TIMH instructions that have been
started continues to operate. The present values of other timers and counters,
as well as other outputs, are maintained. Step timers continue to operate, so be
careful when using L and D action qualifiers.
Note SF(213) cannot be executed for steps in an interrupt program.
Normal Steps Status
The specific results of executing SF(213) for steps in each step status are de-
scribed below for normal steps inside or outside of subcharts.
Execute Changes the step status from execute to halt. Execution of actions will be
stopped, but output status will be maintained and the step timer will continue
counting. When SF(213) is executed on a step in a subchart, execution of the
actions in that step will be stopped beginning with the next execution cycle.
Pause Changes the step status from pause to halt.
Halt, Inactive Step status does not change.
Subchart Dummy Steps
The specific results of executing SF(213) for steps in each step status are de-
scribed below for dummy steps controlling subcharts.
Execute Changes the status of the subchart dummy step from execute to halt. All active
steps in the designated subchart (including those in pause status) will be
changed to halt status. Execution of actions will be stopped, but output status will
be maintained and the step timer will continue counting. If SF(213) is executed
for a subchart from within the same subchart, the actions within only the step
containing SF(213) will be stopped beginning with the next execution cycle.
Pause Changes the status of the subchart dummy step from pause to halt. All paused
steps in the designated subchart will be changed to halt status. Execution of ac-
tions will be stopped, but output status will be maintained and step timers will
continue.
Halt, Inactive Step status does not change.
SFC Control Instructions Section 5-37