Vijay_Wiki
/ Instrumentation and data acquisition / Interlocks and safety logic

PLC Interlocks and Test-Rig Safety Logic: Fail-Safe Design, Trips and SIL/PL

K Vijay Anand · Vijay_Wiki quick-reference article · 24 November 2026
PLCInterlocksFunctional safetyTest rigs

A test rig runs machines at their limits, often unattended for long hours. Its control system must stop the rig safely whenever something goes wrong: lubrication lost, overspeed, overtemperature, guard opened. Good interlock design is mostly about clear logic and fail-safe principles; the reliability mathematics of functional safety confirms that the design is good enough.

Key takeaways

  • Permissives must be true before starting; trips stop the rig while running. Keep them separate and documented in a cause-and-effect matrix.
  • Fail-safe: normally-closed contacts and de-energise-to-trip, so a broken wire or lost power stops the rig.
  • Emergency stops are hard-wired through safety relays or a safety PLC; ordinary PLC logic is not a safety function by itself.
  • Alarms come before trips; use time delays and hysteresis to avoid nuisance trips, and first-out indication to know what tripped first.
  • Reliability: PFDavg ≈ λDU·T/2 for a single channel; redundancy (1oo2) and frequent proof tests reduce it.

1. Permissives, alarms and trips

KindWhen checkedExample
PermissiveBefore startLube pressure > 2 bar, guard closed, coolant flow OK, no active trip
AlarmRunningOil temperature > 85 °C, vibration > alert level
TripRunningOil pressure < 1 bar for 2 s, overspeed > 110 %, vibration > alarm level, E-stop
STOP OK(NC button wired) E-STOP RELAY OK LUBE P OK START (NO) RUN RUN (seal-in)
Figure 1. Start/stop seal-in rung with permissives in series: any open contact drops the RUN coil, and a restart needs a new START command.

2. Fail-safe principles

IEC 60204-1 stop categoryAction
0Immediate removal of power (uncontrolled stop)
1Controlled stop with power, then power removed
2Controlled stop, power left on

3. Cause-and-effect matrix (example rig)

CauseSettingDelayEffect
E-stop pressed—0Cat 0 or 1 stop; drive enable off via safety relay
Guard or hood open—0Trip; inhibit start
Lube oil pressure low< 1.0 bar2 sTrip drive; keep lube pump on for run-down
Lube oil temperature high> 85 °C alarm / > 95 °C trip10 sAlarm, then trip
Overspeed> 105 % alarm / > 110 % trip0Trip
Vibration high> alert / > alarm5 sAlarm, then controlled stop
Cooling water flow low< set flow10 sAlarm, then controlled stop
Phase failure / earth faultRelay0Trip
Sensor fault (< 3.6 mA)—1 sTreat as trip for that function

Use hysteresis (e.g. reset 3–5 % below the alarm level) and short time delays so that noise does not cause nuisance trips, but keep delays short for fast-acting hazards.

4. Functional safety in brief

Single channel (1oo1): PFDavg ≈ λDU · T / 2 Redundant (1oo2): PFDavg ≈ (λDU · T)² / 3 (ignoring common cause) SIL 1: 10⁻² – 10⁻¹ SIL 2: 10⁻³ – 10⁻² SIL 3: 10⁻⁴ – 10⁻³ (low demand)

ISO 13849-1 uses Performance Levels PL a–e based on architecture (category), MTTFd, diagnostic coverage and common-cause failures; IEC 62061 uses SIL for machinery. Example: λDU = 2e-06/h, proof test yearly: 1oo1 PFD ≈ 8.8e-03 (SIL 2 band); 1oo2 ≈ 1.0e-04.

5. Calculators

Average probability of failure on demand

6. Self-test: check your understanding

Pick an answer to see the explanation. Numerical answers are accepted within the stated tolerance (±3 % unless noted).

Score

7. References and further reading

  1. IEC 60204-1, Safety of machinery — Electrical equipment of machines.
  2. ISO 13849-1, Safety-related parts of control systems — General principles for design.
  3. IEC 62061, Safety of machinery — Functional safety of safety-related control systems.
  4. IEC 61508 / IEC 61511, Functional safety.
  5. ISA-18.2 / IEC 62682, Management of alarm systems for the process industries.

Web pages

Disclaimer

This article is for education and quick reference. Formulas are simplified first estimates and examples use typical data. For design, safety and maintenance decisions use manufacturers' data and the applicable standards.

Related Vijay_Wiki articles