Industrial automation
How we test control software before it touches a machine
Every change Serqet makes to PLC or HMI software runs offline first: in simulation, then on a bench controller, which is real controller hardware on a desk rather than inside a machine. It has to pass a fixed set of checks, and a person signs it off, before it is loaded onto a working machine.
Why test offline?
A working machine is the worst place to find a bug. It may be selling, producing or near people, and some faults cannot safely be caused on purpose. Testing offline means problems are found on a desk, not on the shop floor.
What happens before a change is loaded?
- Simulation: the new logic runs against simulated inputs and outputs, step by step.
- Bench controller: the same software runs on real controller hardware on a desk.
- Forced faults: faults that cannot safely be caused on a working machine are caused on the bench, to see how the software copes.
- Stress tests: on one vending project, a 1,000-sale stress test ran with no failures after the fixes.
- Soak runs, where the software is left running for long periods to catch slow faults, and fuzz runs, which feed it random and malformed inputs to find the edge cases.
- Gates: a fixed list of checks that must all pass before anything is loaded onto a machine.
How are problems tracked?
Every issue is logged and tracked to a fix. On one recent project more than 500 issues were logged, most of them caught by our own tests before they could reach a machine.
Who signs it off?
A person reviews and signs off every change. We use AI-assisted engineering and purpose-built tools to work faster and test more, but the sign-off is always human.
What do you get at the end?
- The source project, which you own.
- An address map of every tag and data block.
- A record of what was tested and what passed.
- Notes for whoever changes it next.
Questions people ask
- Can PLC code be tested without the machine?
- Most of it, yes. Logic can run in simulation and on a bench controller with simulated inputs. The last step, commissioning on the machine, then checks wiring and real-world behaviour rather than finding logic bugs.
- What is a bench controller?
- A real PLC of the same type as the machine's, on a desk, running the new software. It shows how the software behaves on real hardware without any risk to the machine.
- What is a soak test?
- Leaving the software running for a long period, often overnight or longer, to catch faults that only appear over time, such as counters overflowing or memory filling up.