1
General Mach Discussion / Re: Changing Spindle Speed
« on: September 08, 2018, 04:19:33 AM »
It has been a long time since I solved the problem.
I thought I'd share my solution with the forum.
I eliminated the need to use S commands.
I used one of Mach's 6 axis which I previously didn't use to sent pulses to an Arduino board.
The Arduino board then counts the pulses and outputs the right pwm signal which in turn goes to the inputs of my motor's inverter.
As per changing the feed rate, I can change that at every second line without much vibrations, it is like night and day compared to changing feed rate and spindle speed in the same line.
Might not be the most legit solution out there but it works for me.
Thank you Tweakie
I thought I'd share my solution with the forum.
I eliminated the need to use S commands.
I used one of Mach's 6 axis which I previously didn't use to sent pulses to an Arduino board.
The Arduino board then counts the pulses and outputs the right pwm signal which in turn goes to the inputs of my motor's inverter.
As per changing the feed rate, I can change that at every second line without much vibrations, it is like night and day compared to changing feed rate and spindle speed in the same line.
Might not be the most legit solution out there but it works for me.
Thank you Tweakie