478 Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Chapter 11 Program Control Instructions (JMP, LBL, JSR, RET, SBR, JXR, TND, MCR, UID, UIE, AFI, NOP, EOT, SFP, SFR, EVENT)
Structured Text
Pause the SFC routine: IF (sfp_en_p) THEN
SFP(normal,paused);
sfp_en_p := 0;
END_IF;
Resume executing the SFC
routine:
IF (sfp_en_e) THEN
SFP(normal,executing);
sfp_en_e := 0;
END_IF;
SFC Reset (SFR)
The SFR instruction resets the execution of a SFC routine at a specified step.
Operands:
Relay Ladder Operands
Structured Text
The operands are the same as those for the relay ladder SFR instruction.
Operand Type Format Description
SFCRoutine
Name
ROUTINE Name SFC routine to reset
Step Name SFC_STEP Tag Target step where to resume execution
SFR(SFCRoutineName,StepName);