Learn PLCs free
Ladder Logic ElementsIntermediateAdvanced
1 min read
Updated 2025-11-10
Intermediate

CTUD (Up/Down Counter)

CTUD - CTUD (Up/Down Counter)

Bidirectional counter with separate count up and count down inputs.

Key Takeaways

  • Bidirectional counter with separate count up and count down inputs.
  • Intermediate-level topic in Ladder Logic Elements

Detailed Definition

Bidirectional counter with separate count up and count down inputs. This term is essential for understanding ladder logic in industrial automation and PLC programming.

Ladder logic relies on CTUD (Up/Down Counter) as part of the small set of primitives that combine into every conceivable PLC program. Bidirectional counter with separate count up and count down inputs.

From the PLC's perspective, CTUD (Up/Down Counter) executes during the program-execution phase of the scan cycle, where each rung is evaluated left-to-right and the corresponding outputs are updated before the controller writes physical I/O. Understanding when CTUD (Up/Down Counter) executes — and how it interacts with the scan cycle — is the difference between code that works in simulation and code that works on real hardware.

For ladder programmers, CTUD (Up/Down Counter) is one of the components you reach for instinctively after enough rungs. The visual nature of ladder makes it readable to electricians and operators in a way that text-based languages aren't, which matters in environments where maintenance happens at 2 AM by whoever is on call.

Common Questions

What is CTUD (Up/Down Counter)?

Bidirectional counter with separate count up and count down inputs.

What are related concepts I should learn?

To fully understand CTUD (Up/Down Counter), you should also familiarize yourself with TON (Timer On-Delay), TOF (Timer Off-Delay), and CTU (Count Up). These concepts work together in industrial automation systems.

Was this helpful?

Let us know if this glossary term helped you understand CTUD (Up/Down Counter) better.

Your feedback helps us improve our glossary and create better content for the PLC programming community.

Quick Info

Difficulty
Intermediate
Tier
Advanced

About Ladder Logic Elements

Contacts, coils, timers, counters, and ladder diagram components

Total Terms:70
Difficulty:Beginner to Intermediate

Free PLC simulator

Stop reading, start doing

Write ladder logic in your browser, hit Run, and watch real machine scenarios react. 12 guided lessons across 8 PLC dialects — free account, no credit card.

Practice PLCs free →