Retrofitting a relay interlock circuit into a PLC interlock program is common in equipment upgrades. This article compares hardware and software interlocks and explains address assignment, programming and why hardware interlock must remain.
Relay interlock uses hard-wired NC contacts: reliable and visually clear. PLC interlock uses a normally closed instruction in the program: flexible but depends on the PLC running. In retrofitting, write the opponent interlock condition as a NC contact in the program, for example the forward output must be in series with the reverse run bit NC, matching the hardware logic, but note the small delay from scan cycle.
First list the original interlock relations, assign output addresses to forward and reverse contactors and input addresses to buttons and feedback. Implement the same logic with self-latch and interlock instructions, and simulate before download. Keep the contactor mechanical interlock and button interlock intact. After retrofit, do no-load interlock test, confirm both interlocks work, then loaded run and record the program version.
| Aspect | Relay | PLC |
|---|---|---|
| Realization | Hard wire | Program |
| Reliability | Clear | Depends run |
| Flexibility | Rewire | Online edit |
| Delay | Almost none | Scan cycle |
| Defense | Mechanical | Must keep |
PLC interlock is flexible but runtime-dependent and must never replace hardware interlock. Keep the contactor mechanical interlock and necessary hard-wired interlock as the last line, back up the program, label I/O points, and ensure fast recovery on fault.
The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Programmable controllers per GB/T 15969 series, machinery safety per GB/T 16855.1, referencing IEC 61131 and IEC 60204-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.