How about setting up 2 or 4 custom M-codes, 2 that enable and disable the through spindle, but M8/M9 still turns it on and off, then if you want just through spindle without flood, have a 2nd set of custom M-codes that enable/disable the flood. Then for example M108 M119 M8 would turn on just flood, M109 M118 M8 would turn on just through spindle, M108 M118 M8 would turn on both, and M9 would turn off what ever is active at the moment.
----- Original Message ----- From: "andy pugh" <[email protected]> To: "Enhanced Machine Controller (EMC)" <[email protected]> Sent: Tuesday, June 2, 2015 1:58:30 PM Subject: Re: [Emc-users] Coolant control On 2 June 2015 at 18:50, andy pugh <[email protected]> wrote: > setp mist.function 0x2 > setp through-spindle.function 0x8 I should perhaps make it clear that this setup has no way to have through-spindle only. There are only four options with the two IO pins, so assuming you want an all-off mode only three of mist / flood / spindle / mist + spindle / flood + spindle / mist + flood / mist + flood + spindle can be set up. A custom HAL component could be written whereby mist-only, flood-only, mist then flood, flood then mist gave 4 out of the 7. -- 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 ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
