Any progress with variables / parameters?
-
About a year or so ago I read that the implementation of variables and arithmetics was on the way. I just wonder if this work has moves forward?
It would just be wonderful to have this on the Duet. When or if it is implemented the Duet would fully match UCCNC, mach3/4 AND linuxcnc.
-
The basic code for loops and conditional blocks is already in RRF3. What's missing is expression evaluation, and a lot more work on the object model maintained by RRF so that variables of interest can be used in those expressions. I have some more work to do on supporting Duet 3 expansion boards fully in RRF before I can return to that.
-
Sounds super! Not that far away then. Are you planning to do a similar implementation as in: http://linuxcnc.org/docs/html/gcode/overview.html#_parameters
Or are you heading in some other direction?
Best regards
Rickard -
@rzi said in Any progress with variables / parameters?:
About a year or so ago I read that the implementation of variables and arithmetics was on the way. I just wonder if this work has moves forward?
It would just be wonderful to have this on the Duet. When or if it is implemented the Duet would fully match UCCNC, mach3/4 AND linuxcnc.
+1
-
@rzi said in Any progress with variables / parameters?:
Sounds super! Not that far away then. Are you planning to do a similar implementation as in: http://linuxcnc.org/docs/html/gcode/overview.html#_parameters
Or are you heading in some other direction?
Best regards
RickardI looked at the linuxcnc implementation, and it's horrible. There is another thread on this topic in which I linked to the draft specification of what I am implementing.