Pro
10 min
CCST 17 — Diagnose: Counter Never Resets
ccstdiagnosticscounterCTUreset
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
A batch counter reaches PV but the reset rung is missing — BATCH_DONE stays latched permanently. Add the reset so the counter recycles after ACK.
Objectives
- Identify the missing CTU reset rung
- Add a reset using ACK_PB
- Verify counter cycles again after reset
Hints
- CTU.R clears CV back to 0
- CTU_1(CU:=PART_IN, R:=ACK_PB, PV:=5)
I/O Table
Inputs
PART_INPart sensor
BOOL · %I0.0
ACK_PBAcknowledge button
BOOL · %I0.1
Outputs
BATCH_DONEBatch done output
BOOL · %Q0.0
Your program will be tested against:
All test cases run automatically when you submit. Assertions are hidden until you pass.
- #1Done after 5 parts
Done after 5 parts
- #2Resets after ACK
Resets after ACK
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