Pro
10 min
CCST 20 — Using the Tag Browser to Verify I/O
ccstdiagnosticstag-browserinteger
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
Use the Variables tab (tag browser) to verify live I/O values. FILL_PUMP should be TRUE only when LEVEL_LOW is TRUE and TANK_SELECT = 1 (INT). Write the logic and confirm it in the Variables tab.
Objectives
- Write FILL_PUMP := LEVEL_LOW AND (TANK_SELECT = 1)
- Use the Variables tab to force TANK_SELECT and confirm FILL_PUMP state
Hints
- Integer comparison: TANK_SELECT = 1 in IEC is TANK_SELECT = INT#1 or just = 1
I/O Table
Inputs
LEVEL_LOWLevel low switch
BOOL · %I0.0
TANK_SELECTTank selector (1=fill)
INT · %IW0
Outputs
FILL_PUMPFill pump
BOOL · %Q0.0
Your program will be tested against:
All test cases run automatically when you submit. Assertions are hidden until you pass.
- #1Fills when low and tank=1
Fills when low and tank=1
- #2Does not fill when tank=2
Does not fill when tank=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