Free
25 min

Motor Start/Stop

motorsafetylatching
Motor Start/Stop 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

Classic 3-wire motor start-stop with seal-in, emergency stop, and thermal overload protection. The contactor must latch on a momentary start-button press, drop out on stop, and latch a fault on E-stop or thermal trip. Faults may only be cleared by an explicit stop-button press once the underlying condition has gone away. You also need to detect a welded contactor via the auxiliary feedback contact.

Objectives

  • Start button pulse energises the contactor and the motor seals in
  • Stop button drops the contactor
  • E-stop drops the contactor and latches a fault until reset
  • Thermal overload drops the contactor and latches a fault until reset
  • Auxiliary feedback stuck-on while the contactor is de-energised latches a fault

Hints

  • Use SET/RESET coils on an internal RUN_BIT driven by START_PB, reset by STOP_PB / ESTOP / THERMAL_OL
  • MOTOR_CONTACTOR := RUN_BIT AND NOT FAULT_BIT; RUN_LAMP := MOTOR_CONTACTOR
  • Latch FAULT_BIT on ESTOP, THERMAL_OL, or the stuck-aux condition — clear it only when STOP_PB is pressed AND all fault causes have cleared
  • Use a TON to delay 500 ms before raising the stuck-aux fault: IN := MOTOR_AUX AND NOT MOTOR_CONTACTOR

I/O Table

Inputs

START_PB

Start push-button (momentary)

BOOL · %I0.0

STOP_PB

Stop push-button (momentary)

BOOL · %I0.1

ESTOP

Emergency stop (asserted when hit)

BOOL · %I0.2

THERMAL_OL

Thermal overload relay trip

BOOL · %I0.3

MOTOR_AUX

Contactor auxiliary feedback contact

BOOL · %I0.4

Outputs

MOTOR_CONTACTOR

Main motor contactor coil

BOOL · %Q0.0

RUN_LAMP

Motor running indicator lamp

BOOL · %Q0.1

FAULT_LAMP

Fault indicator lamp

BOOL · %Q0.2

Your program will be tested against:

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

  1. #1Start energises contactor, stop drops it

    Press start -> contactor on; press stop -> contactor off

  2. #2Start pulse seals in via latch

    Momentary start-pulse — contactor stays on after button release

  3. #3E-stop latches fault, clears only via stop-pb

    E-stop drops contactor + raises fault; releasing E-stop does not clear; stop-pb clears

  4. #4Thermal overload latches fault, needs reset + stop-pb to clear

    Thermal trip drops contactor + fault; clears only after thermal resets AND stop-pb pressed

  5. #5Stuck auxiliary feedback latches fault

    MOTOR_AUX asserted while MOTOR_CONTACTOR is off for >500ms -> fault

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