Pro
8 min
CCST 37 — Interpreting an I/O List
ccstdocumentationI/O-listreading
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
Using only the I/O list below, implement the described control: "Activate PUMP_A when TANK_LEVEL < 40% (LOW_LEVEL_SWITCH) and PUMP_SELECTOR = 1. Activate PUMP_B when LOW_LEVEL_SWITCH and PUMP_SELECTOR = 2."
Objectives
- PUMP_A := LOW_LEVEL_SWITCH AND (PUMP_SELECTOR = 1)
- PUMP_B := LOW_LEVEL_SWITCH AND (PUMP_SELECTOR = 2)
Hints
- PUMP_SELECTOR is an INT tag
- Use separate output rungs
I/O Table
Inputs
LOW_LEVEL_SWITCHTank below 40%
BOOL · %I0.0
PUMP_SELECTORPump selector (1 or 2)
INT · %IW0
Outputs
PUMP_APump A output
BOOL · %Q0.0
PUMP_BPump B output
BOOL · %Q0.1
Your program will be tested against:
All test cases run automatically when you submit. Assertions are hidden until you pass.
- #1Pump A on selector 1
Pump A on selector 1
- #2Pump B on selector 2
Pump B on selector 2
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