Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: leversole on March 11, 2016, 10:22:26 PM

Title: Slow Jog % DRO
Post by: leversole on March 11, 2016, 10:22:26 PM
Is there any way have some code that rights a value to the Slow Jog % DRO? I have an up and down button that incrementally sets the value...would like a single button set it to , lets say 90%...another button set it to 5%...

Thanks in Advance
Title: Re: Slow Jog % DRO
Post by: ger21 on March 12, 2016, 12:17:19 AM
Yes,but you need to add or edit a button in a screen editor.
Then right a script to set the DRO to the value that you want.

There's a link in the doc section at machsupport.com to the customization wiki, which lists the DRO numbers.

You'd want something like this:
SetOEMDRO(DRO#, Value)
Title: Re: Slow Jog % DRO
Post by: leversole on March 12, 2016, 07:24:50 AM
Thanks Gerry!

I didnt think to do it thataway! I was looking at some like "Slow Jog % DRO=x"...I forgot about setoemdro!