Fault 05 — Scan-Order Race
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
An interlock occasionally trips for no apparent reason. Under normal running it recovers immediately, but the downstream safety relay catches the momentary drop and latches a fault. Use slow-scan step mode to watch the scan execute rung-by-rung and identify the ordering problem.
Objectives
- Use slow-scan step mode to walk through the ladder one scan at a time
- Identify which rung reads a tag before another rung writes it
- Reorder the rungs to eliminate the one-scan lag
- Verify INTERLOCK_OK stays stable with the corrected rung order
Hints
- Switch to Step scan mode and use the "Next scan" button
- Watch VALVE_OPEN and INTERLOCK_OK on consecutive scans
- The fix is a rung reorder — no logic change is required
I/O Table
Inputs
ENABLE_CMDEnable command from HMI
BOOL · %I0.0
Outputs
VALVE_OPENValve solenoid coil
BOOL · %Q0.0
INTERLOCK_OKInterlock-OK signal
BOOL · %Q0.1
Your program will be tested against:
All test cases run automatically when you submit. Assertions are hidden until you pass.
- #1INTERLOCK_OK stable when ENABLE_CMD goes true
On the same scan that ENABLE_CMD transitions, INTERLOCK_OK should go true without a glitch
- #2Both outputs go false when ENABLE_CMD goes false
Disabling command removes both valve and interlock
Related scenarios
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