Pause SFC (SFP)
    This information applies to the 
CompactLogix
 5370, ControlLogix
 5570, Compact GuardLogix
 5370, GuardLogix
 5570, Compact GuardLogix
 5380, CompactLogix
 5380, CompactLogix
 5480, ControlLogix
 5580, and GuardLogix
 5580 controllers.The SFP instruction pauses an SFC routine.
Available Languages
Ladder Diagram

Function Block
This instruction is not available in function block.
Structured Text
SFP(SFCRoutineName,TargetState);
Operands
Ladder Diagram
Operand  | Type  | Format  | Description  | 
SFCRoutineName  | ROUTINE  | name  | SFC routine to pause  | 
TargetState  | DINT  | immediate
                    | Select one: 
  | 
Structured Text
Operand  | Type  | Format  | Description  | 
SFCRoutineName  | ROUTINE  | name  | SFC routine to pause  | 
TargetState  | DINT  | immediate
                    | Select one: 
  | 
See Structured Text Syntax for more information on the syntax of expressions within structured text.
Description
The SFP instruction lets you pause an executing SFC routine.
Affects Math Status Flags
No
Fault Conditions
A major fault will occur if:  | Fault Type  | Fault Code  | 
The routine type is not an SFC routine  | 4  | 85  | 
See Common Attributes for operand-related faults.
Execution
Ladder Diagram
Condition/State  | Action Taken  | 
Prescan  | N/A  | 
Rung-condition-in is false.  | N/A  | 
Rung-condition-in is true  | The instruction pauses or resumes execution of the specified SFC routine.  | 
Postscan  | N/A  | 
Structured Text 
Condition/State  | Action Taken  | 
Prescan  | N/A  | 
Normal execution  | The instruction pauses or resumes execution of the specified SFC routine.  | 
Postscan  | N/A  | 
Example
Ladder Diagram

Provide Feedback