Six to one, half dozen to the other, looks like either way is going to accomplish what I was looking for,
I think it would be easier to just tag a M28 to the M09 command, and be done, but I'm not a developer, so I can't alter the M code to make it available for re-map, and I already cause enough head-aches at times I'm sure, so I will just leave well enough alone. Thanks Again Andy, On 6/3/2015 7:29 AM, andy pugh wrote: > On 3 June 2015 at 11:51, Rick Lair <[email protected]> wrote: >> To a certain extent, I guess I didn't fully understand how the lut5 >> component worked, > LUT5 is really obvious to programmers to the 1 in 10 people who think > in binary. And a bit of a puzzle to the others. > > It would be possible to achieve the same result in HAL with ordinary > logic functions, but I think it is more confusing and it is a little > harder to alter the logic. > > For example > flood = flood AND (NOT mist) > mist = (NOT flood) AND mist > spindle = flood AND mist > > loadrt and2 count = 3 > loadrt not count=2 > ... > addf and2.0 servo-thread > addf and2.1.servo-thread > addf and2.2 servo-thread > addf not.0 servo-thread > addf not.1 servo-thread > ... > net flood-cmd iocontrol.0.coolant-flood => and2.0.in0 and2.3.in0 not.0.in > net not-flood not.0.out => and2.1.in1 > net mist-cmd iocontrol.0.coolant-mist=> and2.1.in0 and2.3.in1 not.1.in > net not-mist not.1.out => and2.0.in1 > > net flood-out and1.0.out => gm.0.rs485.0.relay-0 > net mist-out and2.1.out => gm.0.rs485.0.relay-1 > net spindle-out and2.2.out => gm.0.rs485.0.relay-2 > > -- Thanks Rick Lair Superior Roll & Turning LLC 399 East Center Street Petersburg MI, 49270 PH: 734-279-1831 FAX: 734-279-1166 www.superiorroll.com ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
