ABB PLC Lab Manual · Lab 15 of 20 · Ladder Programming for Machines

ABB PLC Emergency Stop and Safety Interlock Logic in Ladder

Get the split between safety hardware and PLC logic right. The safety relay removes power; the PLC monitors it, blocks restarts, guides the reset and explains to the operator why the machine will not start.

2,500+ engineers trained 4.9/5 Google rating 21+ years, Chinchwad, Pune Real AC500-eco + ACS580 trainer kits
Lab 15 of 20 · 60 minutes · Level: Intermediate
Quick answer

An emergency stop must act through hardwired safety components such as a safety relay that drops the contactor supply; a standard PLC like the AC500-eco only monitors the safety relay and adds operational interlocks. In ladder, the motor rung includes the safety relay OK input and other permissives, the start request is cleared on any stop, and the machine never restarts by itself after the E-stop is reset.

  • Safety function in hardware (safety relay / safety PLC), not in standard PLC code
  • The PLC monitors and adds restart prevention and diagnostics
  • Every permissive is a separate, named contact in series
  • After any stop, a new deliberate Start is required
HardwareKit with safety relay, E-stop, guard switch
SoftwareLabs 7 and 13 logic
StandardRisk assessment defines the required safety level

This lab is about doing it properly. Standards such as IEC 60204-1 and ISO 13850 require the emergency stop to work independently of standard PLC software. If your risk assessment needs a programmable safety solution, use a safety PLC such as AC500-S, not code in a standard CPU.

Step 1: Understand the Safety Architecture

Hardware first 15 minutes
E-stop safety relay and PLC monitoring architectureE-stop buttons and guard switch feed a safety relay whose safety outputs drop the motor contactor; the PLC reads the relay status and drives the reset lamp.E-stop buttons2-channel NCGuard door switch2-channel NCSafety relaymonitored manual resetsafety outputs 13-14 / 23-24Contactor K1 (+ K2 redundant)motor powerAC500-eco CPUmonitoring onlyDI_EStop_OK, DI_Guard_ClosedReset push button + lamplamp from PLC, contact to relay
Safety outputs (hardwired) Monitoring and field wiring
Select any device in the drawing

Click a device to see whether it is part of the safety function.

Fig. 1 The safety relay acts on the contactors directly. The PLC only monitors and assists.
JobDone byWhy
Remove motor power on E-stopSafety relay + contactorsMust work even if the PLC has failed
Detect welded contactorSafety relay EDM inputPart of the safety function
Prevent automatic restartRelay manual reset + PLC start logicBoth layers
Tell the operator what happenedPLC alarms and HMIDiagnostics
Flash reset lamp when reset is possiblePLCUsability

Step 2: Write the Permissive and Restart Logic

Ladder: Motor_Logic 20 minutes

E-stop and interlock simulator

Start the motor, open the guard or press E-stop. Release it: nothing restarts. Reset the safety relay (lamp flashes when possible), then press Start again.

Inputs (click / hold)
Outputs
Safety relay ON (DI_EStop_OK)
%QX0.0 Motor run
Reset lamp
Reset_Possible: 0
001 Motor run: start request with all permissivesDI_Start_PB%IX0.1DI_Stop_PB%IX0.2Relay_OK%IX0.0Guard_ClosedDO_Motor_Run%QX0.0DO_Motor_Run%QX0.0002 Reset lamp flashes when relay is off but reset is possibleRelay_OK%IX0.0Reset_PossibleFlash_1HzDO_Reset_Lamp%QX1.1

Green contact = passing power. Orange moving wire = rung is true and the output is energised.

Because the seal-in contact DO_Motor_Run is in the same rung as Relay_OK, losing the relay drops the seal permanently. When the relay comes back, the rung stays false until Start is pressed again. That is restart prevention in the PLC layer.

Step 3: List Every Interlock

Interlock matrix 10 minutes
PermissiveTagBlocksType
Safety relay healthyDI_EStop_OKAll motionSafety monitoring
Guard closedDI_Guard_ClosedAll motionSafety monitoring
MPCB healthyDI_MPCB_OKConveyor motorOperational
No motor alarmNOT Any_Motor_AlarmConveyor motorOperational
Mode validNOT Alm_SelectorStart in any modeOperational
Forward not activeNOT DO_Motor_RunReverseMutual interlock
Drive readySts_VFD_Ready (Lab 20)Drive startOperational

