Filament Material Changes without Load - Unload ???
-
@sputnikoc3d said in Filament Material Changes without Load - Unload ???:
@fcwilt said in Filament Material Changes without Load - Unload ???:
@sputnikoc3d said in Filament Material Changes without Load - Unload ???:
my goal isnt to improve my load and unload routines ... which I can do at a later time.
I just change the filament "by hand" and then select the newly loaded filament from the DWC.
Frederick
Wait ... wuuuutt ?
Why do I have to load and unload ... obviously Im doing something wrong. I want the ability to do just what youre doing - lol wth ..
Frederick probably just means that he has no code in the load/unload macros, that way, DWC doesn't do anything when "loading" or "unloading filaments, other than showing a different string in the interface.
-
@diamondback said in Filament Material Changes without Load - Unload ???:
Frederick probably just means that he has no code in the load/unload macros, that way, DWC doesn't do anything when "loading" or "unloading filaments, other than showing a different string in the interface.
Correct.
I only have code in the filament specific config.g file which I execute with M703.
The DWC creates the load and unload files when the filament type is created but they are empty and I leave them that way.
Frederick
-
@diamondback said in Filament Material Changes without Load - Unload ???:
The currently loaded filament(s) are stored in sys/filaments.csv. You can edit this file by hand and restart the Duet to apply the changes.
Is this really the only solution ?
-
@sputnikoc3d said in Filament Material Changes without Load - Unload ???:
@diamondback said in Filament Material Changes without Load - Unload ???:
The currently loaded filament(s) are stored in sys/filaments.csv. You can edit this file by hand and restart the Duet to apply the changes.
Is this really the only solution ?
The solution to what?
Frederick
-
@fcwilt to change the filament DWC shows as loaded without running the load/unload macros.
@SputnikOC3d I don't think this feature is implemented by default (though I think would be useful!). Reading this part of the documentation:
https://duet3d.dozuki.com/Wiki/Filaments#Section_Changing_filaments
It seems you can put an M291 popup in the start of your load/unload macros to solve the issue, but then they'll be run every time. This may work for you, and you might be able to use some conditional gcode/the object model to suppress the M291 in certain states (e.g. printing)?I think a command to do this would be useful though, similar to how there is one to set a tool to active/standby without running the toolchange macros. Likely just need to be a parameter on the end of the M701 (e.g. P0 to suppress load/unload)
-
@sputnikoc3d said in Filament Material Changes without Load - Unload ???:
@diamondback said in Filament Material Changes without Load - Unload ???:
The currently loaded filament(s) are stored in sys/filaments.csv. You can edit this file by hand and restart the Duet to apply the changes.
Is this really the only solution ?
So you want to run the load/unload code sometimes and not others?
If you are prepared to edit each file you could use a global variable as a "enable/disable" flag to control if the code in the file is to be executed or not.
Then you could have a Macro to toggle the flag or a pair of Macros to set/clear the flag.
Frederick
-
@sputnikoc3d said in Filament Material Changes without Load - Unload ???:
How does one go about merely telling the Tool / Nozz in DWC to just switch over to a Filament in our Filaments Directory ... if you've been naughty and not used duets precious LOAD/Unload utility.
Sometimes they / I fail at loading or unloading and have to manually intervene and I switch materials etc.
Id like to be able to create a macro or script that allows me to just tell the duet board - hey - switch over to this material .. without all the hassle of re-loading or re-unloading and loading again - a material.
Surely this must be possible ? Searched for hrs now. .. nothing.
You haven't said anything about your machine. Do you have a multi-input/single output hot end? If so, then all you need do is define one tool for each filament and simply make the one that want to use active (one way to do that is send Tn where n is tool number).
If you don't have such a hot end, then you will need to manually change the filament. In which case, just pause the print, then change the filament, then resume the print. It doesn't really get any easier than that.
Just because the filament load / unload feature exists, doesn't mean you have to use it, nor indeed do you need to write any macro to bypass it's functionality.
-
@fcwilt - Yes sir. Id like to just be able to "tell the Duet Board" - Im using Filament X Y or Z - without having to use the Load or Unload sequences ive created for each material - if I dont want them to run.
Sometimes there "instances" where ive found myself caught out with having used the change filament option - where it both Unloads Current material then Loads the expected new one and mid action there is a "problem" - Im going off memory on this as to why there is a use case for my request.
2ndly - as of this moment - in one of my printers - I have a loaded filament ... but there is NO Filament listed under the DWC and the current Tool0. I wanted to tell my duet 2 wifi - hey dude - I dont know what happened or how we got here - but you've got Filament/X Y or Z up in ya and use its config.g for FW retraction and PA and other such settings. I think I had the material loaded, then uploaded all new filaments via .zips from the duet min build and I blasted all the existing filaments and load unloads I had as I revamped them all. I believe that perhaps the loaded filament that was in the filaments.csv file - now no longer existed by that name ... thats my best guess.
All that to say ... ya ... from time to time Id like to have the choice to jsut merely use the drop down in DWC to tell it Im using Filament X - without having to Unload / Load or vice versa - and other times ... Id love to you my precious Load/Unload scripts ive put in their respective files.
@deckingman - sorry for the lack of detail. I know thats not helpful to the cause. Im a simple man - with a simple single nozzle extruder E3d V6 on this machine as a Duet 2 Wifi on rrf 3.2 [ hey its working - and if it aint broke ... ]
Im trying to convert over to FW retraction and such and better use of things in the filaments/config.g and hte functionality it allows in rrf3+ and I find myself woefully behind the times in my update and maint of needed fw files and setups.
I think what MIGHT be a lengthy but easy to make fix for my personal issues is to duplicate each of the asundry 10 or so filaments I use on the regular ... one will be the Original OG with full Unload and Load scripts included and another dupe - with just the config.g the same but the load and unload scripts ABSENT or with code that allows me to bypass nozz heat times - retract/load actions
Z2-3DXTech PetG-CF - Full <---- Printer name - material - Full Load Unload scripts
Z2-3DXTech PetG CF - NL <---- Printer name - material - No LoadDuplicating the config.g's and appending a note to the end shouldnt be all that hard I reckon
-
@engikeneer - nailed it.
I feel like your feelin my vibe here. Appreciated. I'll look into the M291 aspect more and see if that produces desired result. Appreciate the tip.
It seems you can put an M291 popup in the start of your load/unload macros to solve the issue, but then they'll be run every time.
That would be just fine ... If i can select - Yes run full load unload or No and it will still change the material to the one I selected [ in the dwc - not literally in the nozzle LOL ] - yeah that works dandy
-
@sputnikoc3d said in Filament Material Changes without Load - Unload ???:
@fcwilt - Yes sir. Id like to just be able to "tell the Duet Board" - Im using Filament X Y or Z - without having to use the Load or Unload sequences ive created for each material - if I dont want them to run.
Then I suggest you resign yourself, for now, to using a global variable to control if the code in the load/unload files is executed or not.
For example:
; in config.g global filament_load_unload = true
; in load.g if {global.filament_load_unload} ; loading code here
; in unload.g if {global.filament_load_unload} ; unloading code here
;in macro Enable Loading set global.filament_load_unload = true
;in macro Disable Loading set global.filament_load_unload = false
-
@engikeneer said in Filament Material Changes without Load - Unload ???:
I think a command to do this would be useful though, similar to how there is one to set a tool to active/standby without running the toolchange macros. Likely just need to be a parameter on the end of the M701 (e.g. P0 to suppress load/unload)
I think this would be the right way to handle it. I can move this to the firmware wishlist for consideration. There's also the option of creating a github feature request.
-
@fcwilt ty sir ...
I will ponder this approach. tbh - at this time this looks a bit over my current rrf paygrade
-
@sputnikoc3d said in Filament Material Changes without Load - Unload ???:
@fcwilt ty sir ...
I will ponder this approach. tbh - at this time this looks a bit over my current rrf paygrade
Well it's the simplest approach I can think of that doesn't require you to respond to a question every time you load/unload.
Was there something about the code you did not understand?
You already have the load/unload code.
I just added a way to control if it is run or not.
Frederick
-
Just looked your post over better - I get it now - duoh!
So what I think youve outlined there is - I'd have a manual button/macro I can hit that will toggle on/off my load / unload scripts when I change a filament via dwc tool drop down option ...
Kinda slick actually - I like this.
-
@sputnikoc3d said in Filament Material Changes without Load - Unload ???:
I'd have a manual button/macro I can hit that will toggle on/off my load / unload scripts when I change a filament via dwc tool drop down option ...
Exactly.
Frederick