Loading local progress…
Challenges
Practise in
Level 1, 0 XP · your progress
Challenge 11 · Find the fault · Pro

The spare that keeps stealing the run

Alternation, break-before-make and a failed recovery — together.

Repair a two-pump controller without allowing overlapping commands or automatic restart. State, DutyPump, StandbyPump and Alarm must follow every operating rule.

This challenge is part of ProTry the full course, every mission and the expert challenges free for 7 days. No card needed.

Every Pro challenge is free for a day when it comes round as the daily challenge.

The 3D pump skid this challenge runs on Pro challenge
Test replay

Stop during handover cancels the pending restart

Test 1 of 10
Set by the testChecked by the testStep 11 of 11 · 680 ms
Level
Hard · 40 points
Kind
Find the fault
Time
About 35 min
Pass rate
New
Machine
3D pump skid
Siemens
SCL
Rockwell
Structured Text
Beckhoff
Structured Text
The operator’s report · pump skid
The duty motor tripped. The spare took over immediately. When power returned, the duty motor started again without another button press.
Automatic checks

What the checks test

  1. Start is a rising-edge request, not a maintained enable.
  2. No commands both pumps; handover waits 400 ms.
  3. One failed run gets one failover; a second failure latches Alarm.

The checks run 10 tests on the machine, scan by scan: Stop during handover cancels the pending restart; The selected spare trips before its timer finishes; An unavailable preferred motor uses the healthy spare; Alternate only after a healthy Stop; 400 ms break before make; recovery cannot steal the run; A second trip locks out instead of chasing motors; Permission restoration with Start held cannot restart; Stop wins over simultaneous Start and handover; A dead spare cannot receive a command; Standby failure has the same handover rules.

On site

Where you’d find this

In a block of flats, the spare pump takes over when the main motor trips and cuts out. Once it recovers, the main pump must wait for the next run.

Both pumps starting without warning can overload the supply. Retrying again and again can damage a motor and leave the flats without water.

The machine

How it should behave

Idle / selection
State 0 commands both pumps OFF. A fresh Start with Permit and no Stop/Alarm selects the preferred healthy pump: initially duty. State 10 = DutyPump, 20 = StandbyPump. Use the other if the preferred motor is faulty.
Alternation
A healthy run ended by Stop makes NextStandby select the other motor for the next run. Permit loss and a failed run do not change it. FailedRun records that a failover has already been used.
Handover
Fault is the duty motor trip; StandbyFault trips the spare. On the first active-motor fault, enter State 30 with both commands OFF. PendingStandby remembers the selected replacement. Call Delay while in 30: timing starts at zero on the first invocation and transfer occurs at 400 ms. Recovery of the old motor must not change selection.
Lockout
If the selected replacement fails during the delay, or the running replacement fails afterwards, enter 0 and latch Alarm. Do not try a third motor start. Reset clears Alarm only while idle, both motor faults clear and Start released. Reset never starts a motor.
Priority
Stop or lost Permit removes both commands immediately, including during handover. Restoring Permit with Start still held must not start. Release and press Start again. On a healthy start or completed handover, the command set may follow the previous or new state for one scan, then must match the selected state. No overlap is allowed.

Press Run, then press and release Start. Set Fault TRUE to watch both shafts stop before the spare starts. Clear Fault: the spare must keep the run. Trip StandbyFault next, then replay the failure if it starts switching repeatedly.

Keep going

More challenges