Pro
40 min

Duplex Pump Control PLC Program (Lead/Lag)

This page covers the full duplex pump control PLC program — lead/lag control of a two-pump wet-well station driven by LOW, HIGH and HIGH-HIGH level floats. It is grounded in a live scenario you can run directly in your browser: write the ladder, watch the well fill and drain, and get instant pass/fail feedback. The lead pump starts at HIGH, the lag pump joins at HIGH-HIGH, a high alarm tracks the top float, and the two pumps alternate duty each pump-down to even out wear — the textbook lead lag pump control PLC pattern, runnable and auto-graded.

processpumpsalternation
Duplex Pump Control scenario preview

Ready to build this?

Sign up free — no credit card required. This scenario requires the Pro plan.

Sign up to play this scenario →

Already have an account? Log in

Briefing

A wet-well pump station holds two identical pumps (PUMP_1 and PUMP_2). Effluent flows into the well; level sensors report LOW, HIGH and HIGH-HIGH. Once an operator presses START the station is armed until STOP. The LEAD pump must run when the level reaches HIGH and keep running until the well is pumped down below LOW. If inflow outpaces a single pump and the level keeps climbing to HIGH-HIGH, the LAG pump joins so both pumps run — again until LOW. A HIGH-HIGH condition also lights HIGH_ALARM. To even out wear, the lead and lag roles ALTERNATE: each time the well is drained to LOW the two pumps swap duty, so PUMP_1 leads the first fill cycle, PUMP_2 leads the second, and so on.

Objectives

  • START arms the station (latched); STOP disarms it and stops both pumps
  • The LEAD pump starts at LEVEL_HIGH and stops at LEVEL_LOW
  • The LAG pump joins at LEVEL_HIGHHIGH (both pumps run) and stops at LEVEL_LOW
  • HIGH_ALARM is energised whenever LEVEL_HIGHHIGH is true
  • Alternate lead/lag every pump-down: PUMP_1 leads cycle 1, PUMP_2 leads cycle 2, …

Hints

  • Latch an ENABLED bit with S= on START and R= on STOP. Gate everything else with ENABLED.
  • Use a toggle bit (e.g. LEAD_IS_2) that flips on the rising edge of LEVEL_LOW — that is the moment the well finishes a pump-down, so the next fill cycle starts with the other pump in the lead.
  • Latch LEAD_RUN: S= on (ENABLED AND LEVEL_HIGH), R= on (LEVEL_LOW OR /ENABLED). Latch LAG_RUN: S= on (ENABLED AND LEVEL_HIGHHIGH), R= on (LEVEL_LOW OR /ENABLED).
  • Route the latches to the physical pumps via the toggle: PUMP_1 := (LEAD_RUN AND /LEAD_IS_2) OR (LAG_RUN AND LEAD_IS_2); PUMP_2 is the mirror. HIGH_ALARM := LEVEL_HIGHHIGH.

I/O Table

Inputs

START

Start push-button (latches the station ON)

BOOL · %I0.0

STOP

Stop push-button (disarms the station)

BOOL · %I0.1

LEVEL_LOW

Low-level float (well drained to pump-off level)

BOOL · %I0.2

LEVEL_HIGH

High-level float (start the lead pump)

BOOL · %I0.3

LEVEL_HIGHHIGH

High-high-level float (start the lag pump + alarm)

BOOL · %I0.4

Outputs

PUMP_1

Pump 1 motor contactor

BOOL · %Q0.0

PUMP_2

Pump 2 motor contactor

BOOL · %Q0.1

HIGH_ALARM

High-high level alarm 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. #1Lead pump waits for HIGH (does not run at LOW or empty)

    After START, the lead pump stays off through LOW and only energises when LEVEL_HIGH is reached. Exactly one pump runs (the lead) — the lag stays off below HIGH-HIGH.

  2. #2Lag pump joins at HIGH-HIGH and HIGH_ALARM lights

    With the lead already running, reaching HIGH-HIGH starts the lag pump (both run) and energises HIGH_ALARM.

  3. #3Both pumps stop when the well is drained to LOW

    After both pumps have run (HIGH-HIGH), draining back through HIGH and down to LOW must stop both pumps; HIGH_ALARM clears when HIGH-HIGH clears.

  4. #4Alternation: PUMP_2 leads the second fill cycle

    Run a full cycle (PUMP_1 leads, drains to LOW), then fill again to HIGH — the lead role must have swapped, so PUMP_2 now leads and PUMP_1 stays off.

  5. #5STOP disarms the station and drops both pumps

    While a pump is running, STOP must immediately stop both pumps and the station stays disarmed (HIGH no longer starts a pump) until START is pressed again.

