V5 Ultimate
Ultimate
PricingResourcesCompany
English (original)DeutschΕλληνικάEspañolFrançaisItalianoעברית日本語한국어NederlandsPolskiPortuguêsSvenska
Talk to us Log in Start free trial
Food & Beverage
  • Bakery & Confectionery
  • Food Processing
  • Ingredients & Dry Mixes
  • Sausage & Meat Products
  • Produce Packing
  • Pet Food & Pet Supplements
  • Dairy & Chilled Foods
  • Beverages & Liquid Manufacturing
  • Infant Formula
Pharma & Life Sciences
  • Radiopharmaceuticals
  • Pharmaceutical
  • Medical Devices
  • Veterinary Pharmaceuticals
  • Blood & Tissue
  • Diagnostics & IVD Kits
  • Reference Materials & Standards
  • OTC Topical Creams & Gels
Supplements & Personal Care
  • Dietary Supplements
  • Cosmetics & Personal Care
  • Cannabis & Hemp Manufacturing
  • Fragrances & Perfumery
  • Soaps & Personal Hygiene
  • Botanical Extracts & Essential Oils
Chemicals & Materials
  • Plastics & Resins
  • Agricultural Chemicals
  • Specialty & Industrial Chemicals
  • Printing Inks, Pigments & Construction Chemicals
  • Lubricants & Metalworking Fluids
  • Coatings, Adhesives & Sealants
Other Manufacturing
  • Consumer Products
  • Electronics & Electrical Assembly
  • Textiles & Nonwoven
  • Contract Manufacturing & Co-Packing
  • Packaging & Food-Contact Materials
  • Regulated Warehousing & Distribution
Explore all industries
  • Warehouse & TraceabilityReceive, store, pick and trace
  • Production & PlanningPlan jobs and guide production
  • Quality & LaboratoryTest, investigate and review
  • Documents & TrainingControl procedures and qualifications
  • Equipment & PerformanceMaintain assets and measure losses
  • Orders & IntegrationsConnect customers, suppliers and systems
  • Outputs & InsightsReports, KPIs and label design
Why V5? Product & Features
Why V5?Product & Features
  • Warehouse & TraceabilityReceive, store, pick and trace
  • Production & PlanningPlan jobs and guide production
  • Quality & LaboratoryTest, investigate and review
  • Documents & TrainingControl procedures and qualifications
  • Equipment & PerformanceMaintain assets and measure losses
  • Orders & IntegrationsConnect customers, suppliers and systems
  • Outputs & InsightsReports, KPIs and label design
Explore all industries
    • Bakery & Confectionery
    • Food Processing
    • Ingredients & Dry Mixes
    • Sausage & Meat Products
    • Produce Packing
    • Pet Food & Pet Supplements
    • Dairy & Chilled Foods
    • Beverages & Liquid Manufacturing
    • Infant Formula
    • Radiopharmaceuticals
    • Pharmaceutical
    • Medical Devices
    • Veterinary Pharmaceuticals
    • Blood & Tissue
    • Diagnostics & IVD Kits
    • Reference Materials & Standards
    • OTC Topical Creams & Gels
    • Dietary Supplements
    • Cosmetics & Personal Care
    • Cannabis & Hemp Manufacturing
    • Fragrances & Perfumery
    • Soaps & Personal Hygiene
    • Botanical Extracts & Essential Oils
    • Plastics & Resins
    • Agricultural Chemicals
    • Specialty & Industrial Chemicals
    • Printing Inks, Pigments & Construction Chemicals
    • Lubricants & Metalworking Fluids
    • Coatings, Adhesives & Sealants
    • Consumer Products
    • Electronics & Electrical Assembly
    • Textiles & Nonwoven
    • Contract Manufacturing & Co-Packing
    • Packaging & Food-Contact Materials
    • Regulated Warehousing & Distribution
PricingResourcesCompany
Start free trial Log in Talk to us
HomeGlossarySequential Function Chart
Manufacturing · The complete guide

Sequential Function Chart

In short

A sequential function chart (SFC) is the IEC 61131-3 graphical PLC programming language built on steps, transitions and parallel/selective branches. SFCs encode the fast-loop control logic that lives inside equipment modules and phase implementations — the layer that physically opens valves, ramps setpoints and reads sensors.

Read the full summary

SFCs sit beneath the ISA-88 PFC layer: where the PFC says 'Heat to 65 °C', an SFC inside the reactor's equipment module decides how the jacket actually gets there.

