Hello Guest it is February 04, 2026, 07:59:48 AM

Author Topic: Lua code for coolant buttons?  (Read 5361 times)

0 Members and 1 Guest are viewing this topic.

Lua code for coolant buttons?
« on: April 07, 2017, 11:12:30 PM »
Hi Guys

I have almost finished getting my control panel up and running I have all the buttons working except for my Coolant Control ones.

What I need to know is what Lua command do I need to run in my signal table for:

Mist On

Flood On

Coolant Off

I can call mc.mcCntlGcodeExecute for M7, M8 and M9 but is this the right way to do this?

Thanks for any advice

Steve
Re: Lua code for coolant buttons?
« Reply #1 on: April 10, 2017, 09:31:38 AM »
Wallerawang,
I have momentary buttons to toggle on and off my coolant and spindle.  Is this what you're looking for?
Chad Byrd
Re: Lua code for coolant buttons?
« Reply #3 on: April 10, 2017, 03:34:02 PM »
Thanks - I'll give that a try next weekend.
Steve