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
SFP_LD_avail_v31
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:
  • Executing (or enter 0)
  • Paused (or enter 1)
Structured Text
Operand
Type
Format
Description
SFCRoutineName
ROUTINE
name
SFC routine to pause
TargetState
DINT
immediate
Select one:
  • Executing (or enter 0)
  • Paused (or enter 1)
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
SFP_LD_ex_v31
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.