Safety interlock

Also known as: interlock switch

On this page 8

A safety interlock is a protective device that monitors the position of a guard, door or gate and stops hazardous machine motion whenever that guard is opened, while preventing a restart until the guard is closed again. In robot safety, the interlock is the link between the physical barrier of a robot cell and the safety-related control system, so that a person can never reach a moving robot through an opening that the system believes is closed.

Practitioners also call the device an interlock switch, although the full interlocking function includes the sensor, the logic that evaluates it and the output that removes power from the drives. In robotics, interlocks are among the most common safety functions in fenced industrial cells, and their design is governed mainly by ISO 14119, ISO 13849 and the robot system standard ISO 10218.

How a safety interlock stops the robot

A safety interlock works by converting guard position into a safety signal that the control system must see before it permits hazardous motion. When the door of a robot cell opens, the switch changes state, the safety controller or safety relay detects the change and it commands a stop of the robot and of any associated equipment such as conveyors or spindles.

The complete function has three parts: an input subsystem (the interlocking device and its actuator), a logic subsystem (a safety relay, safety PLC or the robot’s integrated safety controller) and an output subsystem (safe torque off on the drives, contactors or safety valves). The reliability of the weakest part limits the reliability of the whole function, so a high-grade switch wired to an ordinary relay does not deliver a high-grade interlock.

A correctly designed interlock follows two principles. First, it is fail-safe: a broken wire, a lost supply or a welded contact must lead to a stop, not to continued motion. Second, closing the guard must not restart the robot by itself; a separate, deliberate reset or start command is required, usually from a position outside the cell where the operator can see that nobody remains inside.

Types of interlocking devices

Interlocking devices differ in how they sense the guard and in how hard they are to defeat, which ISO 14119 classifies by actuator type and coding level. The table below compares the families most often found on robot cell doors.

Device typeSensing principleCoding levelTypical use
Tongue switchMechanical actuator enters a slotLow codingHinged and sliding doors with moderate risk
Hinge switchRotation of the door hingeUncodedHinged doors where a separate actuator is impractical
RFID coded switchTransponder read without contactLow, medium or high codingDoors where defeat must be discouraged
Magnetic coded sensorCoded magnet arrayLow codingWashdown areas and misaligned doors
Trapped key systemKey transfer between locksMechanical codingLarge cells and sequenced isolation
Guard locking deviceSolenoid holds the actuatorLow to high codingRobots and spindles that need stopping time
Common interlocking device families

A plain interlock only detects opening, so it suits machines that stop faster than a person can reach the hazard. When the robot, a rotating tool or a press needs more time to come to rest, a guard locking device keeps the door locked until a standstill signal or a timer confirms that the hazard has ended. Guard locking can be power-to-lock or power-to-unlock; the power-to-unlock principle is preferred for personnel protection because a power failure leaves the door locked.

Safety requirements and performance levels

The required integrity of an interlock is set by the risk assessment and expressed as a required performance level (PLr) under ISO 13849-1 or as a safety integrity level under IEC 62061. For guard interlocks on industrial robot cells, ISO 10218-2 commonly leads to PL d with category 3 architecture, meaning that a single fault must not cause the loss of the safety function.

The following table shows how the architecture category influences the interlock design.

CategoryChannel structureFault behaviorTypical interlock design
Category 1Single channel, well-tried partsA single fault can lose the functionOne positive-opening switch
Category 2Single channel with periodic testingFault detected at the next testSwitch tested at each start
Category 3Two channelsSingle fault tolerated, most faults detectedTwo switches or one dual-channel coded switch
Category 4Two channels with high diagnosticsFaults detected before function is lostDual-channel coded switch with self-monitoring
Interlock architectures by category

Two details decide whether a design actually achieves its target. Positive-opening contacts (marked with an arrow in a circle) are forced apart mechanically, so a welded contact cannot keep the circuit closed. In addition, series connection of several switches can mask faults, because opening one door may hide a failure in another; ISO TR 24119 describes how far this fault masking reduces the diagnostic coverage that may be claimed.

