Jog feed %

If you have a question about the software please ask it here.

Jog feed %

Postby TadasM » Wed Dec 07, 2016 7:41 pm

Gents,

I have a question (and I know that it will be a simple answer but I cant figure ít myself)...

I changed field 913 (jog feed %) so once UCCNC is booted it would be at 40%: AS3jog.Setfieldtext("40", 913);
Once UCCNC boots up, I see that the jog field is changed to 40%, but this does not give me actual feed increase from previous setting at 10% until I change feed % with arrow up to 50% and back to 40%. Where is the trick ? :)

Thank You :)
TadasM
 
Posts: 64
Joined: Thu Oct 27, 2016 10:00 am
Location: Lithuania

Re: Jog feed %

Postby ger21 » Wed Dec 07, 2016 8:03 pm

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

Re: Jog feed %

Postby cncdrive » Wed Dec 07, 2016 8:07 pm

Calling the Setfieldtext function only sets the text in the DRO, in other words the new text is only on the screen,
if you want the UCCNC to know about the change, in other words if you want to validate the new value in the DRO then you have to call the Validatefield function on the same field after you changed the text.
cncdrive
Site Admin
 
Posts: 4877
Joined: Tue Aug 12, 2014 11:17 pm

Re: Jog feed %

Postby TadasM » Thu Dec 08, 2016 7:27 pm

Thank You Gents :)
TadasM
 
Posts: 64
Joined: Thu Oct 27, 2016 10:00 am
Location: Lithuania


Return to Ask a question from support here

Who is online

Users browsing this forum: No registered users and 3 guests