PLC Sim Lab
Ladder logic how-tos

Start / stop ladder logic: the motor seal-in circuit

The start / stop circuit with a seal-in contact is the most important rung in PLC programming. Almost every motor on every machine is controlled by some version of it.

3 min read · Updated 2026-10-02

The task

A motor is started with a START push button and stopped with a STOP push button. It must keep running after START is released. A green lamp shows it is running. Pause here and try it yourself in the simulator before reading the solution.

Why one contact is not enough

|--[ START ]---------------------( MOTOR )--|

This runs the motor only while you hold the button. A push button is momentary: as soon as you let go, its input bit goes back to 0 and the coil drops out.

The seal-in (latching) contact

|--+--[ START ]--+--[ STOP ]--[ E-STOP ]--( MOTOR )--|
|  |             |
|  +--[ MOTOR ]--+

Put a normally open contact of the motor output itself in parallel with START. When START is pressed, the coil turns on; on the next scan the MOTOR contact is closed too, so the rung stays powered when START is released. The motor has "sealed itself in". STOP and the emergency stop are in series: opening either one breaks the rung, the coil drops out, and the seal-in contact opens with it. Nothing restarts by itself.

Why STOP is wired normally closed, but programmed as a normally open contact

The STOP button is a normally closed (NC) button, wired so its input is on all the time and drops to 0 when it is pressed. In the program it is therefore a normally open contact (true while the input is 1). The reason is safety: if the wire to STOP breaks, the input also drops to 0 and the motor stops. With an NO STOP button, a broken wire would leave a motor you cannot stop. This is called fail-safe wiring and it is used for every stop, emergency stop, guard switch and overload contact.

The same rung in four PLC brands

BrandSTARTSTOPE-STOPMOTOR
Siemens (S7-1200 style)I0.0I0.1I0.2Q0.0
Mitsubishi (FX style)X0X1X2Y0
Allen-Bradley (MicroLogix style)I:0/0 (XIC)I:0/1 (XIC)I:0/2 (XIC)O:0/0 (OTE)
TOYOPUCX000X001X002Y000

Adding a run lamp and an overload

|--[ MOTOR ]----------------------( RUN_LAMP )--|

A thermal overload relay has an NC auxiliary contact (95-96). Wire it like STOP, to an input that is on while the motor is healthy, and add it in series in the motor rung. A trip then stops the motor exactly like STOP.

Common mistakes

Seal-in or SET / RESET?

You can also latch a motor with SET and RESET coils, but the seal-in rung is preferred for motors: all start and stop conditions are visible in one rung, and if STOP is held the motor can never be on. Read the comparison in SET and RESET in a PLC.

Watch it on the PLC Sim Lab channel

The full exercise solved on a Siemens-style PLC: plan, wire, write the rung and test it with the E-stop. Open on YouTube → · More videos →

Try it yourself. Wire sensors, contactors and a PLC, write ladder logic and press RUN in the free PLC Sim Lab Playground. Nothing to install.

Open the Playground →Guided lessons →

Frequently asked questions

What is a seal-in contact in ladder logic?

A normally open contact of the output itself, placed in parallel with the START contact. Once the output turns on, this contact keeps the rung powered after START is released, until STOP breaks the rung.

Why is the STOP button normally closed?

For fail-safe operation: the input is on until STOP is pressed. A broken wire also turns the input off and stops the motor, instead of making the motor impossible to stop.

Is a seal-in the same as a latch?

It is one way of latching. A seal-in latches with a contact in the same rung; SET / RESET (OTL / OTU) coils latch with separate rungs.

Does the motor restart after an emergency stop is released?

Not with a seal-in rung: the E-stop breaks the rung, the seal-in contact opens, and the motor stays off until START is pressed again.