Pro
8 min
CCST 33 — Mode Selector (Auto/Manual)
ccstHMImodeautomanualMUX
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 HMI MODE_SELECT bit (0=Manual, 1=Auto) controls which source commands the CONVEYOR output. In Auto mode, use AUTO_START; in Manual use MANUAL_START.
Objectives
- CONVEYOR := AUTO_START when MODE_SELECT = TRUE
- CONVEYOR := MANUAL_START when MODE_SELECT = FALSE
- Implement a mode-select MUX
Hints
- IF MODE_SELECT THEN CONVEYOR := AUTO_START; ELSE CONVEYOR := MANUAL_START; END_IF
I/O Table
Inputs
MODE_SELECTMode (TRUE=Auto)
BOOL · %I0.0
AUTO_STARTAuto start signal
BOOL · %I0.1
MANUAL_STARTManual start button
BOOL · %I0.2
Outputs
CONVEYORConveyor output
BOOL · %Q0.0
Your program will be tested against:
All test cases run automatically when you submit. Assertions are hidden until you pass.
- #1Auto mode uses AUTO_START
Auto mode uses AUTO_START
- #2Manual mode uses MANUAL_START
Manual mode uses MANUAL_START
- #3In auto, manual button has no effect
In auto, manual button has no effect
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