Safety PLC programming and safety circuits for robot cells
We design the safety circuits and write the safety logic for the cells we build, starting from a risk assessment and finishing with every E-stop, door and light curtain tripped on purpose before the cell ships.
- Safety PLCs
- Allen-Bradley GuardLogix, Siemens fail-safe CPUs
- Simpler cells
- Safety relays
- Starts from
- A risk assessment of the tasks at the cell
- Design references
- ISO 13849-1, ISO 10218-2, NFPA 79
- Safety PLCs
- Allen-Bradley GuardLogix, Siemens fail-safe CPUs
- Simpler cells
- Safety relays
- Starts from
- A risk assessment of the tasks at the cell
- Design references
- ISO 13849-1, ISO 10218-2, NFPA 79
A robot cell’s safety circuit decides what happens when a person reaches into it. Safety PLC programming is the part of that circuit written as logic: a certified safety controller reads the E-stops, door switches, light curtains and scanners and takes power away from the robot and everything else that moves. We design these circuits and write the safety logic for the cells we build in our Fontana, CA shop. Simpler cells get safety relays instead, and the choice comes out of the risk assessment.
In short
This page covers the safety logic. The fences, doors and panels themselves are on robot cell guarding, and the standards are explained in our robot safety standards guide. None of it replaces your own safety professional’s review.
Safety relays, a safety PLC, or the robot’s own safety functions?
Safety logic can live in three places, and most cells use more than one.
| Where it runs | Fits | Watch for |
|---|---|---|
| Safety relays | One E-stop chain and a door or two | Wiring grows with every zone, and a change means rewiring |
| Safety PLC (GuardLogix, Siemens fail-safe CPU) | Several zones, muting, mode-dependent functions, many devices | Needs a validation record, and changes need validating again |
| FANUC Dual Check Safety on the robot controller | Limiting where the robot can go and how fast it moves | Configured on the robot, then tied to the safety PLC or relays |
Rockwell says its GuardLogix 5580 and Compact GuardLogix 5380 controllers scale from SIL 2/PLd up to SIL 3/PLe. On the robot side, FANUC describes DCS Position and Speed Check as monitoring robot position and speed with redundant safety processors and removing motor power when a limit is exceeded. Our FANUC DCS guide goes into the robot side.
What a robot cell safety circuit has to handle
The devices change from cell to cell, but these safety functions turn up in most of them.
| Safety function | Device | What the logic does |
|---|---|---|
| Emergency stop | E-stop buttons at the panel, the load station and the teach pendant | Stops the robot and every powered axis. NFPA 79 requires an emergency stop to be stop category 0 or 1. |
| Guard door interlock | Interlocked door switch, often with a lock | Stops motion when the door opens. Closing the door alone never restarts the cell; a reset from outside the guarding does. |
| Presence sensing | Light curtain or safety laser scanner at a load station or open side | Stops or slows the hazard when a person enters the detection zone, placed at a calculated distance |
| Muting | Muting sensors beside a light curtain | Lets a pallet or cart pass the curtain without a stop, while a person walking through still trips it |
| Teach mode | Teach pendant enabling switch and the mode selector | Lets a person stand inside the cell to teach, at reduced speed, with the enabling switch held |
| Robot zones and speeds | FANUC DCS on the robot controller | Keeps the robot out of set zones or under a set speed, and removes power if it isn’t |
GuardLogix has dedicated safety instructions for several of these, including a light curtain instruction that handles the two channels, the reset and optional muting, and a two-sensor muting instruction. Where a light curtain or scanner goes is a calculation based on how fast a person approaches and how long the cell takes to stop, so the robot’s stopping time is a design input.
How a risk assessment drives the design
The safety design starts with the tasks people do at the cell, not with a catalog. ISO 12100:2010 sets out the general method for machinery: identify the hazards, estimate and evaluate the risk, then reduce it. For robot cells, A3 publishes a task-based method in RIA TR R15.306-2016, which works through every task from loading parts and clearing jams to teaching and maintenance. Our robot risk assessment guide walks through it.
The assessment then sets how reliable each safety function has to be. ISO 13849-1:2023 grades that as a performance level from PL a to PL e; IEC 62061:2021 uses safety integrity levels instead. For robot cells in the US, ANSI/A3 R15.06-2025 adopts ISO 10218-1 and ISO 10218-2 in their 2025 editions. OSHA has no standard written specifically for robots and points to these consensus standards. We do a risk assessment for the safety functions we design, and your own safety professional should review it.
What happened to “safety-rated monitored stop”?
Under the 2011 editions of ISO 10218, a safety-rated monitored stop meant the robot stops and is then monitored at standstill, with power on, while a person is inside its space. A3 says the 2025 editions renamed it “monitored standstill”, and that the term is now used for more than collaborative applications. In a guarded industrial cell, the idea comes up at load stations where someone steps in while the robot holds still. That takes safety-rated monitoring of the standstill, not just a hold, and a risk assessment that supports letting a person in.
GuardLogix programming: keeping the safety side apart
In a GuardLogix, the safety program runs in its own safety task beside the standard tasks in one Studio 5000 project. The standard logic can read safety tags for the operator screen and for diagnostics, but only the safety task writes them. Once the safety program is validated, a safety signature identifies that exact version. Logix Designer blocks changes to safety routines and tags while the controller is safety-locked or a signature exists, so nobody edits validated safety code by accident.
Siemens works along similar lines: a fail-safe CPU carries the safety program alongside the standard program in the same TIA Portal project, and PROFIsafe carries safety signals over PROFINET.
The robot can join the safety network too. FANUC offers EtherNet/IP Safety, built on CIP Safety, for exchanging safety signals with an external safety controller, and a PROFINET option in which a DCS robot acts as a PROFIsafe F-Device. FANUC lists its DCS Safe I/O Connect as certified to Category 4, PL e, SIL 3. The other route is hardwired dual-channel signals into the robot controller’s safety inputs.
Validation: proving each function works
ISO 13849-2:2012 covers validating safety functions by analysis and by testing. In practice, a running cycle proves nothing about the safety circuit, because a jumpered door switch still lets the cell run. Every function has to be tripped on purpose.
Tests worth seeing at the run-off
- Press every E-stop during robot motion and check that the robot and every other powered axis stop
- Open each guard door mid-cycle, then confirm that closing it alone does not restart anything
- Break each light curtain and scanner field, at the edges as well as the middle
- Walk through a muting light curtain the way a person would, and confirm the muting sensors don't mute it
- Disconnect one channel of a dual-channel device and confirm the logic faults instead of running
- Check that each reset sits outside the guarding, with a view into the cell
- Record each test with the device, what was done and the result
On the spray nozzle assembly cells we built for a national lawn and garden brand, each of the three LR Mate tables is interlocked and light-curtained, and we built, wired and programmed the control panels. The run-off in our shop is the best time for your safety lead to work through a list like the one above. Our FAT and SAT guide covers the rest of the run-off and the checks after install.
After any later change to the safety logic, a device or the guarding, the affected functions need testing again. That is part of why the signature and the test record matter.
Talk to us about a cell’s safety design
Safety logic is part of every robot cell we build, designed with the guarding and wired in the same Fontana shop. The rest of our controls work is on robot cell controls and software. To talk through the safety side of a cell, call or text (818) 397-4809.
Common questions
- Do we need a safety PLC, or are safety relays enough?
- It depends on the cell. One E-stop chain and a couple of interlocked doors are often handled well by safety relays. Several zones, muting, a load station that changes with the mode, or many safety devices usually push toward a safety PLC, because the logic is easier to change and diagnose than a wall of relay wiring. The risk assessment sets what each safety function needs; either approach can be designed to meet it.
- Who does the risk assessment for a robot cell?
- On the cells we build, we do a risk assessment for the safety functions we design, listing the tasks people do at the cell and the hazards in each. Your plant still owns the result: your safety lead or an outside safety professional should review it. ANSI/A3 R15.06-2025 also includes a Part 3 written for the companies that use robot cells, so read the parts that apply to you.
- Can the robot's own safety functions replace the safety PLC?
- Not usually. FANUC Dual Check Safety watches the robot: where it is, how fast it moves, and its safety I/O. Guard doors, light curtains, conveyors and other machinery in the cell still need a safety relay or safety PLC. The two are linked by hardwired dual-channel signals or by a safety network such as EtherNet/IP Safety or PROFIsafe, and each stops what it controls.
- What is a safety-rated monitored stop?
- It was the ISO 10218 term for a robot that stops and is then monitored at standstill, with power on, while a person is inside its space. A3 says the 2025 editions renamed it monitored standstill and use it beyond collaborative applications. It is more than an ordinary hold: the standstill has to be watched by safety-rated functions, and the risk assessment has to support letting a person in.
- What safety documents should come with the cell?
- The risk assessment, the safety circuit drawings, a list of safety functions with the performance level each needs, the safety program with its signature where the controller has one, robot safety settings, and a record of the validation tests: each device, what was tested and the result. Keep them with the cell. When something changes later, that file is where the change starts.
Sources
- ISO 12100:2010, Safety of machinery: general principles for design, risk assessment and risk reduction
- ISO 13849-1:2023, Safety of machinery: safety-related parts of control systems, Part 1
- ISO 13849-2:2012, Safety of machinery: safety-related parts of control systems, Part 2: Validation
- IEC 62061:2021, Safety of machinery: functional safety of safety-related control systems
- A3: ANSI/A3 R15.06-2025 industrial robot safety standard now available
- A3: Updated ISO 10218, answers to frequently asked questions
- A3 Store: RIA TR R15.306-2016, Task-based risk assessment methodology
- NFPA 79, Electrical Standard for Industrial Machinery
- OSHA: Robotics standards
- Rockwell Automation: Safety controllers (GuardLogix 5580, Compact GuardLogix 5380)
- Rockwell Automation: Light Curtain (LC) safety instruction
- Rockwell Automation: View safety status and signature
- FANUC America: Dual Check Safety (DCS)
- FANUC America: DCS Safe I/O Connect
- FANUC America: EtherNet/IP and EtherNet/IP Safety
- FANUC America: PROFINET, PROFIsafe and PROFIenergy
- PROFINET: PROFIsafe