Step 4: Validate the Stop Functions

Witnessed test 15 minutes
0 of 6 checks recorded
IDCheckHow to checkPass criterionResult
Stop and reset tests
E-01E-stop stopsPress each E-stop while runningContactor drops immediately, independent of PLC
E-02PLC off testStop the CPU, check relay still actsE-stop still removes power
E-03No restartRelease E-stopNothing moves
E-04ResetPress resetRelay ON, lamp stops flashing, still no motion
E-05RestartPress StartMotor starts only now
E-06GuardOpen guard while runningStop; same reset sequence

Practice Exercise

Exercise

Add a second guard door. Decide whether it goes in the safety relay chain or only to the PLC, based on the hazard. Write your reasoning in one paragraph for your trainer.

Troubleshooting

SymptomLikely causeFix
Motor restarts after E-stop resetStart request held in a SET bitUse a seal-in through the permissives or reset the request on stop
Relay will not resetContactor feedback (EDM) open or channel faultCheck feedback loop and both channels
E-stop alarm but relay OKAux contact wiring to PLCCheck DI_EStop_OK wiring
Reset lamp never flashesReset_Possible logic wrongLamp only when E-stops released and guard closed

Frequently asked questions

Can I program an emergency stop in a standard PLC?

No. The E-stop function must be performed by hardwired safety components or a safety-rated controller. A standard PLC can monitor it and add restart prevention and diagnostics.

What is restart prevention?

After a stop, the machine must not start again by itself when the E-stop is released or power returns. A deliberate Start command is needed.

What is an ABB safety PLC?

AC500-S is ABB's safety PLC family, with safety CPU and safety I/O modules certified for functional safety applications.

Why monitor the safety relay with the PLC?

To stop the logic cleanly, block restarts, show alarms on the HMI and guide the operator through the reset.

Reviewed by Bhawesh Kumar SinghIndustrial Automation Trainer and Industry 4.0 Consultant · Softwell Automation · 21+ years industry experience

Get the full ABB PLC syllabus + free demo class

Share your details. A Softwell training advisor will call you within 24 hours with batch dates, fees and AC500 hardware access options.

No spam. Used only to share course details for this enquiry.

Practise every lab on real ABB hardware

AC500-eco PLC, ACS580 drive and HMI trainer kits: live online, Pune classroom or corporate in-plant training.

Request Course Details
Verified learning pathway

Discuss This Technical Course

Explore practical curriculum, software, hardware and batch options for this technology.

Content reviewed: 14 October 2026

ABB PLC & Automation Builder Learning Path

Follow the full 20-lab ABB AC500-eco practical series in order, or start from the ABB PLC Lab Manual hub.

  1. Lab 1: Automation Builder Installation & AC500-eco Setup
  2. Lab 2: Connect AC500-eco PLC via Ethernet
  3. Lab 3: Create a New Automation Builder Project
  4. Lab 4: AC500-eco IO Configuration
  5. Lab 5: Digital Input Mapping
  6. Lab 6: Digital Output Mapping
  7. Lab 7: First Ladder Program: Start/Stop
  8. Lab 8: Download a Program to AC500-eco
  9. Lab 9: Upload a Program from AC500-eco
  10. Lab 10: Online Monitoring, Force & Write
  11. Lab 11: Timers & Counters in Ladder
  12. Lab 12: Network & Tag Mapping
  13. Lab 13: Alarm Mapping & Fault Latching
  14. Lab 14: Tower Lamp Logic
  15. Lab 15: Emergency Stop & Interlocks
  16. Lab 16: Manual Mode Logic
  17. Lab 17: Auto Mode Sequence Logic
  18. Lab 18: Structured Text (ST) Programming
  19. Lab 19: AC500-eco to ACS580 Modbus RTU Setup
  20. Lab 20: Control ACS580 via Modbus RTU
  21. ABB AC500 PLC Selection Guide
☎ Call WhatsApp ✉ Email Enquire Now