How a duplex pump control PLC program works

A duplex pump station is a wet well with two identical pumps and three level floats. Effluent flows in; the pumps draw it down. Pump control using a PLC keeps the level inside a safe band, brings a second pump online when one cannot keep up, raises an alarm at the top float, and shares the running hours evenly between the two pumps.

The station is armed by an operator. START latches an ENABLED bit; STOP clears it and stops both pumps. Everything else is gated by ENABLED, so a disarmed station never runs a pump no matter what the level does (the high float still drives the alarm, but not the pumps).

Three floats report level. LEVEL_LOW (%I0.2) is the pump-off float at the bottom of the working band. LEVEL_HIGH (%I0.3) is the start-the-lead float. LEVEL_HIGHHIGH (%I0.4) is the start-the-lag-and-alarm float at the top. Two outputs drive the pump motor contactors — PUMP_1 (%Q0.0) and PUMP_2 (%Q0.1) — and HIGH_ALARM (%Q0.2) is the high-high level alarm lamp.

The behaviour, in one line per float: the LEAD pump runs from HIGH down to LOW; the LAG pump joins at HIGH-HIGH and also runs down to LOW; HIGH_ALARM mirrors LEVEL_HIGHHIGH; and each pump-down the lead and lag roles swap. This is a wet well pump station PLC program in its standard form — the same logic runs lift stations, sumps and reservoir transfer pumps.

Lead pump at HIGH, lag pump at HIGH-HIGH — latching the levels

The heart of lead lag pump control PLC logic is that the pumps latch on at a high float and stay on until the well is drained to LOW — they do not chatter with every wobble of the level. That means SET/RESET latches, not direct level-following coils.

Latch the lead: SET LEAD_RUN on (ENABLED AND LEVEL_HIGH), RESET LEAD_RUN on (LEVEL_LOW OR NOT ENABLED). The lead pump must wait for HIGH — it must not run at LOW or in an empty well. This is exactly what the discriminating 'lead-starts-at-high-not-before' test checks: it arms the station, rises the level to the LOW float, and asserts both pumps stay off; only when LEVEL_HIGH trips does the lead start. A naive 'run a pump whenever there's water' solution fails here immediately.

Latch the lag the same way one float higher: SET LAG_RUN on (ENABLED AND LEVEL_HIGHHIGH), RESET LAG_RUN on (LEVEL_LOW OR NOT ENABLED). When inflow outpaces the lead pump and the level climbs to HIGH-HIGH, the lag joins so both pumps run together, and they both keep running through HIGH-HIGH-clear and HIGH-clear until the LOW float finally drops. The 'both-stop-at-low' test verifies precisely this: both pumps stay on as HIGH-HIGH and then HIGH clear, and only de-energise when LOW clears.

HIGH_ALARM is the simplest rung on the page — drive it straight from LEVEL_HIGHHIGH, ungated by ENABLED, so the alarm reports a high-high level even on a disarmed station.

Pump alternation — swapping lead and lag each pump-down

Running the same pump as lead every cycle wears it out while the other sits idle. Pump alternation PLC ladder logic fixes that by swapping the lead and lag roles each time the well is pumped down, so the two pumps share the duty evenly.

The clean way to do this is to separate the run latches (LEAD_RUN, LAG_RUN) from the physical pumps (PUMP_1, PUMP_2) and route between them with a toggle bit. Use a toggle — call it LEAD_IS_2 — that flips on the rising edge of LEVEL_LOW. The moment LEVEL_LOW asserts is the moment a pump-down completes, so flipping the toggle there means the next fill cycle starts with the other pump in the lead.

