Multiple Config?



  • Hey DC and Co,

    What'd be the easiest way of running multiple configurations on one duet? For instance, if I have two configs, one for my e3d v6 and another for my volcano, with different heights, steps/mm and motor power etc. Can I make copy and paste config.G into a macro titled configvolcano and simply run that macro after powerup to set all the settings up for the volcano?



  • I'm still looking for the best way to do this myself as I have both 3 colour diamond hot ends and 5 colour so the differences are significant.

    To save constantly re-naming files, the way I do it is to have a folder on my PC titled "Configs". Within this, I have 2 sub folders called "3 colour" and "5 colour". Each folder has just a single file which is "config.g" i.e the same file name but in different folders. So when I swap hot ends, I just go to the relevant folder and upload the config.g file from there.

    To prevent any confusion, as to which is which, the start of each config.g has a comment such as "3 COLOUR CONFIG USING EXTRUDERS 0, 2 AND 3" and "5 COLOUR CONFIG USING ALL 5 EXTRUDERS*".

    As I said, I'm still looking for a better but this works well for me.


  • administrators

    @clearlynotstefan:

    Hey DC and Co,

    What'd be the easiest way of running multiple configurations on one duet? For instance, if I have two configs, one for my e3d v6 and another for my volcano, with different heights, steps/mm and motor power etc. Can I make copy and paste config.G into a macro titled configvolcano and simply run that macro after powerup to set all the settings up for the volcano?

    Yes you can, although that macro only needs to include the parameters that are different between the two configurations.



  • I tried using a macro but kept forgetting that I had run it whenever I turned the printer on with the hot end in question. After few failed prints due to trying to print a 5 colour object with a 3 colour hot end configuration, I decided that a macro wasn't the best solution for me.



  • @deckingman to prevent forgetting to run the macro I have come up with something for different filaments. I have this as my 'Load PETG'-macro:

    M28 /sys/current_material.g
    M98 P/macros/Settings/PETG
    M29 /sys/current_material.g
    M98 P/sys/current_material.g 
    
    

    And the M98 again in my config.g wich runs the macro on every startup, but depending on which filament macro I ran before the actual macro is always the correct one.
    This can be done with different parts of the configuration as well.



  • @darookee:

    @deckingman to prevent forgetting to run the macro I have come up with something for different filaments. I have this as my 'Load PETG'-macro:

    M28 /sys/current_material.g
    M98 P/macros/Settings/PETG
    M29 /sys/current_material.g
    M98 P/sys/current_material.g 
    
    

    And the M98 again in my config.g wich runs the macro on every startup, but depending on which filament macro I ran before the actual macro is always the correct one.
    This can be done with different parts of the configuration as well.

    Ah OK. That would likely work for the OP but may be a little complicated for my purposes though, as there are very many differences between my 3 colour and 5 colour configurations. Thanks for the tip though - it looks like an elegant solution.


Locked
 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.