Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: Blacksmith on May 29, 2015, 11:20:40 AM

Title: DRO for typing in feed rate
Post by: Blacksmith on May 29, 2015, 11:20:40 AM
Is it possible to make a DRO for typing in feedrate?
Title: Re: DRO for typing in feed rate
Post by: rrc1962 on May 29, 2015, 11:30:06 PM
Yes.  Add a DRO, then write a script to write the DRO value to a # variable.  Use that variable in your gcode instead of a federate.   IE: F#5
Title: Re: DRO for typing in feed rate
Post by: Blacksmith on May 30, 2015, 02:38:44 AM
that's exactly what i need, but how do i write a script, do you have a example ?
Title: Re: DRO for typing in feed rate
Post by: ger21 on May 30, 2015, 06:39:37 AM
Look in the Mach4\Docs folder
Title: Re: DRO for typing in feed rate
Post by: patton on May 30, 2015, 09:07:31 AM
You don't need a script to do this.... it can be done with the dropdown settings ...... add a dro.... set it to dro code - feedrate ...... set it to edit in place.

Dave
Title: Re: DRO for typing in feed rate
Post by: patton on May 30, 2015, 09:50:25 AM
You don't need a script to do this.... it can be done with the dropdown settings ...... add a dro.... set it to dro code - feedrate ...... set it to edit in place.

Dave

Correction: dro code needs to be set to feedrate override....... and of coarse it can be done with a script too but this would be an easy way to do it. it lets you click on the dro and put in a number and will set your feed rate.
Title: Re: DRO for typing in feed rate
Post by: McDaigle on May 30, 2015, 09:13:06 PM
I have already done this and just wrote up a quick how to for you.

https://docs.google.com/document/d/1bhJA7qsQ1zGFKvoj1mNsfEgYgSnDT35RfQJ3tgOlxl8/edit?usp=sharing

Let me know if you need anymore info, as this one is a little bit more in depth then you were asking, but it nice that it will not let you set it outside the 1-250% range which you can change and it moves the slider around


-McDaigle