On Thursday 14 August 2014 21:36:26 Jack Coats did opine And Gene did reply: > In an old college class, they did a proof that it takes a nor or nand > to generate a 'complete logic system'. Meaning you can build all the > various logic functions from either of those forms. It is not > possible to generate them from and or or logic. The inverter is the > only thing that is needed to complete the logic system. > > Logically, with an xor, you can tie one of the inputs high, and it will > generate an inverted output of the other input. Effectively using an > xor as an inverter. > > I don't know how to implement it in LinuxCNC, but the digital logic > allows the option. > > On Thu, Aug 14, 2014 at 7:15 PM, andy pugh <[email protected]> wrote: > > On 15 August 2014 01:06, Gene Heskett <[email protected]> wrote: > > > In fact, I was wishing I had a 4 input and at one point today. > > > > You can use http://www.linuxcnc.org/docs/html/man/man9/logic.9.html > > to create a 4-input AND OR or XOR, but not the inverted version.
I'll see if I can master that, looks as handy as sliced bread for some problems. This is somewhat similar to a lut5 in load setup. I have only used lut5 once, but I can sure see where its at least as valuable as the logic module. Thanks Jack. Maybe I can cobble up the two functions I need tomorrow. I'm about fried on it for today. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
