G-code command to directly set extrusion rate (not M221)
-
I know the M221 command, which allows me to multiply the current extrusion rate defined in the slicer by a factor to increase or decrease it.
But how to I set the extrusion rate directly? I mean how to set it so that 100% would mean all e-steps per rotation (200 for example or as calibrated). I would then rather redefine the extrusion rate replacing (not correcting) what is set in the slicer, for the current gcode session.
Sorry if this is a stupid question, I did not find the answer looking at the RRF gcode dictionary.
-
@Triet You would need to send a
M92 E...
command. See https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m92-set-axis-steps-per-unit
This is in steps per mm. It's the only way to adjust the extrusion rate apart from M221. If you want it in some other unit, or as a percentage, you could write a macro to convert it for you.You can change the mixing ratio with M567 on tools with multiple extruders, I'm not sure if you can use it with a tool with only one extruder, and the result wouldn't be much different from using M221.
Ian