debounce

sas11

Member
Join Date
Mar 2008
Location
Virginia
Posts
36
Hello Again,
Simple question for you guys. I am having trouble with a n.c. air pressure switch. I believe I need to have some debounce? in my program. But i do not know how to write it. Could someone provide me with a rung example? If it matters i am using Direct Logic from automation direct.

Thanks
 
You will need to setup a "debounce' timer.
Your sensor starts the timer and the timer is done timing after a preset
amount of time which you need to determine (100mSecs will do just fine for starters).
Once the timer is done timing do the logic that you intented to do when the sensor was made.
Setting up a debounce timer avoids rapid/false triggering.
Hope this helps.
 
Sas,

If your switch is Normally Closed, and opens at some pressure, then when it opens, start a timer, wait for switch to settle out, then use the "Timer Finished" bit to perform the next step of your control (whatever it may be). This will prevent a situation where the switch opens, closes, then opens again, causing erratic operation of your machinery.
 

Similar Topics

Hi guys, I am pretty new when it comes to programming. I am working with CX-Programmer and I am having a problem where I have a sensor on my...
Replies
6
Views
617
Hi Group I have an on/off type steam valve which is set to maintain temperature in a vessel. If the PV drops below setpoint, the valve is...
Replies
4
Views
1,659
Working with a huge PLC 5 program that does not have much memory left in the processor and it has about 600 alarms in all and about 270 of them...
Replies
12
Views
4,072
Ok, I'm using Rockwell's PlantPax add on instructions. In the package there is a Digital-In function that has a "Debounce" option, which doesn't...
Replies
7
Views
6,533
Hello, I'm having a problem with the parts counter on our robot cell, sometimes it's double counting the parts. I was wondering if someone could...
Replies
4
Views
4,775
Back
Top Bottom