PLC
Ladder Logic
Contact and coil patterns: interlocks, latching, and edge detection.
Overview
Ladder logic expresses control as power flow through contacts and coils — the lingua franca of discrete automation, readable by electricians and auditable rung by rung.
Engineering purpose
Interlocks, sequences, and motor control where visual traceability during live troubleshooting matters more than computational elegance.
How it works
Each rung evaluates left-to-right per scan; seal-in branches latch outputs past momentary commands; edge instructions convert level signals to one-shot events; cross-references track every address.
- Seal-in circuits hold outputs after momentary commands; every stop condition must break the seal.
- Use rising/falling edge instructions for one-shot actions to avoid re-triggering every scan.
- Interlocks must be structured so no single rung can bypass a safety condition.
Common faults
Double coil assignments producing flicker; seal-ins that a stop condition fails to break; edge instructions duplicated so events fire twice; interlock bypass hidden in a parallel branch.
Diagnostic checks
- 1Trace rung power flow online to find the blocking contact.
- 2Search cross-references for double coil assignments.
- 3Audit every safety-relevant rung for parallel paths that could bypass the interlock condition.
Safety notes
A ladder interlock is an availability function, not a safety function — protective stops must remain hardwired or in certified safety logic regardless of program structure.
Commissioning notes
Walk each sequence step with the machine in manual, watching rung power flow online; archive a cross-reference listing with the as-commissioned program.
Related concepts
Contacts and coils, seal-in/latch, edge detection, cross-reference, interlocking, scan order.
ladder · rung · contact · coil · latch · seal · interlock · لدر · نردبانی · کنتاکت · کویل · اینترلاک
Related engineering cases
Related articles
PLC Fundamentals
Scan cycle, I/O image, and program organization of programmable logic controllers.
Siemens S7-1200
Compact controller: onboard I/O, signal boards, and sizing limits.
Siemens S7-1500
Modular high-end controller: performance, diagnostics, and fail-safe options.
Structured Text (SCL)
High-level PLC language: control flow, data handling, and pitfalls.
When Hermes Brain uses this article
Cited when questions mention rungs, coils, latching behavior, outputs that stick or flicker, or interlock logic in any ladder-programmed PLC.
…