In short. A PLC suits plants where several generators, breakers and loads must be coordinated: starting and stopping sets, transfers, load shedding and restoration. Good power-system PLC design keeps protection and last-line interlocks hard-wired, separates fast and slow tasks, writes every sequence as a clear state machine with timeouts, and proves every failure mode, including a PLC restart in mid-sequence, before the plant depends on it.
Who this page is for: For control engineers, panel builders and plant engineers specifying or reviewing PLC control for generator plants and switchboards.
Key facts
- Protection relays trip without the PLC; the PLC is never the only trip path.
- Hard-wire breaker commands, permissives and last-line interlocks; network the measurements.
- Feed the PLC from two independent supplies with battery backup.
- Every sequence step needs an entry condition, an action, a timeout and a safe fallback.
- After a restart the PLC must read the real breaker positions before doing anything.
- Count I/O from the cause-and-effect list and add about 20% spare.
What the PLC does, and what it must not
| PLC tasks | Not PLC tasks |
|---|---|
| Read breaker status, source health, kW, kVAr and alarms | Fault protection, which needs relay speed and independence |
| Run start, synchronise, transfer, shed and restore sequences | The last interlock stopping two sources closing onto a dead bus |
| Send set points to generator and breaker controllers | Emergency stop circuits |
| Report to SCADA or BMS | Holding the only copy of settings or logic |
Architecture choices
| Item | Consideration |
|---|---|
| Scan time | Tens of milliseconds is typical; fast load shedding may need dedicated hardware |
| I/O | Hard-wired for commands and permissives; networked for measurements |
| Power supply | Dual supplies from independent battery-backed DC |
| Redundancy | Single, hot standby or distributed |
| Communications | Industrial protocols, segmented networks, controlled access |
| Environment | Heat, dust, vibration and interference in switch rooms |
Worked example: sizing a three-generator plant PLC (illustrative)
Three generators and five breakers (three generator breakers, a mains incomer and a tie) are coordinated by one PLC; measurements come over the network from the generator controllers.
| Signals | Per item | Count | With 20% spare |
|---|---|---|---|
| Digital inputs: generators (running, fault, auto, ready) | 4 × 3 | 12 | 27 → about 33 |
| Digital inputs: breakers (open, closed, tripped) | 3 × 5 | 15 | |
| Digital outputs: generators (start, stop) | 2 × 3 | 6 | 16 → about 20 |
| Digital outputs: breakers (close, open) | 2 × 5 | 10 |
Timing check for load shedding: a PLC scan of 20 to 50 ms, an output relay of about 10 ms and a breaker opening time of 50 to 80 ms give roughly 100 to 150 ms from the set-trip signal to shed. That is fast enough to shed load before frequency collapses when a set trips, but only if the shed outputs are hard-wired, not sent through a slow network.
Never let the PLC be the only thing preventing an out-of-phase or dead-bus double close. Keep a hard-wired or mechanical interlock behind it, so a software fault or a forced bit cannot close two sources together.
Program structure
- Separate I/O mapping from logic.
- One function block per device type: generator, breaker, source, feeder.
- Sequences as state machines with entry conditions, actions, timeouts and exits. See state machines.
- A timeout on every step, with an alarm and a safe fallback.
- Watchdog and heartbeat between controllers.
- Clear alarm names, version control and a change log.
Testing
- Simulate the full logic before site.
- Test normal sequences, then failures: lost input, wrong feedback, communication loss, CPU stop, watchdog trip.
- Power-cycle the PLC in mid-sequence and confirm it restarts in a defined state without operating any breaker unexpectedly.
- Test operator errors, such as wrong mode selection.
- Record results for factory and site acceptance. See FAT and SAT.
Cause-and-effect worksheet
The cause-and-effect list for the same spinning mill: four 625 kVA sets on two buses, not the three-set single-bus plant whose input and output count is worked through in the example above. This is the list that produces that count, and the fourth column is the reason the list exists on a PLC page rather than a software one — it records, line by line, what still happens if the PLC is not there.
| Cause (input or condition) | Effect (action) | Delay | Hard-wired backup? | Tested |
|---|---|---|---|---|
| Bus A undervoltage: all three phases below 62 V (15% of 415 V) | Open Q1; start G1 to G4; arm dead-bus priority on Bus A | 500 ms on the dead decision | Yes — undervoltage release on Q1 opens it without the PLC | FAT 12, SAT 07 |
| Underfrequency on a live bus below 48.5 Hz | Shed stage 1 (ring frame line 2, 420 kW) | 60 ms, reduced from 100 ms after SAT 11 | Yes — underfrequency relay wired direct to the line 2 contactor | FAT 18, SAT 11 |
| A set breaker opens while the mill is on island | Recompute available capacity and shed the next stage | None of its own; the 60 ms underfrequency path acts first | Yes — the same relay path, which does not need to know why capacity fell | SAT 12 |
| Generator protection operates on any set (latched) | Open that set breaker, block its restart, alarm, recompute capacity | None. Instantaneous | Yes — trip relay direct to the breaker trip coil | FAT 09, SAT 04 |
| Bus protection operates on Bus A (latched) | Block every dead-bus close to Bus A and block Q5 | None | Yes — interlock contact in series in each Bus A closing circuit | FAT 21, SAT 14 |
| VT fuse or MCB failure on either bus VT | Block dead-bus closing on that bus, inhibit its sync check, alarm | None | Yes — VT supervision contact in the closing circuit | FAT 23, SAT 15 |
| Day tank fuel low-low, 2 out of 2 sensors | Alarm only. No automatic stop of any set | 30 s, to ride through fuel movement in the tank | No — alarm only, by design | FAT 31 |
Six of the seven lines have a hard-wired path, and the one that does not says so in bold with its reason. That ratio is the test of whether a control philosophy has actually been applied or merely written down: the PLC on this plant coordinates, counts and reports, and every action that has to happen whether or not it is running has a second route that does not pass through it.
The underfrequency relay in row two is the clearest case. It is wired straight to the line 2 contactor, so a shed happens even if the processor has stopped, and the PLC’s own version of the same shed exists to do the arithmetic for the later stages rather than to be the only thing that can act.
The timing in row two is worth following all the way through, because it is the figure the whole scheme turns on and it changed during commissioning. As designed the path was a 100 ms relay delay, a 25 ms worst-case scan, about 10 ms for the output relay and a 60 ms contactor — 195 ms from the frequency crossing 48.5 Hz to the ring frames actually coming off.
Losing one of four sets leaves the other three carrying 1580 kW against their 1500 kW, which is 105%, and 195 ms of that proved to be more than the frequency could stand. The relay delay came down to 60 ms, which brings the path to 155 ms, and the retest held. The number on the sheet is the as-built 60 ms, with the change and the test that forced it recorded beside it.
Row seven is on the sheet to be argued with, which is the right reason to put a line on a cause-and-effect list. Low fuel is not an automatic stop here, because stopping a healthy set during an island is a worse outcome than running a supervised one low, and the 30-second delay with two sensors in agreement exists only to keep fuel movement in the tank from raising it. Writing “No — alarm only, by design” is what stops a later reviewer adding the trip that looks like an oversight.
Lastly, the right-hand column is what makes this document an engineering record rather than an intention. Every line names the factory test and the site test that proved it, and the two failures in that set — SAT 11 and SAT 14 — are the reason two of these rows read the way they do.
What the outputs do when the PLC stops
A PLC can stop on a hardware fault, a program error, a power loss or a deliberate stop for maintenance. Each output must have a chosen behaviour for that moment, decided in the design rather than left to the default.
| Output | Usual choice on PLC stop | Why |
|---|---|---|
| Generator start command | Hold the running set running, by its own controller | A PLC fault must not stop the sets carrying the plant |
| Breaker close and open pulses | De-energise; no command | Breakers stay as they are; protection still trips them |
| Shed contactors | Hold their state | Avoid restoring or shedding load by accident |
| Permissive to close | De-energise, blocking closing | Fail safe; closing waits for a healthy controller |
| Watchdog to the generator controllers | Drops, telling them to fall back to local automatic | Each set continues on its own logic |
Test each choice by stopping the PLC with the plant on load, and record what every output did.
Dividing the program into tasks
| Task | Typical cycle | Contents |
|---|---|---|
| Fast | About 10 ms | Set-trip detection and fast shedding commands |
| Normal | About 50 ms | Sequences, transfers, synchronising coordination |
| Slow | About 1 s | Dispatch, reserve calculation, reporting, communications |
Separating the tasks keeps the time-critical logic short and predictable, so a slow communication routine can never delay a shed command. Measure the actual task times at commissioning with the full program loaded, not only the figure on the data sheet.
Version control and backups
Keep the PLC program, the HMI project and the configuration of every networked device in a version-controlled store, with each change recorded with its reason, author, date and test result. Record which version is running in each controller, and compare the running program with the stored version at every service visit. A backup on a laptop that left with a contractor is not a backup.
Testing before the plant is available
Most of the logic can be tested in the factory against a simulation: breakers that open and close with realistic delays, generators that start, fail to start and trip, and loads that change. Every sequence, timeout and failure case on the state diagrams should pass there first, so that site commissioning proves the wiring, the timing and the real equipment rather than discovering logic errors with the plant at risk.
Spares and the controller’s life
Keep spare processor, power supply, communication and input and output modules on site, loaded or loadable with the current firmware, and check each maker’s support status every year. Controllers commonly outlive their maker’s support, and a failed module that can no longer be bought turns a one-hour repair into a long outage. Plan migration while the old controller still works.
Common mistakes
- Using the PLC as the trip path.
- Tangled latches instead of state machines.
- No defined behaviour after a restart.
- One power supply for the PLC.
- Untracked program changes.
What to send us
Send the single-line diagram, the functions you want automated and any existing cause-and-effect list. WhatsApp 98852 01608 or use the enquiry form.
Evidence note. Signal counts and timings are illustrative; they depend on the equipment and design.
Questions engineers ask
What should PLC outputs do if the PLC stops?
Each output needs a chosen behaviour. Running sets should keep running under their own controllers, breaker command pulses should drop so breakers stay as they are, shed contactors should hold their state, close permissives should drop to block closing, and a watchdog should tell the generator controllers to fall back to local automatic. Test it on load.
How should a power plant PLC program be divided into tasks?
Typically a fast task of about 10 ms for set-trip detection and fast shedding, a normal task of about 50 ms for sequences, transfers and synchronising coordination, and a slow task of about 1 s for dispatch, reserve calculation, reporting and communications. Separating them keeps time-critical logic short and measurable.
Which PLC brand is best?
The one your team, or your service partner, can support for the life of the plant, with proven function libraries for power applications, spares available locally and a long support horizon from its maker. A technically better controller that nobody on site can maintain is the wrong choice for a power plant.
Can a PLC synchronise generators?
It can coordinate synchronising, but dedicated synchronisers in the generator controllers, backed by independent check-synchronising relays, are the usual choice because they are built and tested for the timing involved. The PLC decides which set to synchronise and when, and monitors the result and the time taken.
How many I/O points?
Count them from the cause-and-effect list, signal by signal, then add about 20% spare for changes and growth. A three-set plant with five breakers needs roughly 30 digital inputs and 20 digital outputs before networked measurements. Keep breaker commands and permissives hard-wired rather than networked, and leave spare terminals and cabinet space for the modules that later growth will need.
How are PLC programs protected?
With access control on the engineering software and the controller, a version-controlled store of programs with every change recorded and tested, comparison of the running program with the stored version at each visit, offline backups, and remote access only through a controlled, logged gateway enabled for a stated task and time.
This guide gives general principles. Design to the manufacturer’s rules and applicable standards.
Technical content reviewed by D. Srinivas Reddy, Managing Partner and Service Engineer, Reddy Generators. Last updated 8 November 2026.