Page 1 of 1

Question about Getvar functions

PostPosted: Mon Oct 24, 2016 7:48 pm
by shad
Hello Balazs!
Can you give any explain about this functions?
double Getvar(int varnum);
void Setvar(double value, int varnum);
Thank you!

Re: Question about Getvar functions

PostPosted: Thu Oct 27, 2016 9:57 pm
by cncdrive
With Getvar and Setvar you can read and write the internal variables of the UCCNC which are the same variables you can program in g-code and via MDI with the # suffix.
e.g. #100 = 1.2345

Re: Question about Getvar functions

PostPosted: Fri Oct 28, 2016 9:57 am
by cncdrive
Terry, OK, I will port the functions to the Executer class.