Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Lamp on December 14, 2020, 01:18:40 PM

Title: Control a stepper for mist cooling
Post by: Lamp on December 14, 2020, 01:18:40 PM
Hello,

i have a mist cooling which will work with a stepper motor hose pump.
Now i want to control it with Mach4.
I have a slider where i want to choose the speed and a button to switch the stepper on and off.
Anybody have an idea how can i write a function to run the motor always if the button turn on and switch it off with the other function?

thanks