On 2 June 2015 at 17:59, Rick Lair <[email protected]> wrote: > I will have to go talk to the guys to see if they will ever use the mist > option, the machine does have all three, mist, flood, and thru spindle.
Thinking about it, Mist + Flood makes no sense at all... So, set up LinuxCNC so that Mist AND Flood turns on through-spindle, and mist-only is mist, flood-only is flood. Then M09 turns off all three options. ie through-spindle = mist AND flood flood = flood mist = mist AND NOT flood. Using LUT5 with mist to pin0 and flood to pin1: through_spindle = 8 mist = 2 (flood can be connected directly) http://www.linuxcnc.org/docs/html/man/man9/lut5.9.html And a tool to help work out the function https://docs.google.com/spreadsheets/d/1_VlL39jUOPpS8Tt9mpRK-eaSTS6C6PHBDoE3JitvLzs/edit#gid=0 loadrt lut5 names=mist,through-spindle addf mist servo-thread addf through-spindle servo-thread ... setp mist.function 0x2 setp through-spindle.function 0x8 net mist-cmd iocontrol.0.coolant-mist => mist.in-0 through-spindle.in-0 net flood-cmd iocontrol.0.coolant-flood => mist.in-1 through-spindle.in-1 net flood-cmd <flood control io pin> net mist-out mist.out <mist control io pin> net through-spindle-out through-spindle.out <through-spindle control pin> Then M27 can just be remapped to M7 M8 -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
