Pro
12 min

Fault 04 — Stuck Input

fault-injectionruntimestuck
Fault 04 — Stuck Input 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 tank filling system never fills. The pump never turns on. A quick visual check of the empty tank suggests the sensor should be reporting "not full" — but the pump still won't start. Use the I/O panel and Variables tab to diagnose.

Objectives

  • Observe the LEVEL_SENSOR reading in the I/O panel / Variables tab
  • Use a force override to temporarily clear the sensor input
  • Confirm the pump runs when the sensor is forced off
  • Correctly identify the fault as a stuck physical sensor

Hints

  • Open the I/O tab — check if LEVEL_SENSOR is reading correctly
  • Try forcing LEVEL_SENSOR to false in the I/O panel. What happens to the pump?
  • If forcing the input makes the system work, the ladder is correct — the fault is in the physical hardware

I/O Table

Inputs

LEVEL_SENSOR

High-level float switch (true = tank full)

BOOL · %I0.0

Outputs

FILL_PUMP

Fill pump contactor

BOOL · %Q0.0

FULL_LAMP

Tank-full indicator lamp

BOOL · %Q0.1

Your program will be tested against:

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

  1. #1Pump runs when sensor is not active

    LEVEL_SENSOR false → FILL_PUMP ON

  2. #2Pump stops when tank is full

    LEVEL_SENSOR true → FILL_PUMP OFF, FULL_LAMP ON

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