Route the latches to the contactors through the toggle: PUMP_1 := (LEAD_RUN AND NOT LEAD_IS_2) OR (LAG_RUN AND LEAD_IS_2) PUMP_2 := (LEAD_RUN AND LEAD_IS_2) OR (LAG_RUN AND NOT LEAD_IS_2) On cycle 1 the toggle is clear, so LEAD_RUN drives PUMP_1; on cycle 2 the toggle is set, so LEAD_RUN drives PUMP_2. The 'alternation-second-cycle-pump2-leads' test runs a full PUMP_1-leads cycle down to LOW, then refills to HIGH and asserts PUMP_2 now leads while PUMP_1 stays off.

Get the edge right: flip the toggle on the LEVEL_LOW transition, not on its level, or the lead will swap on every scan the well sits at the bottom. A single rising-edge detector on LEVEL_LOW is all the alternation logic needs.

STOP, the high alarm, and why this is a step up from a single pump

STOP must do more than stop the pumps — it must disarm the station. The 'stop-disarms-station' test starts a pump, presses STOP, and then drives LEVEL_HIGHHIGH true; it asserts both pumps stay off (the station is disarmed) while HIGH_ALARM still lights (the alarm tracks the level regardless of arm state). Implement STOP as a RESET on the ENABLED latch and include NOT ENABLED in both pump-run resets, so a disarmed station can never start a pump even at the top float. Only a fresh START re-arms it.

That alarm-independent-of-arm behaviour is deliberate and realistic: a flooded wet well is a hazard whether or not an operator has armed the pumps, so HIGH_ALARM is wired straight off LEVEL_HIGHHIGH and never gated by ENABLED.

This scenario is a genuine step up from a single pump control using PLC exercise. A single-pump tank fill is one SET/RESET latch between two floats. Duplex control adds three things at once: a second pump that conditionally joins at a higher setpoint, an alarm, and stateful alternation that remembers which pump led last across cycles. That combination — multiple latched states, edge-triggered role swapping, and a setpoint hierarchy — is why it sits at a higher difficulty tier.

Everything here is runnable and auto-graded in your browser. Write the ladder, press Run, and watch the well level rise and fall while the two pumps stage in and alternate. Five automated test cases grade the lead start, the lag join plus alarm, the both-stop-at-LOW pump-down, the second-cycle alternation, and the STOP disarm.

Frequently asked questions

What is duplex pump control in a PLC?

Duplex pump control is PLC logic for a two-pump wet-well or tank station that designates one pump as lead and the other as lag. The lead pump starts at the high level float and runs until the well is drained to the low float. If inflow outpaces the lead pump and the level keeps rising to a high-high float, the lag pump joins so both run. A high-high alarm lights at the top float, and the lead/lag roles alternate each pump-down so the two pumps share running hours and wear evenly.

How does lead lag pump control work in PLC ladder logic?

Latch the lead pump with SET/RESET: SET on (station enabled AND high float), RESET on (low float OR not enabled), so the lead runs from HIGH down to LOW. Latch the lag pump the same way one float higher: SET on (enabled AND high-high float), RESET on (low float OR not enabled). Both pumps then keep running until the low float drops. A high-high alarm output simply mirrors the high-high float. This SET/RESET-between-floats structure is the core of lead lag pump control PLC ladder logic.

How do you alternate two pumps in a PLC program?

Use a toggle bit that flips on the rising edge of the low-level float — the moment a pump-down completes. Keep the run latches (LEAD_RUN, LAG_RUN) separate from the physical pump outputs, then route them through the toggle: PUMP_1 := (LEAD_RUN AND NOT toggle) OR (LAG_RUN AND toggle), and PUMP_2 is the mirror. On the first cycle the lead latch drives PUMP_1; after the well drains and the toggle flips, the next cycle's lead latch drives PUMP_2. Detect the float's edge, not its level, so the lead swaps once per cycle rather than every scan.

What sensors does a wet well pump station PLC program need?

A standard wet well pump station PLC program uses three level floats: a LOW float (the pump-off level at the bottom of the working band), a HIGH float (start the lead pump), and a HIGH-HIGH float (start the lag pump and raise the alarm). In this scenario those are LEVEL_LOW (%I0.2), LEVEL_HIGH (%I0.3) and LEVEL_HIGHHIGH (%I0.4), plus START and STOP push-buttons. Outputs are the two pump motor contactors (PUMP_1, PUMP_2) and a high-high alarm lamp (HIGH_ALARM).

