Function description

This procedure is to reset a step in a sequence.

NOTE: The procedure can only be used in the operation mode "Multi-Token".

This procedure resets the specified step.

Since the step stays reset as long as this procedure (RESETSTEP) is running (the procedure is run cyclically), you should take one of the following measures to prevent a permanent resetting of the step:

  • Conditional call of the procedure RESETSTEP via the input EN.

  • Conditional call of the procedure RESETSTEP via e.g. IF statement in the programming language ST.

  • Use edge recognition (R_TRIG) at the input.

When the last/only active step of the sequence is reset, the sequence can only be restarted with the function block SFCCNTRL (input INIT), the function INITCHART or the procedure SETSTEP or another external step activation command.

EN and ENO can be configured as additional parameters.

Representation in FBD

Representation:

Representation in LD

Representation:

Representation in IL

Representation:

LD StepName
RESETSTEP

Representation in ST

Representation:

RESETSTEP (StepName);

Parameter description

Description of the input parameter:

Parameter

Data type

Meaning

StepName

SFCSTEP_STATE

Assignment of the step to be reset via the name of the step.

(If an SFC step is created then it is automatically assigned with a variable of data type SFCSTEP_STATE. The variable that is created always has the name of the respective SFC step.)