Hello Guest it is July 07, 2022, 12:38:22 AM

Author Topic: Reset spindle speed at startup  (Read 1691 times)

0 Members and 1 Guest are viewing this topic.

Reset spindle speed at startup
« on: November 04, 2016, 10:27:29 AM »
I am hoping someone can help me with a small, but annoying, problem.  When I start Mach3, the spindle speed SRO% is at 0% instead of 100%, so if I try to run a program without manually hitting the reset SRO button, my spindle won't turn (VFD controlled spindle).  Does anyone know how to reset the initial spindle speed SRO% value from 0 to 100?  Thanks
Re: Reset spindle speed at startup
« Reply #1 on: November 11, 2016, 04:13:34 AM »
when I fire up Mach3 I get SRO=100% as default. Don't know how to change that.

You could write a script and perform that script as initialisation string, a work around to be
sure but I think a workable one.

Use 'Edit VBscrpit' on 'operator menu'

sub main()
end sub

and save it as m150 say if m150 is not already in use.

The first argument is the DRO number of the Speed Rate Over Ride=74.
The second argument is the desired percentage over ride, 100 in this example.

Then add 'm150' to your 'initialisation string' on the 'General Config' page.

My wife left with my best friend...
     and I miss him!
Re: Reset spindle speed at startup
« Reply #2 on: November 11, 2016, 11:14:58 AM »
That's a great idea.  I'm going to do it now.