Counters
Counters count events: parts, cycles, button presses.
What it does
A counter adds or removes 1 on each rising edge of its input and compares its current value with a preset. It keeps its value until it is reset. CTU counts up, CTD counts down, CTUD does both. Each counter has its own memory (a COUNTER variable).
When to use it
Count the parts of a batch, boxes on a conveyor, motor starts, free spots in a parking lot.
In this category
- CTUUp counter (CTU)Counts rising edges of CU; Q / DN turns 1 when CV / ACC ≥ PV / PRE.Counts rising edges of CU; Q turns 1 when CV ≥ PV.Counts rising edges of CU; DN turns 1 when ACC ≥ PRE.
- CTDDown counter (CTD)Counts down rising edges of CD from the preset PV / PRE, loaded by LD.Counts down rising edges of CD from the preset PV, loaded by LD.Counts down rising edges of CD from the preset PRE, loaded by LD.
- CTUDUp/down counter (CTUD) (European)Counts up on CU, down on CD; QU / DN when CV / ACC ≥ PV / PRE, QD when CV / ACC ≤ 0.Counts up on CU, down on CD; QU when CV ≥ PV, QD when CV ≤ 0.Counts up on CU, down on CD; DN when ACC ≥ PRE, QD when ACC ≤ 0.