Procedure Function Chart
A procedure function chart (PFC) is the ISA-88 graphical notation that lays out a recipe's procedural hierarchy — Procedure → Unit Procedure → Operation → Phase — as a flow of synchronised, decision-branched and parallel paths. It is what makes a batch recipe legible to operators, engineers and auditors: instead of a wall of code, the PFC shows the actual choreography of charges, holds, transfers and clean-up, with the conditions that move execution from one step to the next.
01What a procedure function chart is
ISA-88.01 §5.5 defines the procedural control model in four levels: Procedure (the top-level intent — "make Product X"), Unit Procedure (work on one unit — "prepare reactor"), Operation (a complete processing activity within a unit — "granulation"), and Phase (the smallest procedurally-controlled action — "charge water").
The PFC is the graphical representation of that hierarchy: rectangles for steps, diamonds for decisions, parallel bars for synchronisation, transitions with named conditions. It is to a recipe what a P&ID is to a process: the canonical readable map.
- Top-down hierarchy — a Procedure box expands into a chain of Unit Procedure boxes, each of which expands into Operations, each into Phases.
- Transitions — named, boolean conditions on the arrows between steps (e.g. "temperature ≥ 65 °C AND hold-timer ≥ 30 min").
- Parallel divergence — synchronised parallel branches (e.g. CIP one reactor while charging another), joined again at a parallel convergence bar.
- Selective branching — one path of several taken based on conditions (e.g. potency-based dispense alternatives).
- Loops — repeat constructs for iterative additions (e.g. "charge ingredient until pH within range").
02Why PFCs matter
A recipe expressed purely as code is unreviewable by operators and unauditable by QA. The PFC is the artefact that bridges domains:
- Operators see the path the batch will take and where they will be prompted.
- Process engineers see the synchronisation points where bottleneck delays occur.
- QA sees the decision logic and can challenge each transition condition.
- Auditors see how the master recipe encodes the master production record (21 CFR 211.186).
- Validation can map IPCs and CPPs to specific PFC steps, making PPQ scope unambiguous.
03PFC vs SFC
PFCs sit at the recipe layer (MES, batch manager). SFCs (sequential function charts, IEC 61131-3) sit at the PLC layer. They look similar — both have steps, transitions and parallel branches — but their roles differ:
| Aspect | PFC | SFC |
|---|---|---|
| Standard | ISA-88 / IEC 61512 | IEC 61131-3 |
| Layer | Recipe / MES | PLC / equipment-module logic |
| Granularity | Operations and phases | Phase-internal steps |
| Owner | Process / formulation | Controls engineering |
| Lifetime | Recipe-versioned | Equipment-versioned |
| Reviewers | QA, ops, validation | Controls, automation QA |
Both can coexist: a PFC phase "Heat to 65 °C" delegates to an SFC inside the reactor's equipment-module logic that ramps the jacket, monitors the loop and signals completion.
04Construction rules
- One entry and one exit per construct — no spaghetti control flow.
- Every transition has a boolean condition, named so it can be referenced in deviations.
- Parallel divergence requires explicit parallel convergence — no implicit joins.
- Selective branches must be mutually exclusive at the divergence point.
- Loops have a bounded exit condition — infinite loops fail QA review.
- Steps reference phase classes from the phase class library, not inline logic.
- Synchronisation across units uses named events, not direct cross-PLC writes.
05Deviations and PFCs
When a batch deviates — operator override, equipment hold, IPC out of trend — the deviation is anchored to a specific PFC step or transition. This anchoring is what makes post-batch review tractable:
- The eBR captures "deviation occurred at Operation 3.2, Step 'Hold for crystallisation'".
- Reviewer can navigate from the deviation entry directly to the PFC node, see the planned path and the actual path.
- Trend analysis groups deviations by PFC node — recurring failures cluster on specific steps, focusing CAPA effort.
- Recipe revision impact assessment is scoped — "this PFC node changed" identifies the precise validation surface.
06Cross-industry examples
- OSD pharma — Procedure "Manufacture Tablet X" → Unit Procedures (Dispense → Granulate → Dry → Mill → Blend → Compress → Coat → Pack), each with operations and phases per ISA-88.
- Biopharma — Procedure "Produce Bulk Drug Substance Lot" with parallel branches for inoculum train, production bioreactor and buffer preparation, synchronised at harvest.
- Food — Procedure "Brew Lager Lot" with selective branches by season (winter recipe vs summer recipe) and loops for fermentation duration based on gravity readings.
- Cosmetics — Procedure "Emulsion Cream" with parallel oil-phase and water-phase preparation, synchronised at emulsification.
- Chemicals — Procedure "Polymerisation Campaign" with iterative monomer addition loops driven by molecular-weight IPCs.
07Common mistakes
- PFCs maintained as Visio diagrams disconnected from the running recipe — divergence guaranteed within months.
- Transition conditions in free text rather than executable expressions — ambiguity at runtime.
- Parallel branches without explicit convergence — race conditions hidden in code.
- Phase steps written inline rather than referencing the phase class library — recipe duplication and validation explosion.
- PFC node naming non-unique — deviations cannot be anchored unambiguously.
- No version diff visualisation — recipe revision review is blind.
- PFC printed only for paper batch records — operators do not see it on the kiosk, defeating its purpose.
08How V5 Ultimate handles PFCs
Frequently asked questions
Q.Do I need a PFC if I already have SOPs?+
SOPs describe what a human should do; the PFC describes what the recipe and the system will do. They are complementary. The PFC is the executable, audited record; SOPs cover human procedures around it (gowning, sampling, exception handling).
Q.Can a PFC live entirely in the PLC?+
Technically yes, but you lose the recipe-versioning, multi-site portability and audit-trail properties that ISA-88 gives at the MES layer. Best practice is PFC in the batch manager, SFC delegations in the PLC for fast-loop control.
Q.How big should a Procedure be?+
Constrained by readability. If a Procedure's PFC does not fit on a single landscape page at reasonable zoom, decompose further into more Unit Procedures. Reviewers cannot reason about diagrams that require scrolling.
Q.What happens when a transition condition is never satisfied?+
The PFC step holds. The batch manager raises an exception (timeout) after a configured wait. The exception handler is itself a PFC construct — exception paths are first-class, not afterthoughts.
Q.How does the PFC relate to the BMR?+
Every executed PFC node generates a corresponding BMR section. Step start/end timestamps, performed-by signatures, IPC values, deviations and transition outcomes are captured per-node. The BMR is, in effect, the executed trace of the PFC.
Primary sources
Further reading
V5 Ultimate ships with the Procedure Function Chart controls already wired in — audit trail, e-signatures, validation evidence. Free trial, no credit card, onboard in days, not months.
