After a decade of wear, relay-based coordination panels become chronic fault sources, and centralized PLC control is the common way out. This page lays the full retrofit path: boundary division, I/O tables, program structure, safety retention and acceptance method.
Cut the boundary first: what stays hardwired, what moves into the PLC. The iron rule is that everything safety-related stays hardwired: the e-stop circuit, guard interlocks and the direct thermal-trip path from relay contact to contactor coil never pass through the PLC, so safety survives a PLC failure. Process timing, interlock logic, status display and data recording move in, since those are exactly where relay panels age. Mixed points: a PLC output may issue an interlock permission, but the contactor drive keeps its hardwired latch structure, the PLC grants permission rather than being the only path. Fix the boundary in a written retrofit plan naming every wire, because changing the boundary mid-project kills the schedule.
I/O tables list every input (buttons, selector, thermal states, guards, contactor feedback) and output (coils, lamps, sounders) with number, function, NO or NC, and branch, plus fifteen to twenty percent spare points. Structure the program by function: one subroutine per machine start-stop logic, one interlock-chain module, one alarm-and-record module, the main program only dispatching. Modular structure means a single-machine fault never requires reading the whole program. Wire every interlock in the program as normally-closed logic so a broken wire reads as no-permission, the fail-safe side; this is where relay-to-PLC conversion trips most people, because a drawn NC contact inverts in PLC logic, so verify point by point.
Safety retention in three pieces: the e-stop hardwired directly into the contactor coil circuits; thermal NC contacts hardwired to the coils and paralleled into the PLC as status only; zero-voltage protection kept by the hardwired latch so nothing self-starts on restoration. Accept in four steps: static, trace every I/O point dead; no-load logic, prove timing and interlocks against the truth table cell by cell; loaded, run a full shift logging current and temperature; fault, pull an input wire and confirm the system fails to the safe side, stopping or refusing to start, never running loose. Archive acceptance records with the new drawings, program backup and I/O table, the starting point of the next retrofit.
| Stage | Key content | Common slip | Verification |
|---|---|---|---|
| Boundary division | Safety stays hardwired | Boundary changed mid-project | Written plan signed |
| I/O table | Every point listed | Too few spares | Add 15% and recount |
| NC logic | Broken wire means safe side | Inversion misread | Pull-wire test |
| Modular program | Per machine, per function | One tangled program | Fault isolation by module |
| No-load logic acceptance | Against the truth table | Fault states skipped | Cell-by-cell check |
| Fault acceptance | Simulate broken wires | Only normal states tested | System fails to safe side |
Advance the retrofit project down this table, stage by stage with its slips and proofs. Success means: every safety function intact, every process behavior identical, maintenance clearly easier; missing any one of the three, the retrofit is not done.
The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: PLC device requirements refer to GB/T 15969.2; electrical safety and safety-related control follow GB/T 5226.1 and GB/T 16855.1. Always check the device datasheet and the product design file for ratings and derating.
Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.