Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: dfurlano on July 05, 2013, 10:44:28 AM

Title: Spindle Override
Post by: dfurlano on July 05, 2013, 10:44:28 AM
Is there a command I can place in the gcode file that will reset the spindle override? 

I sometimes adjust the override and I the sometimes forget to reset it,  thinking I can resolve this by just adding a command to reset the spindle override at the beginning of each program.

TIA

Dan
Title: Re: Spindle Override
Post by: Chaoticone on July 05, 2013, 11:13:58 AM
Sure can, you could create a custom macro and call it from your g code or add it to the init string in general config.  Just open the script editor, write you macro and save as M3333.m1s for example.  then add the M3333 to your gcode files.  All the macro would need would be SetOEMDRO(*,100)  Replace the star with the dro number for spindle percentage........... can't remember the number.

Brett
Title: Re: Spindle Override
Post by: dfurlano on July 05, 2013, 11:30:44 AM
Brett,

I looked up the feedrate is 821 and the spindle is 74. Might as well do both.

Thanks.

Dan