How to Automatically Trigger Cascaded Start Sequences in PCS 7 SFC Types
To trigger the automated start of a secondary Sequential Function Chart (SFC) Type instance upon the completion or specific step transition of a primary SFC Type in SIMATIC PCS 7, you must interconnect the primary instance's state outputs to the control inputs of the secondary instance in CFC. In sequential batch and multi-phase continuous operations, cascaded execution is controlled using standard SFC Type control parameters: enabling automated commands via ENSTART := 1 and pulsing the execution trigger START := 1 when the master sequence enters the target step or asserts its COMPL (Completed) status output. This ensures deterministic phase progression without requiring manual operator intervention or external recipe coordination.
Table of Contents
- SFC Types Operating Architecture and State Logic
- Control Parameters for Automated Execution: ENSTART and START
- Cascading Strategies: Step-Based vs. State-Based Triggers
- Method: Step-by-Step CFC Interconnection Workflow
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
SFC Types Operating Architecture and State Logic
In SIMATIC PCS 7, Sequential Function Charts (SFC) manage state-based, sequential process procedures (e.g., vessel CIP cleaning, reactor heating profiles, product transfer phases):
* SFC Charts vs. SFC Types: While SFC Charts are individual standalone programs, SFC Types are reusable, standardized sequential templates instantiated in CFC with dedicated instance data blocks and OS faceplates.
* The ISA-88 State Model: Every SFC Type conforms to the international standard ISA-88 / NAMUR state model:
- Idle -> Starting -> Running -> Completing -> Completed.
- Exception states: Holding, Held, Aborting, Aborted, Stopping, Stopped.
* Autonomous Coordination: In multi-unit operations, Phase 1 (e.g., Agitation and Heating) must automatically trigger Phase 2 (e.g., Dosing) when specific physical criteria are satisfied, without requiring an operator click on the WinCC faceplate.
Control Parameters for Automated Execution: ENSTART and START
Every SFC Type block instance exposes a standardized set of control inputs and state outputs in the CFC editor:
ENSTARTBOOLTRUE, permits the SFC instance to accept automated start commands.STARTBOOL0 -> 1) transitions the SFC from Idle to Starting.AUTOBOOLMANUALBOOLREADY_TCBOOLIdle state with interlocks healthy.COMPLBOOLTRUE when the sequence reaches the final step and enters the Completed state.Cascading Strategies: Step-Based vs. State-Based Triggers
Depending on process requirements, engineers deploy two cascading patterns:
Pattern 1: State-Based Handshake (End of Sequence Trigger)
The second SFC starts only after the first SFC completes its entire execution cycle:
* SFC1.COMPL pulses SFC2.START.
* SFC1 is configured to automatically reset from Completed back to Idle via parameter AUTORST := 1, preparing it for future cycles.
Pattern 2: Step-Based Mid-Sequence Trigger (Parallel Overlap)
The second SFC starts while the first SFC is still actively running (e.g., starting an exhaust fan when a heating furnace reaches 200 °C at Step 3):
* A characteristic boolean flag inside Step 3 of SFC1 asserts a dedicated output (e.g., Step3_Active).
* This output feeds a pulse generator (PULSE_P) that triggers SFC2.START.
Method: Step-by-Step CFC Interconnection Workflow
To configure automatic cascaded execution between two SFC Type instances:
- In SIMATIC Manager, open the CFC chart containing the two SFC Type instances (e.g.,
SFC_DosingandSFC_Reaction). - Configure Operating Modes:
- Connect a staticTRUE(or central plant Auto signal) toAUTOon both instances.
- SetENSTART := TRUEon both instances. - Configure the Cascading Interconnection:
- If starting after completion: connect outputSFC_Dosing.COMPLto inputSFC_Reaction.START.
- Ensure an interlock safety check: route the start signal through anANDblock withSFC_Reaction.READY_TCto verify the second unit is physically idle and ready. - Prevent Continuous Trigger Lockup:
- TheSTARTinput requires a rising edge (0 -> 1). IfCOMPLremains asserted continuously,SFC_Reactionwill not restart on subsequent cycles. Insert a standard pulse block (PULSE_Pwith pulse timeT#1s) or setSFC_Dosing.AUTORST := 1to ensureCOMPLdrops back toFALSEafter the transition. - Compile CFC charts and compile OS.
Verification
To verify that cascaded automatic starting operates smoothly:
- In the CFC editor, open both SFC Type instances in online test mode.
- Verify that both instances report
Mode: AutoandState: Ready / Idle. - Start the first SFC instance (
SFC_Dosing) via test command or simulated operator trigger. - Observe the sequence progression:
- MonitorSFC_Dosingas it transitions through active execution steps.
- WhenSFC_Dosingreaches the final step, verify thatCOMPLassertsTRUE. - Observe
SFC_Reaction:
- Confirm that within one CPU cycle,SFC_Reactiontransitions fromIdletoStarting, then toRunning.
- Confirm that the second sequence executes all defined phase steps without stalling.
Limitations and Operational Precautions
- Edge Detection Requirement: Never apply a continuous static
TRUEsignal to theSTARTparameter. SFC Types require a positive signal edge to initiate a state transition. A staticTRUEprevents the block from registering future start requests. - Exception State Handling: If
SFC1is held or aborted due to a plant trip, ensureSFC2is commanded to pause or abort. InterconnectSFC1.HELDandSFC1.ABORTEDtoSFC2.HOLDandSFC2.ABORTto maintain synchronized shutdown. - SIMATIC BATCH Coordination: If the plant runs SIMATIC BATCH, do not use hardcoded CFC interconnections to chain SFC Types. SIMATIC BATCH manages recipe phase progression at the supervisory level; manual CFC cross-wiring conflicts with BATCH recipe allocation.
Engineer FAQ
Why does my second SFC fail to start even though START is receiving a signal?
The second SFC will ignore START if ENSTART is FALSE, if the instance is not in the Idle state, or if an operating interlock (INTLOCK) is active.
Can an operator manually stop an SFC Type running in Auto mode?
Yes. Operators can issue Stop, Hold, or Abort commands from the WinCC SFC faceplate at any time, regardless of whether the sequence was started automatically or manually.
What is the function of the AUTORST parameter on SFC Types?
When AUTORST := 1, the SFC automatically transitions from the Completed state back to Idle without requiring an explicit reset command, making it immediately ready for the next run.
Technical References
- Siemens Industry Online Support Entry ID 109742323: SIMATIC Process Control System PCS 7 SFC for S7 Manual
- SIMATIC PCS 7 SFC Visualization and Engineering Manual (Document No. A5E02779836)
- Siemens Industry Online Support Entry ID 109809264: ISA-88 State Model Implementation in SIMATIC PCS 7
Related Articles
- https://industrialautomation.net/search?query=pcs7+sfc+type+cascaded+start+sequence
- https://industrialautomation.net/search?query=sfc+enstart+start+interconnection+cfc
- https://industrialautomation.net/search?query=isa88+state+machine+pcs7+sfc+autorst
Related Tags
- https://industrialautomation.net/search?query=simatic-pcs7
- https://industrialautomation.net/search?query=sfc-types
- https://industrialautomation.net/search?query=batch-control
- https://industrialautomation.net/search?query=sequential-control