Tool and probe offset to variabne
-
Hi,
Is there a way to get the result of a gcode command inside a variable.
I'm writing a few macros and I would need to store the offsets of different tools to a variable. These are the results from G10 P0, G10 P1 and G31 that appear in the console.
I tried to find them in the object model description, but without success.
https://github.com/Duet3D/RepRapFirmware/wiki/Object-Model-DocumentationThanks in advance for pointing me in the right direction.
-
@Shoki there is currently not a way to get replies from gcode commands into variables. That said the tool offsets are in the object model:
tools[n].offsets[m]
when "n" is the tool number and "m" is the axis index. -
@T3P3Tony Thanks a lot ! I missed them when I read through the object model I don't know why.
-
-