Question about Getvar functions

This is where you talk about Plugins. How they are made and how they work, show examples.

Question about Getvar functions

Postby shad » Mon Oct 24, 2016 7:48 pm

Hello Balazs!
Can you give any explain about this functions?
double Getvar(int varnum);
void Setvar(double value, int varnum);
Thank you!
-- Andrew
UC400ETH
UC300ETH-5LPT
NEURON Lite THC
http://neuroncnc.com/
shad
 
Posts: 331
Joined: Thu Sep 15, 2016 5:23 pm

Re: Question about Getvar functions

Postby cncdrive » Thu Oct 27, 2016 9:57 pm

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
cncdrive
Site Admin
 
Posts: 4719
Joined: Tue Aug 12, 2014 11:17 pm

Re: Question about Getvar functions

Postby cncdrive » Fri Oct 28, 2016 9:57 am

Terry, OK, I will port the functions to the Executer class.
cncdrive
Site Admin
 
Posts: 4719
Joined: Tue Aug 12, 2014 11:17 pm


Return to Plugins

Who is online

Users browsing this forum: No registered users and 2 guests