Hello Guest it is March 28, 2024, 08:28:42 PM

Author Topic: PWM Mach4  (Read 297 times)

0 Members and 1 Guest are viewing this topic.

PWM Mach4
« on: May 08, 2023, 12:57:25 PM »
What is the lower PWM range for Mach4 spindle?
 
Re: PWM Mach4
« Reply #1 on: May 08, 2023, 04:33:57 PM »
So many people have questions regarding how PWM works for spindle control in MACH4.

I'll give you a few details.

The PWM signal has a duty cycle, which is a product of the commanded S value vs the overall spindle speed for the SPINDLE RANGE you're in.
Duty cycle is simply the percentage of active time of a signal over a given time period.
So if your max spindle speed is 10k RPM (declared in the spindle tab, CONFIGURE > CONTROL > RIGHT ARROW OVER TO SPINDLE TAB)

Assuming a max speed of 10k, when you command a speed of 5k you'll have a 50% duty cycle on your PWM signal.

If you question is regarding the lower frequency ranges permitted by PWM in general, I'd have to check with someone but I'm pretty sure the limitation is   strictly hardware based.
Re: PWM Mach4
« Reply #2 on: May 08, 2023, 04:42:33 PM »
Yeah I am familiar with PWM, I am just designing a DC motor drive that I want to make compatible with another application also that uses 20hz PWM control signal.