Is there a way to use variables in an open builds macro, for example to make easy movement calculations based on a variable drill width? I have seen some gcode programs declaring variables with e.g. #101 = 8 using them later in e.g. G01 F500 X15+#101 but I can't make it work on my machine.
You can use the Javacript macro functionality - with it you can even build UIs to enter the values into your variables. See Getting started with Javascript Macros in CONTROL / Library of Macros created by the community With string substitution and maths and all the tools you will ever need, much more power than plain gcode.
Thanks Peter, helps me a lot. Do you happen to know a way to get user input in some way. Prompt() nor ReadLine() are being accepted.