They are two parallel chains with a clear division of labour: the hardwired safety circuit cuts actuator power directly when a hazard appears, while the PLC program handles the normal logic and sequence control. A safety function cannot be left to the program alone, and a PLC cannot take the place of the safety circuit. The sections below explain why the split is made this way, how the two are interfaced and reset, and when a safety controller becomes appropriate.
An ordinary PLC is designed for availability, and its failure modes are not predictable: the program may run away, an output point may short through, a scan may overrun. When a safety function fails, the consequence is personal injury, so what is required is fail-safe behaviour, meaning no single fault may cause the safety function to be lost. Once an ordinary PLC output point has shorted into conduction, no amount of programming can break the power, and cutting power to a hazardous movement must therefore be carried by a separate circuit designed to safety requirements.
Safety signals such as emergency stop buttons, safety gate switches, safety light curtains and two-hand control buttons are wired directly into a safety relay or safety module, which cuts the power circuit of the actuator itself: contactor coils, servo enable, air supply valve. The cut path does not pass through the PLC program or through communication, so the response time is predictable. The circuit itself is designed with redundant contacts, positive-opening contacts and self-checking to reach the required safety level.
The PLC only does what is unrelated to safety or outside the safety function: it monitors the state of the safety circuit (normal, tripped, reset requested), uses that as a permissive condition in the sequence control, outputs alarms and status indications, and logs fault times. The cut performed by the safety circuit does not depend on it, and the safety circuit keeps working even if the PLC stops. This division decouples the safety function from the production logic so that neither drags the other down.
The typical connection is one-directional: the safety circuit passes a "run permitted" contact signal to the PLC as an input, and the PLC decides from that whether to enter the running sequence. The reset button of the safety circuit is operated manually by the person, not driven automatically by the PLC, to avoid an automatic restart while a hazard still exists. After a hazard, the hazard must first be cleared and the area confirmed clear, then the safety circuit is reset by hand, and on the PLC side the start sequence has to be run again.
When the number and logic complexity of safety functions become too great to implement with relays, or where a provable safety level is required, a safety PLC or safety I/O module can be used. It is certified in its own right and offers dual-channel processing, self-checking and safe communication, and it can carry part of the safety logic; the system as a whole must still meet the required performance level or safety integrity level, and using a safety PLC does not remove the need for risk assessment and verification.
| Function | Hardwired safety circuit | Ordinary PLC program | Comment |
|---|---|---|---|
| Emergency stop cutting power | Cuts directly | Does not carry it | E-stop signal goes to the safety circuit |
| Stopping when a safety gate opens | Cuts directly | Monitors state only | Gate lock signal goes to the safety circuit |
| Safety light curtain interrupted | Cuts directly | Receives state only | Curtain wired to the safety module |
| Normal running sequence control | Not involved | Carries it | Implemented by the PLC |
| Position reached and interlocking | Not involved | Carries it | Ordinary logic decisions |
| Reset operation | Manual reset | Restarts the sequence | Reset is never automatic from the program |
| Alarms and indications | Provides status contacts | Outputs display and records | Indication is done on the PLC side |
| Fault logging | Records operating time | Records sequence and alarms | Each keeps its own record |
| On loss of supply | Fails safe | Outputs open | The circuit is designed to fail safe |
| Safety level assessment | Assessed to safety standards | Not part of the assessment | Must meet the performance level required |
A hardwired safety circuit is not a distrust of the PLC; it is a way of handling two kinds of failure separately. In practice both are expressed on one set of drawings: the safety circuit is drawn on its own and the PLC program is designed on its own, with only a few status contacts between them. To judge whether a machine is designed correctly, look at whether the power-cut path passes through the program. If an emergency stop has to wait for the PLC to scan it and then act through an output point, that path does not meet the requirement.
The safety and protective earthing requirements for the electrical equipment of machines follow GB 5226.1 and IEC 60204-1. The design and performance level requirements for safety-related parts of control systems refer to GB/T 16855.1 and the equivalent international standard ISO 13849-1. General functional safety requirements are given in GB/T 20438 and the IEC 61508 series, and the equipment requirements for programmable controllers refer to GB/T 15969.2. The specific safety level and architecture are governed by the risk assessment result and the certification data of the safety components chosen.
Changes to a safety circuit must be made by personnel with the appropriate qualification and to the risk assessment conclusions, switching off, proving dead and applying lock-out/tag-out before work. After modification the cut time and safety level must be verified, and safety functions must never be bypassed or muted for production convenience.