Page 1 of 2

Change default jog feed rate?

PostPosted: Sat Mar 20, 2021 2:13 am
by Dave H
Would like to know if there is a way to change the default jog feed rate upon startup.
When activating the jog slideout panel, the jog rate is set at 10%. Annoyingly slow.
I would like to change that default value to something significantly higher.
Is there a simple way?

Thanks,
Dave

Re: Change default jog feed rate?

PostPosted: Sat Mar 20, 2021 2:50 am
by ger21
Add this to your M99998.txt macro for 100%.

Code: Select all
string jogpercent = "100";
AS3jog.Setfieldtext(jogpercent, 913); // Set Jog Percent
AS3jog.Validatefield(913);

Re: Change default jog feed rate?

PostPosted: Sat Mar 20, 2021 3:26 am
by Dave H
Thank you so much Gerry. Works like a charm!

(I gotta learn to do that kinda stuff....)

Dave

Re: Change default jog feed rate?

PostPosted: Sat Mar 20, 2021 8:15 pm
by Greolt
You can also do the same in your screenset file.
That is what I have done.

Re: Change default jog feed rate?

PostPosted: Sat Mar 20, 2021 9:36 pm
by Dave H
Greolt wrote:You can also do the same in your screenset file.
That is what I have done.


Can you share how you did that?
Just viewed the file, and it is mesmerizing to me. Although,
a few lines looked like they might be the one(s). Curiosity is high.

Re: Change default jog feed rate?

PostPosted: Sat Mar 20, 2021 11:39 pm
by ger21
Search the screenset file for this line, and change the 10 to 100.

AS3jog.Setfieldtext("10", 913);


Note that there are separate sections for each different motion controller, so this line will occur 10 or 11 times.


I forgot you can do it this way.

Re: Change default jog feed rate?

PostPosted: Sun Mar 21, 2021 12:21 am
by Dave H
Thanks again Gerry.
Does that need to be changed in all 10 or 11 places?
Or just under the UC100? (which is the controller I have)

Dave

Re: Change default jog feed rate?

PostPosted: Sun Mar 21, 2021 1:38 am
by ger21
Just in the UC100 section

Re: Change default jog feed rate?

PostPosted: Tue Mar 23, 2021 1:12 am
by Dave H
ger21 wrote:Search the screenset file for this line, and change the 10 to 100.

AS3jog.Setfieldtext("10", 913);


Note that there are separate sections for each different motion controller, so this line will occur 10 or 11 times.


I forgot you can do it this way.


Found out today that this method doesn't work that well. Looks like it only changes the initial appearance of the slider. After this code change, when opening UCCNC the jog slider will show 100% (or whatever you set it to), but the actual jog speed is still at 10%. You have to move the slider a little for the change to take effect. The first method didn't require that when I tested it.

Re: Change default jog feed rate?

PostPosted: Tue Mar 23, 2021 1:20 am
by ger21
Try adding this line right after it.

AS3jog.Validatefield(913);