Technical reference and worked-example guide
CTUD PLC up/down counter instruction: field reference
Direct answer
The reader can predict accumulator, up-done, down-done and edge behavior for increment, decrement, simultaneous, reset and restart cases.
Written for pLC learners and programmers implementing bidirectional counts for queues, inventory, positioning and machine sequences.

System map / 02
Six checkpoints for CTUD PLC up/down counter instruction
Definition
Count-up and count-down events, edge semantics, preset values, accumulator range, reset or load priority, startup and consumers.
Signal path
Physical events through conditioned pulses and CTUD state to done outputs, sequence decisions and independent quantity evidence.
Worked example
Separate up and down pulses producing the expected accumulator and status transitions over consecutive scans.
Limits
Simultaneous CU and CD edges, repeated level, bounce, zero or maximum boundary, reset priority, overflow and restart.
Common mistake
An event-source, pulse, execution-order, parameter, accumulator, output, consumer or retention defect.
Verification
The truth table and boundary cases recreated with the exact target instruction and task behavior.
Answer surface / 07
Questions people ask about CTUD PLC up/down counter instruction
How does a CTUD counter work in PLC logic?
CTUD updates one accumulator from qualified up and down events and exposes threshold states; record how the target handles edges, simultaneous inputs, reset and load.
What happens if CTU and CTD are true together?
The answer is platform-specific. Some implementations cancel the net change while execution order or function-block rules differ, so test the exact target.
Continue the signal path / 08