PLC Interlocking and Latching Logic: How It Works in Industrial Automation (2026) (Updated August 2026)
The AURIC manufacturing corridor's ₹71,343 crore investment and 62,405 jobs depend on production lines that run safely and reliably — and latching and interlocking logic are the PLC programming techniques that make this possible. Without latching, a motor would stop the moment an operator releases the start button; without interlocking, two conflicting outputs (forward and reverse) could energize simultaneously and destroy a motor. These two techniques appear in virtually every real-world PLC program: from Bajaj Auto's assembly robots in Waluj to water treatment SCADA systems in Pune. This guide explains how latching (OTL/OTU) and interlocking work, with clear examples from Siemens S7-300 ladder logic.
- Latching keeps an output ON even after the input that activated it turns OFF — the output stays latched until an unlatch instruction resets it
- OTL (Output Latch / Set) turns an output ON and holds it; OTU (Output Unlatch / Reset) turns it OFF
- A motor self-hold circuit is the most common latching application: start button sets the latch, stop button resets it
- Interlocking prevents unsafe conditions by allowing one output only when specific safety conditions are met
- Two types: mechanical interlocking (physical prevention) and electrical interlocking (PLC logic prevention)
What Is Latching in PLC? (Direct Answer)
Latching in PLC programming is a technique that keeps an output coil energized for an extended duration even after the input condition that triggered it has turned OFF. In a standard output instruction (OTE), the output is only ON while the input conditions on that rung are true — the moment the input goes OFF, the output goes OFF too. Latching overrides this: once set by an OTL (Output Latch) instruction, the output remains energized regardless of input changes until an OTU (Output Unlatch) instruction explicitly resets it. This is essential for motor control, alarm acknowledgement, and any process where a momentary push button must trigger a sustained action.

How PLC Latching Works — OTL and OTU Instructions Explained
The OTL (Output Latch, also called SET in Siemens syntax) instruction turns an output coil ON and holds it in the ON state even if the input conditions on its rung go FALSE. The OTU (Output Unlatch, also called RESET in Siemens) instruction turns the latched output OFF. These two instructions operate as a set-reset (SR) flip-flop: OTL sets the output to 1, OTU resets it to 0. In Siemens TIA Portal ladder logic, this is implemented using the S (Set) and R (Reset) coil instructions on the same Q address. The critical safety rule: always wire the stop/reset condition using a Normally Closed (NC) contact so the system fails safe if the wire breaks.
| Instruction | Siemens Symbol | Allen-Bradley Symbol | Function |
|---|---|---|---|
| Output Latch (Set) | S (Set coil) | OTL | Turns output ON and holds it — stays ON until Reset |
| Output Unlatch (Reset) | R (Reset coil) | OTU | Turns output OFF — releases the latch |
| Standard Output | ( ) coil | OTE | ON while rung conditions are TRUE — not latched |
| Interlock (NC contact) | —|/|— | —|/|— | Prevents coil from energizing when referenced bit is ON |
Motor Self-Hold Circuit — Latching in Practice
The motor self-hold circuit is the most fundamental example of latching in industrial automation. Rung 1: Start button (I0.0, NO contact) in series with Stop button (I0.1, NC contact) → OTL on Motor output (Q0.0). Rung 2: Motor output auxiliary contact (Q0.0, NO) in parallel with Start button (I0.0) — this is the "seal-in" contact that holds the latch. When the operator presses Start, Q0.0 energizes and its seal-in contact closes, maintaining the circuit even after Start is released. When Stop is pressed (I0.1 NC opens), the rung goes FALSE and Q0.0 de-energizes. The auxiliary contact of the physical contactor is wired back to a PLC input to confirm actual motor run status, separate from the PLC's internal logic state.

