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