input debouncing

oldNovice

Member
Join Date
May 2005
Location
San Jose, California
Posts
13
I have been away from this site for some time because I have been consumed with programming my SoftLogix5000 for my SoftLogix5800 controller.

I am now in need of some help! I need the ladder logic for a input debouncer for both ON and OFF debounce, each with either the same or different filter times (~ 400 mS to 550 mS).

I would appreciate any help on this!

Thanks,
oldNovice
 
I'm not familiar with SoftLogix, but here's an example of debounce logic...

| INPUT +----------+
|----] [---------------| TIM 1 |
| | 0.4 sec. | ON-DELAY
| +----------+
|
| INPUT +----------+
|----]/[---------------| TIM 2 |
| | 0.3 sec. | OFF-DELAY
| +----------+
| TIM 1 TIM 2
|----] [---+---]/[---------( OUT ) DEBOUNCED BIT
| |
| OUT |
|----] [---+


🍻

-Eric
 
Eric,

Thanks! You made my day. I was going the wrong direction simply because I was relying on my old microcontroller assembly programming and started out with an XOR of the current state versus the present state. It worked, to some degree, but was getting way out of hand with logic.

Thanks,
oldNovice
 

Similar Topics

Hi, I have a ControlLogix system with 1756-IF16 analogue inputs. I can't scale the inputs at the card as there is a requirement to facilitate...
Replies
11
Views
260
I'm having trouble calming down 2 Tempo Sonics. I'm using Studio 5000 CompactLogix my Raw value is jumping around from 8575.0 to 8755.0 at a...
Replies
30
Views
1,120
I cannot add SLC500 analog input tag (I: 8.3) to EZSeries Touch Panel Editor (V 5.3). I used all the listed tag datatype but it all says "Invalid...
Replies
10
Views
256
Hi, I have questions. I have Analog Input that need to put into Ignition Designer. But I don't know how to put?
Replies
1
Views
118
Omron AD081-V1 Analog Input Card Offset & Gain Adjustment Entering Adjustment Mode 1. Set the input card in adjustment mode (Turn ON Dip SW No-1)...
Replies
0
Views
87
Back
Top Bottom