What Is Interlocking in PLC? (Direct Answer)
Interlocking in PLC programming is a logic technique that controls a process only when specific safety conditions are confirmed — preventing dangerous or conflicting outputs from activating simultaneously. When temperature exceeds a safe limit, a flow rate drops below minimum, or a safety guard is open, the interlocking logic prevents the machine from running or immediately stops it. Interlocking is present in every serious PLC program — a motor interlock ensures the cooling water is running before a heater can energize; a direction interlock ensures forward and reverse contactors cannot both be energized simultaneously (which would cause a 3-phase short circuit).
Mechanical Interlocking vs Electrical Interlocking
Mechanical interlocking uses physical hardware to prevent unsafe actions — a signal lever can only be moved after a point lever is in the correct position. On conveyor systems, mechanical door interlocks physically block access until the conveyor stops. These are reliable (independent of PLC logic) but inflexible. Electrical interlocking uses PLC ladder logic: the NC auxiliary contact of the Forward contactor is wired in series with the logic for the Reverse contactor — if Forward is energized, the NC contact opens and prevents Reverse from energizing. This is both a hardware interlock (contact wiring) and a software interlock (the PLC program also checks the Forward bit before allowing Reverse). Always implement both hardware and software interlocks for motor direction control.
PLC SCADA Training at ABC Trainings — Latching and Interlocking Lab
ABC Trainings' PLC and SCADA course covers latching and interlocking with hands-on ladder logic programming on Siemens S7-300 and S7-1200 PLCs. Students program motor self-hold circuits with OTL/OTU instructions, implement forward-reverse interlocking for motor direction control, and test safety interlocks for temperature and level conditions. Real panel wiring of contactors with interlock contacts is part of the lab. CMYKPY Maharashtra students receive ₹6,000–₹10,000/month stipend during training. Call 7039169629 or WhatsApp 7774002496 for the next batch schedule and syllabus PDF.
Get the PLC & SCADA Brochure + Fees + Batch Dates on WhatsApp
Free 1:1 counselling. Placement track record. CMYKPY/PMKVY eligibility check.
💬 Get Brochure on WhatsApp📞 Call 7039169629About the author: Sunil Wagh. 15 years of PLC, SCADA, and EPLAN training experience at ABC Trainings, ex-Siemens India. Has trained engineers for Bajaj Auto, Endurance Technologies, and Siemens automation projects across Maharashtra.
Visit Our Centers
- Wagholi (Pune): 1st Floor, Laxmi Datta Arcade, Pune-Ahilyanagar Highway. Call 7039169629
- Hadapsar (Pune HQ): 1st Floor, Shree Tower, opp. Vaibhav Theater, Magarpatta. Call 7039169629
- Cidco (Chh. Sambhajinagar): Kalpana Plaza, opp. Eiffel Tower, N-1 Cidco. Call 7039169629
- Osmanpura (Chh. Sambhajinagar): S.S.C Board to Peer Bazar Road, near Jama Masjid. Call 7039169629
- Sangli: Shubham Emphoria, 1st Floor, Above US Polo Assn., Sangli-Miraj Rd, Vishrambag. Weekend batches available. Call 7039169629
FAQs
What is latching in PLC programming?
Latching in PLC programming keeps an output coil energized even after the input condition that activated it turns OFF. This is done using a Set (OTL) instruction to turn the output ON and a Reset (OTU) instruction to turn it OFF. The classic application is a motor self-hold circuit: the operator presses Start (momentary push button), the motor latches ON, and the motor stays running until the Stop button is pressed — regardless of whether the operator holds the Start button.
What is interlocking in PLC and why is it important?
Interlocking in PLC programming prevents unsafe or conflicting outputs from being active simultaneously, or allows an output only when specific safety conditions are confirmed. A direction interlock prevents Forward and Reverse motor contactors from energizing at the same time (which would short-circuit the 3-phase supply). A safety interlock prevents a machine from starting when a guard door is open. Interlocking is implemented using NC contacts in ladder logic that block an output coil when a conflicting or unsafe condition is detected.
What is the difference between OTL and OTU in PLC ladder logic?
OTL (Output Latch / Set) is an instruction that turns an output bit ON and keeps it ON until explicitly reset — the output remains latched even if the rung conditions go FALSE. OTU (Output Unlatch / Reset) turns a latched output bit OFF. Together, they form a Set-Reset flip-flop: OTL sets the state to 1, OTU resets it to 0. In Siemens TIA Portal, these are the S coil and R coil instructions. In Allen-Bradley RSLogix, they are OTL and OTU.
Does ABC Trainings teach PLC latching and interlocking in Pune?
Yes — ABC Trainings covers latching and interlocking as core PLC programming topics in its PLC and SCADA course at Wagholi (Pune), Hadapsar (Pune), CIDCO (Chhatrapati Sambhajinagar), and Osmanpura (Chhatrapati Sambhajinagar). Students program motor self-hold circuits, forward-reverse interlocks, and safety guard interlocks on real Siemens S7-300 and S7-1200 PLCs in TIA Portal. The course is designed around the type of programs actually needed for Pune MIDC automation jobs.