Can I simulate a duplex pump control PLC program without hardware?

Yes. The Duplex Pump Control scenario on this page runs in your browser — write the ladder logic, press Run, and watch the wet-well level rise and fall while the lead and lag pumps stage in and alternate. The physics model drives a realistic fill and draw-down rate so the floats trip just as they would on hardware, and the auto-grader checks five cases: the lead starting at HIGH, the lag joining at HIGH-HIGH with the alarm, both pumps stopping at LOW, the second cycle alternating the lead, and STOP disarming the station. No physical PLC, pumps or floats required.

Ready to build this?

Sign up free — no credit card required. This scenario requires the Pro plan.

Sign up to play this scenario →

Already have an account? Log in

Runnable simulator field guide

Duplex pump-control PLC scenario: implementation, evidence and troubleshooting

Direct answer

Duplex pump-control PLC scenario becomes useful when it connects level bands, lead selection, lag threshold, hysteresis, minimum run and stop, alternation event, pump availability, run feedback, failover, alarms and restart with level input through filtering and demand state to lead or lag command, starter or drive, pump response, flow or level change and feedback, then proves two demand cycles alternate lead ownership and stage the lag pump only at the declared condition under normal, boundary, fault and recovery conditions. The objective is a repeatable engineering or learning result, not merely activity inside a page or tool.

This guide is written for pLC and process-control learners implementing alternating pumps, staged demand, run feedback, failover, alarms and restart for a modeled sump or tank. The intended result is specific: the learner can define ownership and transitions for lead, lag, demand, feedback and faults and prove balanced repeatable behavior across changed cases.

a browser PLC workstation connected to a guarded pump, level and conveyor training rig for repeatable control cases while studying lead-lag duplex pump sequencing, level and fault response
The scene keeps lead-lag duplex pump sequencing, level and fault response attached to declared conditions, observable results, diagnostic boundaries and evidence another person can reproduce.

System map / 02

Six concepts that control the result

Treat these as connected checkpoints. Each checkpoint has an expected state, an observable state and a boundary to the next part of the system. That structure prevents a software indication from being mistaken for physical proof.

NODE 01observable

Define the operating contract

level bands, lead selection, lag threshold, hysteresis, minimum run and stop, alternation event, pump availability, run feedback, failover, alarms and restart. For lead-lag duplex pump sequencing, level and fault response, record the initial condition, actor, requested change, observable result and stopping condition before selecting a tool or implementation.

NODE 02observable

Map the evidence path

level input through filtering and demand state to lead or lag command, starter or drive, pump response, flow or level change and feedback. Separate request, internal state, output or service, physical or user-visible result and independent feedback so each boundary can be inspected.

NODE 03observable

Prove normal operation

two demand cycles alternate lead ownership and stage the lag pump only at the declared condition. Run more than one cycle from a known state and retain the values, timings or artifacts that demonstrate repeatability.

NODE 04observable

Exercise a boundary case

failed lead feedback, unavailable lag, stuck level, rapid cycling, high-high level, low level, power return, manual mode and simultaneous faults. Choose minimum, maximum, simultaneous, delayed or restart conditions that reveal assumptions hidden by the happy path.

NODE 05observable

Diagnose a controlled fault

a level, threshold, hysteresis, sequence, alternation, command, feedback, availability, hydraulic or restart mismatch. Preserve the first symptom, divide the system at a measurable boundary and change one condition only after predicting the result.

NODE 06observable

Transfer and hand over

logic and alarms recreated on target controls and commissioned with actual pumps, instruments and approved wet-well procedures. Restore normal state, remove temporary changes, repeat affected checks and document which claims remain limited to the learning environment.

Procedure / 03

A six-step practice and commissioning workflow

