Update on my double counting problem

CJones

Member
Join Date
Aug 2007
Location
South Carolina
Posts
55
Thanks For All The Help

After spending almost every moment since last posting working on my problem a solution presented itself yesterday.

I added a rung under the original (the one that counted the sensor closures), on that run I added a timer that was enabled by the sensor closure with a timebase of .50, then placed the done bit after the original XIO (which was a XIC) now it appears that if the closure is less than .50 that it doesn't get counted (the bird makes a closure of about .75)

I did many of the other things that were mentioned in the original post also, and today had a log that looked like something.

The timer idea came from of all places a sensor saleman that said he had a sensor that had a built in timer that could hide the false counts, (the sensor was 400.00 apiece) We didn't get any of the sensors but it made my project work.

Now what do I do Tommorow?

Thanks Again

Clint
 
Input debounce is an extremely common use of PLC timers.

Hook up an oscilloscope to a DC pushbutton input some time and take a look at the trace; you'll be amazed at how erratic the voltage is when you focus in at a small timebase. The same effect comes from any physical contact device like a limit switch, and can certainly come from solid-state devices like photoeyes or proximity switches.

Some PLC's have built-in filtering, usually configurable, on their inputs but typically it is only meant to address contact bounce or electrical noise and isn't more than about 100 milliseconds maximum.

Sounds like it was a very good learning experience about the way things in the real world outside the logic program affect your coding. Thanks for posting the followup.
 

Similar Topics

How do you install update on Red Lion Crimson ver 3.1. Do I just need to run the exe file on the host server?
Replies
1
Views
103
Has anyone found a way to convert/replace/update the firmware on old Parker TS80xx series HMIs (i.e. TS8010, TS8006, etc) to accept Crimson...
Replies
0
Views
89
Hi All, we've recently upgraded from FTView SE v10 to v12. Since the upgrade we've been having a problem where the HMI is slow to update tags in...
Replies
0
Views
87
Hi, I have an iFIX 5.5 project (Windows 7) that needs to be updated to version 6.5 (Windows 10). iFIX communicates with the "Siemens Industrial...
Replies
1
Views
170
Hi I have a number of the older PanelView Plus 600 HMI's (2711P-T6C20D, Ser D) that I want to update to the latest firmware. I believe that the...
Replies
10
Views
452
Back
Top Bottom