how to make M7 (mist on) generate step pulses

  • mikeT
  • mikeT's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
09 Aug 2025 11:34 #333111 by mikeT
Hello Andy,

Thanks again for your support.
Inputting "halcmd setp stepgen.4.velocity-cmd 40" from the terminal, while a session of LinuxCNC is cutting metal, works well and is so easy to do.
Now I can adjust (and optimise) the MQL flow rate on the fly, It also allows me to easily use different flow rates for both neat synthetic fluids and also water soluble coolant.

It would be cool to control the flow rate from a virtual slider pot on the AXIS virtual control panel, but I suspect that would be well above my 'pay scale'

Thanks again

Mike

Please Log in or Create an account to join the conversation.

More
09 Aug 2025 11:49 #333113 by rodw
You can do it! It will depend on you GUI. some may even have the ability to program a slider. Have a browse in the linuxcnc docs as its all documented
 

Please Log in or Create an account to join the conversation.

  • mikeT
  • mikeT's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 Aug 2025 15:34 #333167 by mikeT
Can you help with how to control the flow rate from a virtual slider pot on the AXIS virtual control panel.

Mike

Please Log in or Create an account to join the conversation.

More
10 Aug 2025 16:07 #333172 by andypugh
Replied by andypugh on topic how to make M7 (mist on) generate step pulses
I don't normally recommend PyVCP as it is not very flexible, but in this case it is probably a good choice.

linuxcnc.org/docs/stable/html/gui/pyvcp.html

The example panel in section 4.1 is very close, you would just swap the bar for a slider, and connect to stepgen.4.velocity-cmd instead of the spindle speed.

Please Log in or Create an account to join the conversation.

Time to create page: 0.067 seconds
Powered by Kunena Forum