Run the steps in order the first time. Later, the same structure becomes a diagnostic loop: define the expected condition, observe the boundary, interpret the difference and choose one proving action.

  1. 01

    Write the acceptance case

    Convert level bands, lead selection, lag threshold, hysteresis, minimum run and stop, alternation event, pump availability, run feedback, failover, alarms and restart into initial conditions, one stimulus and observable pass criteria.

    Evidence: Another person can repeat the case without guessing the intended result.

    Avoid: Using page completion or an animation as the acceptance criterion.

  2. 02

    Build the map

    Document level input through filtering and demand state to lead or lag command, starter or drive, pump response, flow or level change and feedback and name who owns each state or decision.

    Evidence: Every request and result has a source, destination and useful inspection point.

    Avoid: Using the same value as command, status and independent feedback.

  3. 03

    Run the baseline

    Apply two demand cycles alternate lead ownership and stage the lag pump only at the declared condition from a clean start and record the expected evidence.

    Evidence: Repeated runs produce the same bounded result.

    Avoid: Changing several parameters before a baseline exists.

  4. 04

    Challenge assumptions

    Test failed lead feedback, unavailable lag, stuck level, rapid cycling, high-high level, low level, power return, manual mode and simultaneous faults without changing the acceptance contract.

    Evidence: Limits, timing and restart behavior reach defined states.

    Avoid: Testing only one ideal sequence.

  5. 05

    Isolate one failure

    Introduce or analyse a level, threshold, hysteresis, sequence, alternation, command, feedback, availability, hydraulic or restart mismatch and locate the first disagreement.

    Evidence: The proving action distinguishes the leading hypotheses.

    Avoid: Resetting, forcing or replacing before evidence is retained.

  6. 06

    Close the evidence loop

    Complete logic and alarms recreated on target controls and commissioned with actual pumps, instruments and approved wet-well procedures and repeat the affected regression cases.

    Evidence: A run is complete only when the requested behavior, stop behavior, fault response and recovery are observable from a fresh initial condition.

    Avoid: Treating an acknowledged message or one successful rerun as handover.

Diagnostic matrix / 04

Symptoms, proving points and next actions

The table is a reasoning aid, not a parts-replacement chart. Preserve the initial symptom, inspect the named boundary and use the interpretation to choose the next controlled test. Site safety procedures and equipment manuals remain authoritative.

Diagnostic symptoms, inspection points, interpretations and next actions for Duplex pump-control PLC scenario: implementation, evidence and troubleshooting
Observed symptomInspectInterpretationNext proving action
The expected result is unclearRequirement, initial state, actor, stimulus, units and pass conditionThe operator, programmer and reviewer may be solving different versions of the task.Rewrite one observable acceptance case before continuing.
Internal state changes but the outcome does notRequest, final owner, output or service boundary and independent feedbackA software or interface indication proves intent at one layer, not the complete outcome.Trace the first boundary after the changing state.
Normal case passes but an edge case failsLimits, timing, simultaneous events, reset and restart assumptionsThe implementation contains a hidden assumption exposed by the changed condition.Add the failed boundary as a permanent regression case.
The failure disappears after resetOriginal symptom, histories, diagnostics, timestamps and active causeReset changed evidence or state without proving the initiating cause.Reproduce under a controlled condition and preserve pre/post-event data.
Simulator and target disagreeModel boundary, software version, task timing, I/O behavior, data types and configurationA learning model and the intended target do not share one of the recorded assumptions.Reduce the case and verify against current target documentation.
The result cannot be explainedPrediction, observation, proving action, alternative hypotheses and limitationsActivity occurred but the evidence is not yet transferable or reviewable.Have the learner defend the signal path and repeat a changed case.

Product evidence / 05

What the browser practice can actually demonstrate

The browser runtime joins editable control state to visible I/O and machine or process behavior, allowing the same initial conditions and stimuli to be replayed.

Where simulation stops

A browser scenario cannot size pumps, establish hydraulic performance, validate environmental compliance, design electrical protection or approve a real lift station.

Commissioning notebook / 06

Six cases that turn the concepts into evidence

Use these as written briefs rather than click-through instructions. For every case, state the expected condition before acting, retain the first useful observation and explain why the final result proves the requirement. A different program or component choice can still be correct when it produces the same bounded behavior and evidence.

Case 01

predict → observe → prove

Prove define the operating contract

