Hello Guest it is May 14, 2021, 02:38:38 AM

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

0 Members and 1 Guest are viewing this topic.

Lua code for coolant buttons?
« on: April 08, 2017, 12:12:30 AM »
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, 10: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, 04:34:02 PM »
Thanks - I'll give that a try next weekend.
Steve