G31 as macro
-
Hello,
I own a Caribou3d with the Duet. Ingenious part! I like to print on a Texture Sheet and on a Steel Sheet and do not always want to change the G31 in Config.g.
For this I have imagined the following:
2 macros, each with a different G31 value, overriding the Config-override.g with the G31 value. This G31 value in the Config-override.g is read and taken over by the Config.g. Unfortunately I lack the knowledge for the M codes to read and overwrite the G31 value. Can someone help me there. Hope one can understand my bad English.... -
@yumyumnoodles If I get this right you have two different bed surfaces with two different G31 offsets. In that case I'd leave the G31 Z configuration out of config.g and out of config-override.g. What I'd do is to put two macro files
surface-texture.g
andsurface-steel.g
in the System Folder with the correctG31 Z
values and invoke onlysurface.g
fromconfig.g
. Then make two new macro files in the Macros Folder like "Set Texture" and "Set Steel" where you- move surface.g to surface-[texture/steel].g (see M471)
- move surface-[steel/texture].g to surface.g (again with M471)
- execute
surface.g
(see M98)
Then you can change between the two presets easily from the Control page. I won't write down the full macro files here but I hope you get the idea
-
@chrishamm thanks!