Page 1 of 1

Jog feed %

PostPosted: Wed Dec 07, 2016 7:41 pm
by TadasM
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 :)

Re: Jog feed %

PostPosted: Wed Dec 07, 2016 8:03 pm
by ger21
Validatefield() maybe?

Re: Jog feed %

PostPosted: Wed Dec 07, 2016 8:07 pm
by cncdrive
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.

Re: Jog feed %

PostPosted: Thu Dec 08, 2016 7:27 pm
by TadasM
Thank You Gents :)