Peter,
This illustrates just one aspect of my idea about having both "real-time" and "PLC-time" combined into the same system!
Imagine, just as I suggested, a long time ago, Steve remembers, that each Input bit actually consists of an Input-Word, or at least an Input-Byte.
The hardware associated with each Input-Bit indicates not only the current state of the Input but also the number of times that it has transitioned between scans.
So, to acquire the state of the Input is also to acquire the number of OFF-to-ON transitions between scans.
Pull out any Input card and look at the topography of the chips involved. There is a tremendous amount of "real-estate" available!
Now, consider the amount of "real-estate" taken up by an 8088. Each Input could easily accommodate a "local, dumb processor"!
This means that a "debouncer" can be "built-in".
Now, look at what is packed onto a Pentium. The Pentium has a "built-in cache". Something, somewhere, between an 8088 and a Pentium could EASILY provide State and programmer-validated COUNT INFO on a Discrete Input basis.
EVERY SINGLE INPUT CAN BE A REAL-TIME COUNTER as well as a simple State-Indicator.
You can then examine a particular Input based soley on "current-state" or you could examine in terms of "current-state plus accumulated transitions"!
Granted, this would require a wider bus... but buses are getting logically wider and physically smaller all the time!
TWENTY-FIVE years ago I was working with buses that were 64-bits wide! At the time, that was right behind CRAY Computing; they were using a 128-bit wide bus!
The Primary Customers of CRAY Computing are the CIA and NSA!
Where the hell do you think CRAY is now???
Geeeee...... What if.....? What if someone got their $hit together?
(171)