Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: vw_man99 on February 22, 2021, 11:14:13 AM

Title: Mach3 PWM spindle works on Diagnostics, not on ProgramRun
Post by: vw_man99 on February 22, 2021, 11:14:13 AM
Hi All, Setting up Mach3 on a mini 5axis mill. Have the axis, homes, outputs working. Moving on to the spindle with PWM control, the spindle works from the Diagnostics screen but when I try from the Program and MDI screens it will not turn on. Screenset is the six axis, but have tried the default screenset also with same results. Any ideas appreciated.
Thanks.
Title: Re: Mach3 PWM spindle works on Diagnostics, not on ProgramRun
Post by: Peter Homann on February 22, 2021, 06:47:20 PM
Hi
If the spindle works by toggling the Spindle button on the Mach3 screen, but not when you type M3 in the MDI window, have a look at what is in the M3 macro located in the macro directory for the profile you are using.
Cheers
Peter
Title: Re: Mach3 PWM spindle works on Diagnostics, not on ProgramRun
Post by: Peter Homann on February 22, 2021, 06:49:24 PM
Also check that the pin being used for the PWM output is not also assigned to another function.
Title: Re: Mach3 PWM spindle works on Diagnostics, not on ProgramRun
Post by: vw_man99 on February 23, 2021, 04:57:44 PM
Thanks Peter, updating the macros fixed it.
I thought setting up the spindle output pins would update the macro - guess not.
Next step is spindle feedback and axis calibration  :)
Title: Re: Mach3 PWM spindle works on Diagnostics, not on ProgramRun
Post by: Peter Homann on February 25, 2021, 03:50:17 PM
Thanks Peter, updating the macros fixed it.
I thought setting up the spindle output pins would update the macro - guess not.
Next step is spindle feedback and axis calibration  :)
Good to hear.
Cheers,

Peter