plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

Get the book!

If you're really looking to learn about PLCs, you NEED our book...

"Your Personal PLC Tutor - A Guide to Understanding PLCs"

Easy to read and uses 'plain' language!
Get $$FREE$$ priority mail shipping too!!!
You WILL be glad you did!!

Click Here now to order

Reply
 
Thread Tools Display Modes
Old August 20th, 2005, 02:34 AM   #1
oldNovice
Member
United States

oldNovice is offline
 
Join Date: May 2005
Location: San Jose, California
Posts: 13
Unhappy input debouncing

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
  Reply With Quote
Old August 20th, 2005, 02:58 AM   #2
Eric Nelson
Member
United States

Eric Nelson is offline
 
Eric Nelson's Avatar
 
Join Date: Apr 2002
Location: Randolph, NJ
Posts: 3,471
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
  Reply With Quote
Old August 20th, 2005, 01:45 PM   #3
oldNovice
Member
United States

oldNovice is offline
 
Join Date: May 2005
Location: San Jose, California
Posts: 13
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
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Analog Input Fluctuations Steve Etter LIVE PLC Questions And Answers 18 October 20th, 2004 06:34 AM
Analog input issue! NoName LIVE PLC Questions And Answers 9 July 8th, 2004 04:10 AM
AB Analog Input Help GTX LIVE PLC Questions And Answers 2 December 14th, 2003 02:37 PM
input failing thunda LIVE PLC Questions And Answers 20 April 25th, 2003 02:40 PM
1762-IF2OF2 Analog Input Problem davidgay LIVE PLC Questions And Answers 21 September 3rd, 2002 09:11 AM


All times are GMT -5. The time now is 12:00 AM.


.