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 looking to install a smaller less sophisticated PLC for fountain timing and also one analog pressure sensor which would be used to detect...
Replies
23
Views
609
Hello All, After trying to transfer some field changes on the safety scanner microscan3, and verifying, the device is stuck at .... waiting for...
Replies
0
Views
78
I have a 120V relay, 120V DI card and a analog input. I was wanting to know if i could put a 24V DI and well as a 120V DI card on the same plc...
Replies
1
Views
106
Hello, I'm looking for a dirt cheap digital display + input, that would be wired to an analog input and analog output. This would be for my home...
Replies
10
Views
285
Hello, I am trying to read a barcode scanner input using a cognex dataman 280 barcode reader, store it another string, the compare with another...
Replies
1
Views
109
Back
Top Bottom