1,006 words · ~5 min read
On this page
  1. 01What an SFC is
  2. 02SFC vs PFC — different layers, similar look
  3. 03Validation and change control
  4. 04Common SFC patterns
  5. 05Coexistence with interlocks
  6. 06Cross-industry examples
  7. 07Common mistakes
  8. 08How V5 Ultimate handles SFC delegation
On this page · 8 sections
  1. 1What an SFC is
  2. 2SFC vs PFC — different layers, similar look
  3. 3Validation and change control
  4. 4Common SFC patterns
  5. 5Coexistence with interlocks
  6. 6Cross-industry examples
  7. 7Common mistakes
  8. 8How V5 Ultimate handles SFC delegation
AI · Explain it for MY operation

How does Sequential Function Chart apply to your shop floor?

Pick your industry and scale — Ask V5 rewrites the definition in your context, gives a worked example, and shows what V5 does on day one.

Your scale

01What an SFC is

IEC 61131-3 specifies five PLC programming languages: Ladder Diagram (LD), Function Block Diagram (FBD), Structured Text (ST), Instruction List (IL, deprecated) and Sequential Function Chart (SFC). SFC is the one designed explicitly for sequential, state-machine-driven logic — the natural fit for batch phase implementation.

  • Steps — boxes representing active states; each step holds 'action blocks' that execute while the step is active.
  • Transitions — boolean conditions on the lines between steps; when true, the predecessor deactivates and successor activates.
  • Initial step — the entry point; activated when the SFC begins.
  • Parallel divergence/convergence (double horizontal bars) — multiple branches active concurrently.
  • Selective divergence/convergence (single bars with guard transitions) — exactly one branch taken.
  • Action qualifiers — N (non-stored), S (set/stored), R (reset), P (pulse), D (delayed), L (limited).

02SFC vs PFC — different layers, similar look

Both languages share visual vocabulary — steps, transitions, parallel/selective branches — which causes confusion. The layer is the discriminator:

AspectPFCSFC
StandardISA-88 / IEC 61512IEC 61131-3
RuntimeBatch manager / MESPLC scan loop (ms)
ScopeProcedure → PhaseInside a phase or equipment module
Materials and lotsTracks themDoes not
Audit trail target21 CFR 211.188 batch recordsPLC change control + audit log
OwnerProcess / formulationControls engineering

Practical pattern: PFC commands a phase; phase implementation is an SFC in the equipment module that ramps the jacket, watches the temperature loop and signals completion back to the PFC.

03Validation and change control

  • SFCs in GMP equipment are GAMP 5 Category 5 (custom configuration of standard product) — full V-model validation expected.
  • Every step and transition is testable; OQ scope enumerates all paths including selective and parallel branches.
  • PLC code change control mirrors recipe change control — versioned, reviewed, approved, audit-trailed.
  • Backups of SFC source taken at every approved baseline; restore path validated.
  • Online edits (live PLC modification) explicitly forbidden in GMP — all changes through controlled deploy with change record.

04Common SFC patterns

  • Ramp-and-hold — initial step opens jacket valves at calculated rate; transition fires on temperature within band; next step holds with PID setpoint.
  • Charge-with-confirmation — step commands charge valve open and totaliser start; transition fires on target weight; selective branch on over/under-tolerance routes to alarm.
  • Parallel start — divergence into agitator-ramp branch and jacket-heat branch; convergence after both complete.
  • CIP cycle — sequential rinse → caustic → rinse → acid → final rinse steps with parametric IPCs (conductivity, temperature, time) at each transition.
  • Watchdog — every step has a max-duration transition that branches to an exception path if exceeded.

05Coexistence with interlocks

SFC steps issue commands; interlocks decide whether the commands actually execute. The architectural rule: never bake interlock logic into the SFC transition. Interlocks are independent, always-on guards on control modules. The SFC sees "command refused, interlock active" and routes to its exception path. This keeps safety logic provable and independent of recipe variations.

06Cross-industry examples

  • Pharma — reactor heat phase SFC ramping jacket and watching for vessel temperature within band; tablet press SFC running start-up sequence (clear, slow speed, ramp to setpoint, full speed).
  • Biopharma — bioreactor inoculation SFC sequencing inoculum line CIP → SIP → connection → transfer → flush.
  • Food — pasteuriser SFC running flow-divert valve logic on temperature dip, looping back through hold tube for re-pasteurisation.
  • Cosmetics — vacuum kettle emulsification SFC ramping agitator speed in stages while monitoring viscosity.
  • Chemicals — distillation column SFC managing reboiler ramp, reflux ratio adjustment and product cut decisions.

