← Notes

Commissioning tests that survive handover

Testable requirements, negative tests, stopping version drift during SAT, and handing over evidence another engineer can actually use.

Commissioning is sometimes described as the week you power up a machine and discover all the remaining bugs at full speed. That makes a good story over dinner afterwards. On the shop floor, it usually means a stressed team making undocumented hotfixes at 21:00 while everyone argues over whether the machine actually passed.

A decent test strategy does not eliminate surprises during startup. What it does is make every surprise observable, traceable to a requirement, and cleanly closed before the plant inherits the equipment.

Write requirements you can actually fail

Vague requirements produce endless debates during Factory Acceptance Testing. “The machine shall stop safely on an error” sounds reassuring until two engineers disagree on which outputs de-energise, what appears on the HMI, and whether an operator can restart without homing an axis.

Before drafting test scripts, turn every important requirement into four concrete pieces: initial state, input or stimulus, expected response, and the evidence that proves it happened. For example: “With Line 2 in Automatic mode and Filler01 running, opening Guard Door 3 drops the safety relay outputs within the rated stopping time, logs alarm ALM_GUARD_03 with timestamp, and blocks restart until the door is closed and the reset pushbutton is pressed.” Nobody has to argue about whether that passed or failed.

Keep the test layers honest

Each stage of testing answers a different question, and skipping an earlier layer just pushes cheaper problems into a much more expensive week on site:

StageWhat it provesTypical evidence
Software / bench checkLogic blocks, I/O map, data types and interlocks behave as codedI/O checkout sheet, version tag, unit test logs
FATThe complete control system meets functional specs before shippingSigned protocol, simulated fault traces, deviation list
SATInstalled wiring, utilities, networks, sensors and actuators work in placeLoop checks, motor rotation, safety checks, live alarms
SIT (Integration)Data crosses boundaries cleanly to SCADA, historian and MESEvent IDs, UTC timestamps, outage recovery, reconciliation

Standards like IEC 62381 give a solid structure for FAT, SAT and SIT in process automation, but never paste a generic checklist straight into a project. Spend half a day trimming what does not apply and adding the failure modes that actually hurt your specific line.

Test the failure path, not just the demo path

Demonstrating normal production is the easy afternoon (assuming the machine decides to behave the moment the customer walks through the workshop door, which is never guaranteed). What tells you whether a line is ready for shift work are the negative tests: pulling an Ethernet cable between PLC and SCADA, feeding an out-of-range recipe parameter, attempting a protected action with an operator login, killing power mid-sequence, or pausing the destination SQL database for ten minutes.

Decide beforehand which fault tests are safe to run on real hardware and which belong in simulation. Never pull a live cable on an energised machine just because a Word document says “disconnect network.” Define the precondition, run the test in a controlled state, and record exactly how the equipment returns to normal operation.

Treat deviations and mid-test edits seriously

When a test fails, write down what you expected, what actually happened, who owns the fix and which tests have to be re-run after the fix. “It worked on the second try” is a clue, not a closure.

The quietest trap during SAT is version drift. You sign off twenty tests on Tuesday, tweak a PLC function block on Wednesday to cure a timing glitch, and ship the folder on Friday—meaning Tuesday’s signed results now describe software that is no longer inside the CPU. Freeze a clean software revision before formal runs, record the exact project hash or version on the test header, and run a targeted regression check whenever anything changes.

Evidence should be reproducible, not decorative

A folder of eighty screenshots named IMG_4812.png is a souvenir collection, not test evidence. Good evidence records the date, tester, equipment ID, software revision, preconditions and the actual measured value or log extract—enough that another engineer can repeat the test six months later and get the same answer.

Handover is part of commissioning

A project is not finished when the last checkbox turns green. It is finished when the plant team holding the on-call phone has updated electrical and network drawings, source PLC and HMI projects, verified offline backups, clear restore steps, an alarm list with sensible recovery actions, and an honest register of any open items.

Walk through one failure and one restore with the people who will inherit the machine. Ten minutes of walking through how to recover a stalled batch or reload an HMI backup before you leave site prevents months of friction afterwards.