Using different config.g files?
-
Is it possible to have different configurations for the same machine?
This is more about changing the working limits for each tool of the CNC machine rather than changing the physical hardware configuration, but I was wondering if separate configurations could be used when using a milling motor, a laser or a drag knife, for example.
Thanks
-
@nightowl999
Have a look at M505 -
@nightowl999 Yes it most certainly is possible and as @OwenD has said, take a look at M505. Essentially it changes the "sys" path. So not only can you have separate config.g files, your can use different system macro such as homing, pause, resume etc.
My "root" config.g looks like this ; Configuration file for Duet Gen 3 ; ******CHOOSE .SYS PATH ****** M505 P"6InputMultiMat" ;M505 P"6InputMixing" ;M505 P"SingleInput" ;M505 P"2Input" M98 P"config.g" So to change between configurations, I simply uncomment the one that I want to use and comment out all the others.
-
Well, that looks pretty good!
I was also wondering, as I've got a browser link to DWC, whether or not I could use a shortcut to achieve the same sort of thing, e.g. Name_Laser, Name_CNC, etc?
Or maybe even a prompt, asking which 'mode' I want to use, perhaps.
-
-
Thanks, @mintytrebor. I'm looking at your BtnCmd already, but I never thought to add macros as you've suggested.
Thank you