07Common mistakes

  • Recipe parameters hard-coded into the SFC rather than received from the PFC — every parameter change requires PLC redeploy.
  • Material-state tracking inside SFC — wrong layer; SFCs do not know about batches or lots.
  • Interlocks coded into SFC transitions — coupling safety to recipe logic.
  • Online edits during production — undermines GMP and creates uncommitted state.
  • SFC steps without watchdog transitions — phases hang silently.
  • Action qualifier misuse — S without matching R leaves outputs stuck.
  • SFC complexity beyond ~20 steps — refactor into nested SFCs or rethink the equipment-module decomposition.

08How V5 Ultimate handles SFC delegation

SFC Delegation in V5

V5 owns the PFC layer and delegates fast-loop control to the PLC SFC layer via a strict contract: phase command IN (with parameters), phase status OUT (state, IPC values, exception codes). The contract is versioned alongside the recipe — phase parameters change in the recipe without PLC redeploy, because the PLC SFC reads them from the command payload, not from hard-coded values. Recipe versioning captures the contract version; an SFC compatibility check at recipe approval prevents commanding a phase parameter the equipment module's SFC was not validated to accept. Watchdog transitions are mandatory at phase class definition; phases hung without watchdog raise system-level alerts to ops. The OPC-UA / standard MES-PLC bridge carries the command/status traffic; every transition the SFC reports is folded into the eBMR alongside the PFC trace, giving QA a coherent record across both layers without forensic merging of separate PLC and MES logs.

Frequently asked questions

Q.Can SFCs run on something other than a PLC?+

Yes — soft-PLCs, IPCs and even some MES platforms execute SFCs. The role is the same: fast-loop sequential logic. Hardware is implementation detail.

Q.Should I write everything in SFC?+

No. SFC is right for sequential state-driven logic. Continuous control (PID loops, signal conditioning) belongs in FBD; logic-heavy non-sequential code belongs in ST or LD. Choose the language that matches the problem.

Q.How do I version-control SFCs?+

Source-export to a text format (most vendors support XML or proprietary text export) and store in a controlled repository. Diffs at the source level are the only path to reviewable change control.

Q.What is an action qualifier and when do I use which?+

Qualifiers control when an action runs within a step's activation. N (non-stored) runs while step is active; S (set) latches on entry; R (reset) latches off; P (pulse) runs once on entry; D (delayed) runs after delay; L (limited) runs for fixed duration. Use N for most cases, S/R sparingly for outputs that must persist across steps.

Q.How does this relate to ISA-88 phase state model?+

The SFC implements the phase's behaviour; the phase state model tells the SFC which super-state it is in (Running, Holding, Aborting). The SFC's Hold response is the choreography that transitions safely to Held state and waits for Restart or Stop.

Primary sources

  • IEC 61131-3 — Programming Languages for PLCs
  • ANSI/ISA-88.01 — Procedural Control Model
  • PLCopen — IEC 61131-3 Resources
  • GAMP 5 — Risk-Based Approach to Compliant GxP Computerised Systems

Further reading

  • PFC
    The recipe-layer cousin.
  • Equipment Module
    Where SFCs typically live.
  • Control module
    What SFC steps command.
  • Interlock Logic
    Often coexists with SFC steps.
  • Phase state model
    The procedural state machine SFCs implement.
Talk to us about Sequential Function Chart

Want to see how Sequential Function Chart could fit into your own records and workflows? Explore the related V5 pages or talk to our team about what applies to your operation.

Start free
Back to glossary
Related terms
  • → ISA-88
  • → EWI
  • → Genealogy
  • → OEE
  • → API
  • → Excipient
  • → Line Clearance
  • → BOM

Next Step

Try V5 with your own records, or ask a question first. Ask V5 opens with an editable question; nothing is sent until you choose to.

Start your free trial Browse All Features

Showing the site for the United States. Local spelling, dates and prices are applied automatically; change the language at the top of the page.

V5 Ultimate
Ultimate

Warehouse, quality and manufacturing software for regulated operations.

ProductIndustriesPricingResourcesSecurity & TrustCompanyLegal Centre

© S.G. Systems, LLC