Change default jog feed rate?

Post anything you want to discuss with others about the software.

Change default jog feed rate?

Postby Dave H » Sat Mar 20, 2021 2:13 am

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
Dave H
 
Posts: 6
Joined: Tue Nov 06, 2018 3:58 am

Re: Change default jog feed rate?

Postby ger21 » Sat Mar 20, 2021 2:50 am

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);
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am

Re: Change default jog feed rate?

Postby Dave H » Sat Mar 20, 2021 3:26 am

Thank you so much Gerry. Works like a charm!

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

Dave
Dave H
 
Posts: 6
Joined: Tue Nov 06, 2018 3:58 am

Re: Change default jog feed rate?

Postby Greolt » Sat Mar 20, 2021 8:15 pm

You can also do the same in your screenset file.
That is what I have done.
Greolt
 
Posts: 239
Joined: Sun Sep 04, 2016 6:22 am

Re: Change default jog feed rate?

Postby Dave H » Sat Mar 20, 2021 9:36 pm

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.
Dave H
 
Posts: 6
Joined: Tue Nov 06, 2018 3:58 am

Re: Change default jog feed rate?

Postby ger21 » Sat Mar 20, 2021 11:39 pm

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.
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am

Re: Change default jog feed rate?

Postby Dave H » Sun Mar 21, 2021 12:21 am

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
Dave H
 
Posts: 6
Joined: Tue Nov 06, 2018 3:58 am

Re: Change default jog feed rate?

Postby ger21 » Sun Mar 21, 2021 1:38 am

Just in the UC100 section
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am

Re: Change default jog feed rate?

Postby Dave H » Tue Mar 23, 2021 1:12 am

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.
Dave H
 
Posts: 6
Joined: Tue Nov 06, 2018 3:58 am

Re: Change default jog feed rate?

Postby ger21 » Tue Mar 23, 2021 1:20 am

Try adding this line right after it.

AS3jog.Validatefield(913);
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am

Next

Return to General discussion about the UCCNC software

Who is online

Users browsing this forum: No registered users and 11 guests