Beginner 04 — Stop button (NC contact)
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
The light is on by default. Pressing STOP_BUTTON should turn it OFF. That's a normally-closed (NC) contact — current passes through it until the input is true, then it breaks. This is exactly how a real stop button works: idle = circuit complete, pressed = circuit broken. Same idea as an e-stop.
Objectives
- When STOP_BUTTON is false (released), LIGHT is on
- When STOP_BUTTON is true (pressed), LIGHT is off
Hints
- Use a normally-closed contact, not a normally-open one.
- In IEC, the slash prefix marks an NC contact: | /STOP_BUTTON |.
I/O Table
Inputs
STOP_BUTTONStop push-button (read as NC)
BOOL · %I0.0
Outputs
LIGHTIndicator lamp
BOOL · %Q0.0
Your program will be tested against:
All test cases run automatically when you submit. Assertions are hidden until you pass.
- #1STOP released → LIGHT on
NC contact lets current through when input is false
- #2STOP pressed → LIGHT off
NC contact breaks the rung when input goes true
Related scenarios
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