Engineering context. level bands, lead selection, lag threshold, hysteresis, minimum run and stop, alternation event, pump availability, run feedback, failover, alarms and restart. For lead-lag duplex pump sequencing, level and fault response, record the initial condition, actor, requested change, observable result and stopping condition before selecting a tool or implementation. Begin with a written normal condition and identify which request, state, physical result or communication value will provide independent confirmation. Do not begin by changing the configuration; the initial state is part of the evidence and should remain reproducible.

Controlled setup. Use the “Write the acceptance case” stage of the workflow: convert level bands, lead selection, lag threshold, hysteresis, minimum run and stop, alternation event, pump availability, run feedback, failover, alarms and restart into initial conditions, one stimulus and observable pass criteria. The acceptance record should show this result: another person can repeat the case without guessing the intended result. Record initial conditions, the exact stimulus and the observation point so another learner can repeat the case without relying on your memory.

Fault challenge. Introduce or analyse “The expected result is unclear” as one bounded deviation. Inspect requirement, initial state, actor, stimulus, units and pass condition The working interpretation is that the operator, programmer and reviewer may be solving different versions of the task. The next proving action is to rewrite one observable acceptance case before continuing. Change only one condition before observing the result, and preserve timestamps or measurements where timing matters.

Review and recovery. The most common trap here is using page completion or an animation as the acceptance criterion. After restoring the cause, repeat the normal case and at least one stop, timeout, disconnect or restart boundary relevant to this topic. Remove temporary forces and bypasses, return the model to a known state and retain the evidence that both operation and recovery are deliberate.

Explain it aloud: What is duplex pump control? A defensible short answer is: It coordinates two pumps so one normally leads, the other assists or provides redundancy, and duty can alternate under a declared policy.

Case 02

predict → observe → prove

Prove map the evidence path

Engineering context. level input through filtering and demand state to lead or lag command, starter or drive, pump response, flow or level change and feedback. Separate request, internal state, output or service, physical or user-visible result and independent feedback so each boundary can be inspected. Begin with a written normal condition and identify which request, state, physical result or communication value will provide independent confirmation. Do not begin by changing the configuration; the initial state is part of the evidence and should remain reproducible.

Controlled setup. Use the “Build the map” stage of the workflow: document level input through filtering and demand state to lead or lag command, starter or drive, pump response, flow or level change and feedback and name who owns each state or decision. The acceptance record should show this result: every request and result has a source, destination and useful inspection point. Record initial conditions, the exact stimulus and the observation point so another learner can repeat the case without relying on your memory.

Fault challenge. Introduce or analyse “Internal state changes but the outcome does not” as one bounded deviation. Inspect request, final owner, output or service boundary and independent feedback The working interpretation is that a software or interface indication proves intent at one layer, not the complete outcome. The next proving action is to trace the first boundary after the changing state. Change only one condition before observing the result, and preserve timestamps or measurements where timing matters.

Review and recovery. The most common trap here is using the same value as command, status and independent feedback. After restoring the cause, repeat the normal case and at least one stop, timeout, disconnect or restart boundary relevant to this topic. Remove temporary forces and bypasses, return the model to a known state and retain the evidence that both operation and recovery are deliberate.

Explain it aloud: How should a failed lead pump be handled? A defensible short answer is: Use independent run or process feedback, a bounded start timeout, a clear failover rule and an alarm; do not infer pumping from an output command.

Case 03

predict → observe → prove

Prove prove normal operation

Engineering context. two demand cycles alternate lead ownership and stage the lag pump only at the declared condition. Run more than one cycle from a known state and retain the values, timings or artifacts that demonstrate repeatability. Begin with a written normal condition and identify which request, state, physical result or communication value will provide independent confirmation. Do not begin by changing the configuration; the initial state is part of the evidence and should remain reproducible.

Controlled setup. Use the “Run the baseline” stage of the workflow: apply two demand cycles alternate lead ownership and stage the lag pump only at the declared condition from a clean start and record the expected evidence. The acceptance record should show this result: repeated runs produce the same bounded result. Record initial conditions, the exact stimulus and the observation point so another learner can repeat the case without relying on your memory.