Interlocks compared with other robot safeguards

An interlock is one of several protective measures in a robot cell, and each measure answers a different access situation. The comparison below places it next to neighboring safeguards.

SafeguardWhat it detectsStop behaviorBest suited for
Safety interlockOpening of a movable guardProtective stop on guard openingMaintenance and setup doors
Light curtainBody parts crossing a light fieldStop when beams are interruptedFrequent loading openings
Safety laser scannerPresence in a defined areaSlowdown or stop by zoneOpen cells and mobile robots
Emergency stopDeliberate manual commandCategory 0 or 1 stopComplementary action in any situation
Enabling switchHold-to-run grip by the operatorStop when released or squeezedTeaching inside the cell
Safety interlock and related safeguards

Interlocks are preferred for infrequent access, because a physical door is a robust barrier that also contains ejected parts. Where operators enter many times per shift, a light curtain or scanner usually causes fewer production losses and less incentive to bypass the protection. An emergency stop never replaces an interlock: it is a complementary measure, not a primary safeguard.

Design and installation practice

  • Mount switches so that the actuator cannot be reached or replaced easily, and use non-reusable fasteners or concealed mounting.
  • Select coding level according to motivation to defeat; frequent access and production pressure justify high coding.
  • Calculate the minimum safety distance from the guard to the hazard using the robot stopping time and approach speed, as described in ISO 13855.
  • Use personal lockout or trapped keys when people work fully inside a large cell, so that nobody can close the door behind them and restart.
  • Verify the function by validation tests at commissioning and at regular intervals, including simulated faults on each channel.

Robot cells add their own considerations. Many robot controllers offer an auto stop input for guard interlocks that triggers a protective stop only in automatic mode, while manual reduced-speed mode allows teaching inside the cell with an enabling device. The integrator must ensure that switching the operating mode selector cannot by itself defeat the interlock.

Common failures and bypassing

Experience across industries shows that deliberate defeat is the main weakness of interlocks, more often than component failure. Operators bypass a switch when it slows production, which is why ISO 14119 treats foreseeable manipulation as part of the design task.

SymptomLikely causeRemedy
Spare actuator taped in the switchAccess process too slowRedesign the task or use a light curtain
Nuisance stops during productionDoor misalignment or vibrationAdjust guides or use a tolerant coded sensor
Robot restarts on door closingAutomatic reset configuredRequire a manual reset outside the cell
Fault not detected for monthsMasking in a series chainIndividual monitoring or diagnostic switches
Person trapped inside the cellNo personal lockoutAdd trapped keys or an internal release
Typical interlock problems and remedies

The short version

A safety interlock works like the door switch of a microwave oven. As long as the door is shut, the machine may run. The moment the door opens, the machine stops, and it will not start again just because the door closes.

Around an industrial robot, the interlock sits on the door of the protective fence. It makes sure that nobody can walk in while the robot is moving. Its real value lies in being reliable even when something breaks, and in being hard to cheat, because people under time pressure sometimes try to trick the switch.

Where it makes a difference

A welding line in an automotive supplier plant uses two six-axis robots inside a fenced cell with one maintenance door. The risk assessment sets PL d for the door function. The integrator installs an RFID coded switch with guard locking in power-to-unlock design, because the welding robots and the rotating positioner need about 1.2 seconds to stop completely.

When a technician requests entry, the safety controller first commands a protective stop, waits for the standstill confirmation from the robot controllers and only then releases the lock. The technician takes a personal padlock into the cell on the door’s lockout hasp. After the work, the door is closed, the padlock removed and the cycle restarted with a reset button located outside the fence.

During a later audit, maintenance records show no bypass attempts in two years, which the plant attributes to the short unlock sequence of under three seconds that removed any reason to defeat the switch.