V5 Ultimate
Safety · The complete guide

Interlock Logic

TL;DR

Interlock logic is the always-on, independent set of safety and process conditions that gate equipment actions regardless of recipe state. Interlocks decide whether a command is allowed to execute — they do not sequence anything themselves. Treated correctly, interlocks are the layer that keeps the plant safe even when the recipe is wrong; treated incorrectly, they become tangled with recipe logic and lose their independence.

Reviewed · By V5 Ultimate compliance team· 2,200 words · ~10 min read

01What an interlock is

An interlock is a hard condition that must be true (or false) for an action to be allowed. Interlocks are evaluated continuously, independent of recipe sequencing. When the condition is violated, the interlock prevents the action — or, if the action is already in progress and conditions change, the interlock stops it.

  • Hardwired interlock — physical wiring (e.g. door open → motor power killed). Highest integrity, lowest flexibility.
  • Safety-PLC interlock — coded in a separate safety-rated controller (IEC 61511 SIL-rated), independent of the process PLC.
  • Process-PLC interlock — coded in the process controller; provides operational protection but is not a safety function.
  • Software interlock — implemented in MES or SCADA; provides procedural protection, not safety integrity.

The integrity hierarchy is meaningful — process-PLC interlocks cannot substitute for safety-PLC interlocks where SIL ratings are required.

02Interlock vs permissive

Both gate actions, but they differ in semantics and lifecycle:

AspectInterlockPermissive
QuestionIs this action forbidden?Is this action allowed?
EvaluationContinuousPre-action (at command time)
Action if violatedBlock / stopRefuse command
Typical useSafety, equipment protectionOperational sequencing, ready states
Mid-actionCan interruptDoes not interrupt

Practical example: 'reactor jacket cannot heat above 80 °C if pressure > 2 bar' is an interlock (continuous). 'Cannot start charge phase unless previous transfer phase completed' is a permissive (one-shot check at command time).

03Design principles

  • Independence — interlocks live with control modules, not with recipes. Recipe revision must not change interlock behaviour.
  • Fail-safe — on lost signal, valve fail-closed, agitator fail-stopped, jacket fail-cooled. The default is safety, not action.
  • Documented — every interlock has a HAZOP-traceable rationale and is on the equipment's interlock list, reviewed by safety and engineering.
  • Testable — every interlock is exercisable in OQ and periodic re-qualification; bypass and force operations are logged.
  • Overridable only with privilege — interlock bypass requires elevated role, justification, time-limit, and auto-revert.
  • Single source of truth — duplicated interlocks (one in PLC, one in MES, different logic) are a chronic source of incidents.

04Bypass and force

Real plants need occasional interlock bypass — maintenance, commissioning, fault investigation. The discipline:

  • Bypass is named, logged and time-limited.
  • Bypass requires an approved electronic record stating reason, expected duration and risk mitigation.
  • Active bypasses are visible on the operator HMI and on a daily bypass-status report.
  • Bypasses survive only until the next batch start unless explicitly extended with re-approval.
  • All bypasses are reviewed at the periodic GMP equipment review and feed CAPA when patterns appear.

Forces (overriding I/O values rather than the logic that reads them) carry the same discipline plus heightened scrutiny because they hide the physical reality from the control system.

05Cross-industry examples

  • Pharma — reactor cannot pressurise if vent valve closed; tablet press cannot start if dust extractor not running.
  • Biopharma — bioreactor cannot sparge if pH probe failed; chromatography column cannot load if column-integrity test pending.
  • Food — pasteuriser cannot accept product if hold-tube temperature below setpoint; filler cannot dispense if seal-integrity check failed.
  • Chemicals — exothermic reactor cannot charge if jacket cooling unavailable; storage tank cannot fill above LSH high-level switch.
  • Cosmetics — vacuum kettle cannot heat if vacuum seal integrity below threshold; filler cannot run if tube weld-temperature out of band.

06Common mistakes

  • Interlocks coded inside SFC transitions — couples safety to recipe; OQ scope explodes.
  • Same interlock implemented twice with subtly different logic in PLC and MES — divergence inevitable.
  • Bypass workflow informal — operators leave bypass active across shift handover, then production resumes unsafely.
  • Interlock list maintained only on paper — drift from PLC reality.
  • HAZOP rationale not captured — when interlock causes a 'nuisance trip', engineers cannot tell whether to redesign or accept.
  • Software-only interlocks where safety integrity is required — non-compliant with IEC 61511.

07How V5 Ultimate handles interlocks

Frequently asked questions

Q.Where does the interlock live — PLC or MES?+

Safety and process-protection interlocks live in the PLC (process or safety, depending on integrity rating). MES surfaces interlock state for operators and records, but does not own the logic. Procedural interlocks at the recipe layer (permissives) live in MES.

Q.Can an MES enforce an interlock?+

It can enforce procedural rules ('do not allow phase start without confirmation') but cannot enforce safety integrity — the network path from MES to PLC is too uncertain for safety functions. Use the PLC and the safety PLC for anything safety-critical.

Q.How often should interlocks be tested?+

At every OQ, after every interlock change, periodically per the site's PM plan, and after any incident that may have damaged the sensor or actuator chain. Some safety interlocks have IEC 61511-mandated proof-test intervals.

Q.Is a 'two-key' authorisation an interlock?+

Loosely — it is a procedural interlock implemented through electronic signatures or hardware. The principle is the same: the action is gated by a condition that must be satisfied independently of the operator's intent.

Q.How do nuisance trips affect operations?+

Badly. Operators start treating interlocks as obstacles, request bypasses routinely, and eventually accept incidents the interlocks were meant to prevent. Trip analysis and engineering redesign — not training operators to live with noise — is the fix.

Primary sources

Further reading

See Interlock Logic working on a real shop floor

V5 Ultimate ships with the Interlock Logic controls already wired in — audit trail, e-signatures, validation evidence. Free trial, no credit card, onboard in days, not months.