The request
“Create an FBD that debounces a bottle sensor for 50 ms, counts each rising edge to 24, and sets BatchDone at the target count.”
Then tryChange the batch target to 12.Add a manual counter reset input.
More like this
Three-network FBD pipeline that debounces a bottle sensor with a 50ms TON, takes the rising edge with RTRIG, counts up to 24 bottles per case with CTU, and self-resets when the case is full. A real production-line pattern that exercises timer + edge-detector + counter + named-instance references in sequence.
“Create an FBD that debounces a bottle sensor for 50 ms, counts each rising edge to 24, and sets BatchDone at the target count.”