#0-#49 is a subroutine local variable that you can use at will. If you need to use system parameters in GCode, you can use #2400-#2500, you can modify them in the configuration page to change the behavior of GCode, of course you need to add relevant parameter configuration in eng (rus, chs) file .
ytliu Posted at 2018-10-30 06:42
#0-#49 is a subroutine local variable that you can use at will. If you need to use system parameters ...
Thanks Ytliu.
And the value of the system parameters can be read from the G-code, or not?
For example, I need to read the value of the parameter #80 to use it for F.
Option G1 X10 F # 80 does not work.
If I write the line #2401=#80 at the end of the "eng" file, and then execute the code G1 X10 F#2401 - this does not work either.
Is there a way to find out the value of #80 from G-code?
Perhaps through slib.nc is this possible?
Correspondence between parameter number and macro variable:
The 0-499 parameter corresponds to the #500-#999 macro variable;
The 2000-2499 parameter corresponds to the #2000-#2499 macro variable;