Skip to content
Ladder (NT)Runs without an account · Updated

Motor forward/reverse ladder logic with an interlock

A reversing starter has two contactors, and closing both at once shorts the supply. So the logic must never call for both. This example is two start/stop seal-in rungs, each with a contact from the other, so only one direction can be on at a time.

Run it
The forward/reverse example running in PLCflow Sim. Forward is sealed in and the reverse rung is blocked.
Forward/reverse interlock, running in the PLCflow Sim workspace.

The program

[XIC(FwdStart),XIC(Forward)]XIO(Stop)XIO(Reverse)OTE(Forward);
[XIC(RevStart),XIC(Reverse)]XIO(Stop)XIO(Forward)OTE(Reverse);

How it works

Rung 0 is the forward direction. It is the motor start/stop rung with one more contact: FwdStart or the Forward seal-in contact starts the path, Stop breaks it, and XIO(Reverse) breaks it too whenever Reverse is on.

Rung 1 is the mirror image for reverse, with XIO(Forward) in series.

With the motor running forward, pressing RevStart does nothing, because rung 1 is blocked by XIO(Forward). You have to press Stop first. That drops Forward, and then RevStart can seal in.

Press both start buttons together from a stop and Forward wins. Rung 0 is solved first and turns Forward on, so by the time rung 1 is solved its XIO(Forward) is already open. Swap the rungs and Reverse wins instead.

On a real starter the interlock is repeated in hardware, with auxiliary contacts on the contactors and usually a mechanical interlock between them. The PLC logic works alongside those and never replaces them.

Try this

In the simulator, an input changes when you click it in the tag list: click once to turn it on and again to turn it off. To press a button, turn it on; to release it, turn it off; to pulse it, do both.

  1. Press FwdStart. Forward seals in. Now press RevStart: nothing changes.
  2. Press Stop, then RevStart. Reverse seals in.
  3. Stop the motor, then turn FwdStart and RevStart on together. Forward wins. Swap the two rungs and try again.
Run it

Tags

TAGROLE
FwdStart, RevStartBOOL inputs. Momentary start buttons.
StopBOOL input. 1 while pressed.
Forward, ReverseBOOL outputs. The two contactors.

More examples

Motor start/stop

Ladder (NT)

A latching start/stop station. Click Start once and the seal-in branch holds the motor on through its own contact until Stop breaks the rung.

StartStopMotor

One-shot toggle

Ladder (NT)

One button turns a lamp on, and the same button turns it off. A one-shot makes each press count exactly once, however long you hold it.

ButtonPulseLamp

Read more about the ladder logic simulator, or see all examples.