Fault challenge. Introduce or analyse “Normal case passes but an edge case fails” as one bounded deviation. Inspect limits, timing, simultaneous events, reset and restart assumptions The working interpretation is that the implementation contains a hidden assumption exposed by the changed condition. The next proving action is to add the failed boundary as a permanent regression case. Change only one condition before observing the result, and preserve timestamps or measurements where timing matters.

Review and recovery. The most common trap here is changing several parameters before a baseline exists. After restoring the cause, repeat the normal case and at least one stop, timeout, disconnect or restart boundary relevant to this topic. Remove temporary forces and bypasses, return the model to a known state and retain the evidence that both operation and recovery are deliberate.

Explain it aloud: What should I learn first about lead-lag duplex pump sequencing, level and fault response? A defensible short answer is: Start with the operating contract and evidence path: level bands, lead selection, lag threshold, hysteresis, minimum run and stop, alternation event, pump availability, run feedback, failover, alarms and restart, followed by level input through filtering and demand state to lead or lag command, starter or drive, pump response, flow or level change and feedback. Add advanced features only after the baseline is predictable.

Case 04

predict → observe → prove

Prove exercise a boundary case

Engineering context. failed lead feedback, unavailable lag, stuck level, rapid cycling, high-high level, low level, power return, manual mode and simultaneous faults. Choose minimum, maximum, simultaneous, delayed or restart conditions that reveal assumptions hidden by the happy path. Begin with a written normal condition and identify which request, state, physical result or communication value will provide independent confirmation. Do not begin by changing the configuration; the initial state is part of the evidence and should remain reproducible.

Controlled setup. Use the “Challenge assumptions” stage of the workflow: test failed lead feedback, unavailable lag, stuck level, rapid cycling, high-high level, low level, power return, manual mode and simultaneous faults without changing the acceptance contract. The acceptance record should show this result: limits, timing and restart behavior reach defined states. Record initial conditions, the exact stimulus and the observation point so another learner can repeat the case without relying on your memory.

Fault challenge. Introduce or analyse “The failure disappears after reset” as one bounded deviation. Inspect original symptom, histories, diagnostics, timestamps and active cause The working interpretation is that reset changed evidence or state without proving the initiating cause. The next proving action is to reproduce under a controlled condition and preserve pre/post-event data. Change only one condition before observing the result, and preserve timestamps or measurements where timing matters.

Review and recovery. The most common trap here is testing only one ideal sequence. After restoring the cause, repeat the normal case and at least one stop, timeout, disconnect or restart boundary relevant to this topic. Remove temporary forces and bypasses, return the model to a known state and retain the evidence that both operation and recovery are deliberate.

Explain it aloud: How do I practise lead-lag duplex pump sequencing, level and fault response effectively? A defensible short answer is: Use short cases with known initial conditions, a written prediction, one action and an observable result. Then alter a boundary or fault and explain why the evidence changed.

Case 05

predict → observe → prove

Prove diagnose a controlled fault

Engineering context. a level, threshold, hysteresis, sequence, alternation, command, feedback, availability, hydraulic or restart mismatch. Preserve the first symptom, divide the system at a measurable boundary and change one condition only after predicting the result. Begin with a written normal condition and identify which request, state, physical result or communication value will provide independent confirmation. Do not begin by changing the configuration; the initial state is part of the evidence and should remain reproducible.

Controlled setup. Use the “Isolate one failure” stage of the workflow: introduce or analyse a level, threshold, hysteresis, sequence, alternation, command, feedback, availability, hydraulic or restart mismatch and locate the first disagreement. The acceptance record should show this result: the proving action distinguishes the leading hypotheses. Record initial conditions, the exact stimulus and the observation point so another learner can repeat the case without relying on your memory.

Fault challenge. Introduce or analyse “Simulator and target disagree” as one bounded deviation. Inspect model boundary, software version, task timing, I/O behavior, data types and configuration The working interpretation is that a learning model and the intended target do not share one of the recorded assumptions. The next proving action is to reduce the case and verify against current target documentation. Change only one condition before observing the result, and preserve timestamps or measurements where timing matters.

Review and recovery. The most common trap here is resetting, forcing or replacing before evidence is retained. After restoring the cause, repeat the normal case and at least one stop, timeout, disconnect or restart boundary relevant to this topic. Remove temporary forces and bypasses, return the model to a known state and retain the evidence that both operation and recovery are deliberate.

