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