On Thursday 30 May 2013 11:17:32 andy pugh did opine: > On 30 May 2013 14:40, Gene Heskett <[email protected]> wrote: > > I sent a decent part of yesterday scribbling logic diagrams w/o coming > > up with anything that looks like it would work. The truth tables > > seem to be mutually exclusive. > > LUT5 is just a lookup, not a truth table, so every possible > combination of inputs has an output. > > You may need to create inputs such as spindle-was-running and > spindle-was-stopped to get what you need.
Humm, how about spindle-is-stopped, and spindle-is-running? Drive a flipflop with an edge module. Basically the outputs of the oneshot watching the encoders Phase_A= one is spindle-is-stopped, and the other output is spindle-is-running. So, 'and' the spindle-on signal with the oneshot's timed out=true to get a 'set' for a 'flipflop'. And 'invert' the spindle-on to get the flopflop's unconditional reset. I think that would work. But what should I use for the flipflops clock? An 'edge' of the output of the 'and' to get the clock? I'll see if I can hack that up when I get back from the dentist. Thanks Andy. Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) My web page: <http://coyoteden.dyndns-free.com:85/gene> is up! My views <http://www.armchairpatriot.com/What%20Has%20America%20Become.shtml> She was good at playing abstract confusion in the same way a midget is good at being short. -- Clive James, on Marilyn Monroe A pen in the hand of this president is far more dangerous than 200 million guns in the hands of law-abiding citizens. ------------------------------------------------------------------------------ Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with <2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
