Free
5 min

Beginner 07 — Latched Start/Stop (SET/RESET)

beginnerfundamentalsset-resetlatch
Beginner 07 — Latched Start/Stop (SET/RESET) scenario preview

Ready to build this?

Sign up free — no credit card required. This scenario is included in the free tier.

Sign up to play this scenario →

Already have an account? Log in

Briefing

Add a STOP to the previous scenario. Pulse START, LIGHT latches on. Pulse STOP, LIGHT resets off. Pulse START again, it comes back on. Two rungs: one SET, one RESET. That's the pattern behind nearly every industrial start/stop circuit you'll ever read.

Objectives

  • Pulse START → LIGHT on
  • Pulse STOP → LIGHT off
  • Pulse START again → LIGHT on again

Hints

  • Rung 1: | START | S= LIGHT ;
  • Rung 2: | STOP | R= LIGHT ;

I/O Table

Inputs

START

Momentary start push-button (NO)

BOOL · %I0.0

STOP

Momentary stop push-button (NO)

BOOL · %I0.1

Outputs

LIGHT

Indicator lamp

BOOL · %Q0.0

Your program will be tested against:

All test cases run automatically when you submit. Assertions are hidden until you pass.

  1. #1Pulse STOP → LIGHT off

    STOP resets LIGHT after a START latch

  2. #2Pulse START → LIGHT on

    A momentary START sets LIGHT and it stays on after release

  3. #3Restart after stop → LIGHT on again

    After a stop, a new START pulse re-latches LIGHT

Ready to build this?

Sign up free — no credit card required. This scenario is included in the free tier.

Sign up to play this scenario →

Already have an account? Log in