Explain it aloud: What counts as proof of competence? A defensible short answer is: A repeatable artifact or system result plus an explanation of the signal path is stronger than time spent, screenshots or a copied answer. Physical competence requires separate supervised evidence.

Case 06

predict → observe → prove

Prove transfer and hand over

Engineering context. logic and alarms recreated on target controls and commissioned with actual pumps, instruments and approved wet-well procedures. Restore normal state, remove temporary changes, repeat affected checks and document which claims remain limited to the learning environment. Begin with a written normal condition and identify which request, state, physical result or communication value will provide independent confirmation. Do not begin by changing the configuration; the initial state is part of the evidence and should remain reproducible.

Controlled setup. Use the “Close the evidence loop” stage of the workflow: complete logic and alarms recreated on target controls and commissioned with actual pumps, instruments and approved wet-well procedures and repeat the affected regression cases. The acceptance record should show this result: a run is complete only when the requested behavior, stop behavior, fault response and recovery are observable from a fresh initial condition. Record initial conditions, the exact stimulus and the observation point so another learner can repeat the case without relying on your memory.

Fault challenge. Introduce or analyse “The result cannot be explained” as one bounded deviation. Inspect prediction, observation, proving action, alternative hypotheses and limitations The working interpretation is that activity occurred but the evidence is not yet transferable or reviewable. The next proving action is to have the learner defend the signal path and repeat a changed case. Change only one condition before observing the result, and preserve timestamps or measurements where timing matters.

Review and recovery. The most common trap here is treating an acknowledged message or one successful rerun as handover. After restoring the cause, repeat the normal case and at least one stop, timeout, disconnect or restart boundary relevant to this topic. Remove temporary forces and bypasses, return the model to a known state and retain the evidence that both operation and recovery are deliberate.

Explain it aloud: Why test faults and restart behavior? A defensible short answer is: Because a level, threshold, hysteresis, sequence, alternation, command, feedback, availability, hydraulic or restart mismatch or failed lead feedback, unavailable lag, stuck level, rapid cycling, high-high level, low level, power return, manual mode and simultaneous faults can expose assumptions that never appear during ideal startup and steady operation.

Answer surface / 07

Questions people ask about Duplex pump-control PLC scenario

These concise answers define the operating, training and product boundaries most often missed in broad summaries. The full workflow and diagnostic table above provide the evidence behind them.

What is duplex pump control?

It coordinates two pumps so one normally leads, the other assists or provides redundancy, and duty can alternate under a declared policy.

How should a failed lead pump be handled?

Use independent run or process feedback, a bounded start timeout, a clear failover rule and an alarm; do not infer pumping from an output command.

What should I learn first about lead-lag duplex pump sequencing, level and fault response?

Start with the operating contract and evidence path: level bands, lead selection, lag threshold, hysteresis, minimum run and stop, alternation event, pump availability, run feedback, failover, alarms and restart, followed by level input through filtering and demand state to lead or lag command, starter or drive, pump response, flow or level change and feedback. Add advanced features only after the baseline is predictable.

How do I practise lead-lag duplex pump sequencing, level and fault response effectively?

Use short cases with known initial conditions, a written prediction, one action and an observable result. Then alter a boundary or fault and explain why the evidence changed.

What counts as proof of competence?

A repeatable artifact or system result plus an explanation of the signal path is stronger than time spent, screenshots or a copied answer. Physical competence requires separate supervised evidence.

Why test faults and restart behavior?

Because a level, threshold, hysteresis, sequence, alternation, command, feedback, availability, hydraulic or restart mismatch or failed lead feedback, unavailable lag, stuck level, rapid cycling, high-high level, low level, power return, manual mode and simultaneous faults can expose assumptions that never appear during ideal startup and steady operation.

Can browser practice replace official software or hardware?

No. It can build concepts and diagnostic reasoning. Exact firmware, I/O electrical behavior, networking, safety and commissioning require current official tools, documentation and target equipment.

How should progress be documented?

Keep the requirement, initial state, program or configuration, observed values, fault hypothesis, proving action, recovery result and a concise limitations statement.