Skip to content
PLCampus
All examples

03Level 2

Reversing motor with electrical interlock

Two contactors run the motor in one direction or the other. An interlock prevents both from closing at once, which would cause a short circuit.

The simulator is designed for computers (screens 1024 px or wider).

Virtual plant

KM ▶Q0.0KM ◀Q0.1F1 · I0.3Stopped · 0 %

Direction: Stopped. Speed: 0 %

Shown at rest. In the simulator the plant moves according to your program's outputs.

Inputs and outputs

AddressNameDescription
I0.0FORWARDForward push button (NO)
I0.1REVERSEReverse push button (NO)
I0.2STOPStop push button (NC: 1 at rest)
I0.3OVERLOADOverload relay NC contact (driven by the plant: 0 = tripped)
Q0.0KM_FORWARDForward contactor
Q0.1KM_REVERSEReverse contactor

Program

Ladder diagram (LD)

  1. Rung 1 — Forward with seal-in, interlocked with the reverse contactor.

    FORWARDI0.0KM_FORWARDQ0.0STOPI0.2OVERLOADI0.3KM_REVERSEQ0.1KM_FORWARDQ0.0
  2. Rung 2 — Reverse with seal-in, interlocked with the forward contactor.

    REVERSEI0.1KM_REVERSEQ0.1STOPI0.2OVERLOADI0.3KM_FORWARDQ0.0KM_REVERSEQ0.1

Step by step

  1. 1Press ▶ Run (F5) and press FORWARD: contactor KM_FORWARD seals itself in and the motor runs forward.
  2. 2While the motor runs, press REVERSE: nothing happens. The NC contact of KM_FORWARD in rung 2 blocks reverse. That is the electrical interlock.
  3. 3Press STOP, wait for the motor to stop and then press REVERSE: it now runs the other way.
  4. 4Try removing the NC contact of KM_REVERSE from rung 1 and press both buttons: the plant shows the short circuit the interlock prevented. In a real panel the interlock is also wired with the contactors' auxiliary contacts.