Hello Guest it is May 16, 2021, 05:32:08 PM

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

0 Members and 1 Guest are viewing this topic.

Reset spindle speed at startup
« on: November 04, 2016, 10:27:29 AM »
Hello,
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
Joe
Re: Reset spindle speed at startup
« Reply #1 on: November 11, 2016, 04:13:34 AM »
Hi,
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()
setOEMdro(74,100)
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.

Craig
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.