home Home / Robot Cell Safety-Gate Reset Logic: Why Closing the Gate Must Not Restart the Process

Robot Cell Safety-Gate Reset Logic: Why Closing the Gate Must Not Restart the Process

A person walks into the cell through the gate to clear a jam. The gate opens, the safety function stops the robot. The person clears the jam, steps out, and closes the gate. The robot starts.

In that sequence, two things happened that should not have. The gate closing was treated as a restart command, and the person’s exit was not verified before motion resumed. Both are state-logic design errors, and both are common, because they arise from a natural but wrong mental model: that closing the gate “undoes” opening it.

Separate the four states that get collapsed

The single most useful contribution to a guard-reset discussion is to insist that four distinct states be separated, each with its own trigger and its own authority.

State Trigger What it means Who may command the next step
Guard closed Physical gate position A physical condition. Says nothing about whether the cell is safe to run Nobody — this is not a command
Safety reset Deliberate act by an authorised person at a designated reset device The safety function is cleared and ready to enable Authorised person only
Process reset Deliberate act at the control system The production sequence is cleared to its start condition; work-in-progress state is resolved Authorised person, per procedure
Start authorisation Deliberate start command, under the site’s start-up procedure Motion is permitted to begin Authorised person, per procedure

The design principle: guard closure must not, by itself, cause any of the other three. Closure changes a physical condition. Reset and start are human decisions.

The four-state split is an engineering framework for organising the review, not a clause of ISO 10218-2 or ISO 13849-1. What the applicable standards actually require of the reset function — including whether a manual reset is required at all, where it must be located, and who may perform it — must come from the current standard texts together with the risk assessment and the required performance of the guard function.

Getting this wrong usually looks like a convenience feature — “the cell restarts when you close the door” — introduced to save a button press, and it converts every legitimate entry into a potential unexpected start-up for the next person through that gate.

Consider what state remains after an interrupted cycle

A stop in mid-cycle is not a clean state. Before restart, someone must determine:

  • Where the robot is, and whether its position is known or was lost. A robot that lost position on stop, or that was moved manually, cannot simply resume.
  • What is in the gripper, and whether it is held safely. An interrupted cycle may leave a part partially gripped, or held over an open fixture.
  • The fixture state: clamped or released, part present or absent, in position or displaced.
  • The process state: welding wire position, gas post-flow completed, adhesive partially dispensed, heat input applied to a partially completed joint.
  • The program state: whether the sequence can resume at the interrupt point, must restart the cycle, or must be re-homed — and what the program does if it resumes in the wrong state.
  • Any fault state that caused or accompanied the stop, and whether it is cleared.

A restart logic that only checks “is the gate closed” answers none of these. That is why process reset exists as a separate act: someone has to look at the cell and decide.

Who does that looking matters as much as the requirement. The state check before reset should be made by a trained operator or maintenance person and confirmed in writing, because a verbal confirmation is exactly the thing that disappears at a shift handover.

Challenge the system with the cases that reveal bad logic

Test the logic against scenarios rather than against the normal path:

Scenario Correct behaviour What bad logic does
Gate opened during a cycle, then closed Cell remains stopped until deliberate safety reset, then process reset, then start Restarts automatically on closure
Gate opened, person inside, gate closed from outside Cell remains stopped; entry detection prevents reset Resets and starts with a person inside
Power failure while gate closed and cycle running Cell remains stopped on power restoration; requires deliberate reset Resumes automatically on power-up
Fault cleared while gate closed Cell remains stopped until deliberate reset Clears fault and restarts
Gate opened and closed rapidly (bounce, or deliberate attempt) No reset, no start Interprets as a valid cycle
Reset pressed while gate open Reset must not be effective, or must not enable motion Reset accepted with guard open
Incomplete cycle, incomplete work-in-progress Process reset required; resume blocked until state resolved Resumes mid-cycle into an invalid state
Second person enters after reset, before start Start prevented, or cell stops before motion Start proceeds

The last row is the one most often missed. Reset is granted to a cell, not to a person; if a second person enters after the reset and before the start, the reset no longer describes the situation.

That row is also testable, and worth testing because it is the one nobody thinks to try. Verify it through simulated inputs, controller diagnostics or an approved test procedure that does not place anyone inside the cell during motion. A person entering a cell to observe start behaviour is not an acceptable test method. If the logic cannot prevent the start or stop before motion, the reset is being treated as a property of the gate rather than of the situation.

Make the reset device and its authority explicit

Three details decide whether the logic is usable in practice:

Where the reset device is. It must be positioned so that the person operating it can observe the safeguarded space — or so that the space is verified by another means before reset is effective. A reset button inside the guarded area, or one that faces away from the cell, defeats the purpose.

Who is authorised. Reset by an authorised person is a different function from reset by anyone. Where the site cannot enforce authorisation technically, it must enforce it procedurally and audit it.

Auditing it means comparing reset records against the shift roster, not posting a notice. If the two cannot be reconciled, the procedural control does not exist however clearly the notice is worded.

What the reset actually clears. A reset that clears a safety stop, a process fault and a program error with one press is convenient and uninformative. Separate indications of what is being cleared let the operator understand the state before enabling motion.

Validate the safety function and the restart logic as separate responsibilities

Two validations are required, by different people, against different criteria.

Safety function validation confirms that the guard, its interlocking, the stopping function and the reset arrangement achieve the required performance for the risk, and that the behaviour on guard opening matches the specification. This is a safety-related control function design question, governed by the machinery safety framework and by the cell-level robot safety standard. The required performance level comes from the risk assessment, not from a default.

Production restart logic validation confirms that the process resumes correctly and safely: that work-in-progress is handled, that the program resumes at a valid point, that downstream and upstream equipment is in a compatible state, and that the restart does not create a quality or process hazard. This is a production engineering responsibility.

Cells fail when only one of the two is done. A cell with a validated safety function and an unvalidated restart sequence will stop safely and then resume into a wrecked part, a jam, or a collision with a neighbour.

Document the state machine

The deliverable is a written state description that a maintenance technician and a safety auditor can both read: the states, the transitions, the conditions for each transition, who is authorised for each, what each reset clears, and what is verified before motion is enabled.

That document is also what makes future modification safe. A cell whose reset logic exists only as ladder code in a controller will be modified by someone who cannot see the whole picture, and the modification will be locally sensible and globally wrong.

Start the document from what already exists: export the states and transitions from the current program, walk them against the cell’s actual behaviour, and write up every place where the two disagree. Those disagreements are the most important content the document will ever hold, because they are the places where the code and the plant have already drifted apart.

Before you change reset logic

If a cell is being commissioned or its gate logic is being reviewed, the material worth gathering is: the risk assessment and required performance level for the guard function, the current program’s state and transition description, the layout showing all access points, and the start-up procedure the site intends to follow.

When buying a guarded robot cell from China, put the reset sequence into the technical discussion early. Share your risk-assessment requirements and access-point layout with AIsirRobot; we can help coordinate supplier questions about the control documentation and state logic provided, while safety validation of the guard function stays with your integrator and site.

Contact Us