Counter with debounc

ivohra

Member
Join Date
Aug 2007
Location
Herts
Posts
3
Hi,

I have a simple application for a Allen Bradley 1500 microcontroller is used to count input signals. There could be over a hundered of these. This is for a basic turnstile system to count the numbers through each turnstile.

Does anyone have any examples or ideas of how I could have a debounce for each input.

Many thanks for this.
 
ivohra said:
Hi,

I have a simple application for a Allen Bradley 1500 microcontroller is used to count input signals. There could be over a hundered of these. This is for a basic turnstile system to count the numbers through each turnstile.

Does anyone have any examples or ideas of how I could have a debounce for each input.

Many thanks for this.

What exactly do you want to debounce? The count itself or how often it can occur ? I think you need to explain yourself a little bit better to get an accurate answer.
 
Here is the debounce logic I typically use. This logic debounces the input in both directions (rising edge & falling edge).

Debounce.png



-Trevor
 
The input gets a signal from the turnstile actuator. This is a human turnstile so a maximum of one actuation every 0.5sec is all that should happen. However, because of the way the hardware is, we get multiple signals coming through every time the turnstile gets actuated.
 
Thanks a lot, both these worked and is just what I was looking for. Guess it is quite simple at the end of the day.

-ivohra
 

Similar Topics

Hi Guys, I have a 1769-L24-QBFCB1 that has the OK light flashing on the embedded counter module. The manual states it is a resettable fault, but...
Replies
0
Views
104
Hey Everyone, After reading a lot on this forum and elsewhere I see not many are fond of the 1794-VHSC module. I can see to a degree as I was...
Replies
3
Views
154
Hello Folks, Has anyone configured a Momentum high speed counter on Unity 13.1. We need the wiring diagram for Momentum High speed counter and...
Replies
0
Views
76
Hi all, I am working with an incremental encoder (ABZ signals, 360 ppr (so 1440 counts per rev)) to replace the existing "manual" encoder wheel I...
Replies
51
Views
2,610
Hi y'all Just a quick question for using Rslogix 5000 I'm using a counter up bit with an analog signal (0-10V). When 10V is measured, counter...
Replies
5
Views
232
Back
Top Bottom