Feature - M703 /flag possible request?
-
Hi all, apologies if there is a way to do this already, what I'd like is to make a call like M703 to call settings per filament. However, I want to pull speed, retraction settings and bed temps for homing, etc without the nozzle temp being applied.
I'd like to have a M703 call that sets and applies pretty much everything except the nozzle temperature. I can then call M703 after homing, levelling, etc finished to set and heat nozzle to temp before priming and printing,....Also, if this is wrong area, please advise so I may correctly put my request through.
-
Maybe you could configure multiple configuration folders to switch between?
https://duet3d.dozuki.com/Wiki/Gcode#Section_M505_Set_configuration_file_folder
-
@dmandn
M703 is going to call the config.g associated with the currently loaded/selected filament
e.g. 0:/filaments/ABS/config.g
You can put whatever you want in there.
I put things like cold retract and min temps, retraction settings etc that are filament specific.
If you don't want your nozzle temp to be set when you call M703, don't put it in there.Another alternative is to create a central macro and put all your settings in that.
In the example below I set all the nozzle temp based on the filament (although your slicer can almost certainly do that)
You could alter it to set whatever you want.
You would then call the macro using an extra parameter.
e.g. M98 P"0:/macros/setTemp.g" S"PLA";setTemp.g ;sets temps based on filament name passed as "S" parameter ;e.g. M98 P"0:/macros/setTemps.g S"ABS" if state.currentTool = -1 abort "No tool elected - can't set temp" ; cancel macro and print if !exists(param.S) || param.S = "" || param.S = null echo "No S parameter passed to macro - default temps used" G10 S200 R125 M99 ; exit macro if param.S = "ABS" G10 S240 R180 elif param.S = "PLA" G10 S205 R125 elif param.S = "PETG" G10 S240 R180 elif param.S = "NYLON" G10 S255 R180 else echo param.S ^ " not defined in macro - default temp set" G10 S200 R125
-
@dmandn said in Feature - M703 /flag possible request?:
Hi all, apologies if there is a way to do this already, what I'd like is to make a call like M703 to call settings per filament. However, I want to pull speed, retraction settings and bed temps for homing, etc without the nozzle temp being applied.
I'd like to have a M703 call that sets and applies pretty much everything except the nozzle temperature. I can then call M703 after homing, levelling, etc finished to set and heat nozzle to temp before priming and printing,My first question is why do you want to do that?
Frederick