Skip to content
Back to work

Internal demonstrationPLC and DCS Engineering

Production cell sequence & fault-recovery demonstrator

A browser-based demonstration of how we structure cell control: a state machine with permissives, live I/O, SCADA alarming and a guided recovery from a conveyor jam.

Demonstration · interactive

Automated production cell · illustrativeSTATE: IDLE
MES / ERPSCADA / HMIPLC / CONTROLLERFIELD DEVICESMES · order 4471good 1,832 · reject 14CV-101NO ALARMSCPUDI 16DO 16AI 8COMMM-101PX-104YV-120PE-102GS-101TT-130
Illustrative browser simulation. Safety functions such as emergency stop and guard interlocking are implemented in safety-rated systems; standard PLC logic only monitors their status and never overrides them.

PLC logic & machine sequencing

The cell runs a state machine. A transition only happens when its permissives are true, so the machine behaves the same way every cycle — and stops predictably when it should.

  1. IDLE→
  2. READY→
  3. STARTING→
  4. RUNNING→
  5. STOPPING→
  6. COMPLETE

Permissives for READY → STARTING

  • GS-101Guard closed (status from safety relay)✓
  • PT-110Air pressure ≥ 5.5 bar✓
  • UP-RDYUpstream station ready✓
  • ES-OKE-stop circuit healthy (monitored only)✓
CASE State OF
  READY:
    IF Permissives_OK AND Start_Cmd THEN
      State := STARTING;
    END_IF;
  RUNNING:
    IF PE102_Blocked_3s THEN
      State := HELD;  Alarm_CV101_Jam := TRUE;
    ELSIF Batch_Done THEN
      State := STOPPING;
    END_IF;
END_CASE;

Industrial problem

Machine sequences that are hard to read make faults slow to diagnose and changes risky.

Engineering scope

Illustrative cell: conveyor, clamp, oven and guard; IDLE→COMPLETE state machine with HELD on fault. Browser simulation only.

Engineering challenge

Make sequence, signals, alarms and recovery understandable as one system, while keeping safety functions clearly separate from standard control.

What was built

The Control Engineering Explorer on this website, used to discuss control-structure standards with clients.

How it works

  1. 1States change only when permissives are true
  2. 2A blocked photo-eye for >3 s holds the sequence
  3. 3SCADA raises a prioritised alarm with context
  4. 4Recovery returns through READY with permissives re-checked

Deliverables

  • State-machine structure (Structured Text pattern)
  • Permissive and interlock list
  • I/O list with tags and addresses
  • Fault diagnostic and recovery workflow

Technical components

  • IEC 61131-3 ST
  • State machines
  • ISA-18.2 alarm principles