Table of Contents

High-Speed Counting: Hardware vs. Software

Standard inputs on a controller check for a signal once every “cycle” (like taking a photo every second). If you are trying to count something fast—like a spinning fan blade or water flowing through a meter—the signal might be too quick for the controller to see. It might happen *between* the photos.

For these tasks, you need Hardware Counting.

1. How It Works

Instead of the main computer trying to “see” every pulse, a specialized chip on the controller does the counting for you. It never sleeps and never blinks. It counts every single electrical pulse, no matter how fast, and just sends the final total to the main computer.

2. Setup Tips

3. A Critical Setting: Debounce

“Debounce” is a filter designed to ignore “jitters” from messy switches.

 Adjusting Debounce Time in Properties