INDUSTRIAL AUTOMATION • DEEP LEARNING

PLC Ladder Logic — Interactive Simulator, Contacts, Coils & Interlocks

Interactive ladder-logic learning page for NO/NC contacts, coils, seal-in circuits, overload interlocks, timers and motor-control reasoning.

Interactive motor seal-in circuit

Toggle the simulated field states. This demonstrates logic only; it does not represent a complete safety circuit.

L+ ──[/ STOP ]──[/ OL ]──┬──[ START ]────┬────( MOTOR )── 0V
└──[ MOTOR ]────┘
MOTOR coil = OFF

How to read ladder

Read each rung left-to-right. A series path behaves like logical AND. Parallel branches behave like logical OR. An output coil becomes true when the logical path to it is true.

Series contacts: A AND B
Parallel contacts: A OR B
NC instruction: NOT A

Seal-in / holding logic

A momentary START contact turns on the motor bit. An auxiliary copy of the motor command is placed in parallel with START so the rung remains true after the button is released. STOP or overload breaks the permissive path and drops the latch.

Timers

InstructionMeaningExample
TONOn-delayWait 5 s before starting auxiliary equipment.
TOFOff-delayKeep fan running for 30 s after process stops.
RTORetentive timer (platform dependent)Accumulate runtime until reset.

What you should understand first

Ladder logic visually resembles relay circuits, but PLC instructions operate on bits and values in controller memory. Understanding the difference prevents errors when translating a schematic into software.

Signal and energy boundaries

A PLC is a controller, not the power source for a motor. Separate the low-energy logic side from the field power circuit. Digital outputs often command an interposing relay, contactor coil, valve solenoid or VFD input. The motor power still passes through the MCC/MCCB/contactor/VFD power circuit.

Fail-safe thinking

For critical shutdowns, do not rely only on software logic. Emergency-stop, trip and safety functions may require dedicated safety-rated hardware and a risk assessment. A normal PLC output should not be assumed to provide a safety function unless the architecture is specifically designed and certified for it.

Common mistakes

  • Assuming an NC ladder instruction always means a physically NC field contact
  • Latching a motor without a clear unlatch path
  • Placing safety logic only in a normal PLC
  • No debounce/filter consideration for noisy field signals
  • Using timer values without considering process dynamics

Commissioning checklist

  1. Create an I/O list and cause/effect table.
  2. Write normal and fail conditions before coding.
  3. Test each rung with simulated input combinations.
  4. Verify field contact philosophy: energized-to-run vs energized-to-trip.
  5. Document timer setpoints and why they exist.

Frequently asked questions

What is XIC/XIO?

Names vary by PLC family. Conceptually they test whether a referenced bit is true or false.

Is ladder executed top to bottom?

Typically program/task order matters, but exact execution depends on PLC platform and task configuration.

Should E-stop be a ladder contact?

It may be monitored by the PLC, but the actual safety function should follow the required safety architecture and risk assessment.

Safety / engineering note: These diagrams are conceptual training material. Do not wire mains, safety circuits or field equipment from a generic web diagram. Use the exact PLC manual, device datasheets, applicable standards, isolation practices, risk assessment and a qualified controls/electrical engineer for final design and commissioning.