|
Hi!
I want to propose a simple, but powerfull addition to DNCNC, which would enhance its functionality a lot: input values during execution.
In the current version, you can switch to the paramter page, chage some values there (since some updates also user defined (#2000++)) and use this values during G-Code execution.
But it would be nice to do this "on demand" during a G-Code execution. May be it is not a big deal to use more or less the same syntax as for the settings file.
there it is
#1 -t2 -s1 "language setting" -m16 -min = 0.000 -max = 1.000 -i0 "Eng" -i1 "Chinese"
#n n is the parameter number (0-499), n + 500 is the macro variable number of this parameter;
-t is used to specify the type of parameter, t0 is an integer, t1 is a real number, and t2 is a selection type.
-s1 defines the name of the parameter;
-s2 defines the parameter unit;
-m parameter group, m0 that the parameters in the parameter configuration page does not show;
-min minimum parameter
-max maximum parameter
-i The text of the relevant entry is configured through it when the parameter type is selection type;
May be a M-function like
M123 (xxx), where xxx is identical to a corresponding settings-file instruction (ignoring the -m field...), which is displayed like the M110 ()-comments in the last line
would be possible.
Only a wish, but that would be realy a big step for general purpose macros!
Cheers
Josef
|
|