lower extruder current for higher retraction speed
-
Hi Duet Team,
I've noticed, that I can retract faster with reduced motor current (same for travel moves BTW.) But usually I need the full current for extrusion (sherpa mini clone with small stepper and 5:1 gears).
I blame it on the back EMF, which is higher at full current than at half current. The torque is also lower, but it's only retraction...It would be great, if we could set a motor current percentage in M207
//edit Is it possible to overwrite M207 or G10? with my own macro? If so, where would I put it, in /macro /sys/ or /firmware folder?
-
UGH, G10 has three different meanings, will be hard to write a macro to serve them all...
-
@o_lampe said in lower extruder current for higher retraction speed:
Is it possible to overwrite M207 or G10? with my own macro?
No, it's not possible to overwrite an existing gcode at the moment, but you can define a macro for a non-existent gcode. So if you wanted to do some post processing, you could replace the G10/G11 with your own gcode, say G1000/G1111 and then have macros G1000.g and G1111.g which have your motor current changes and the actual G10/G11 for retract.
Only thing I'm not sure of is how quickly motor current changes can take effect. When using M913 to change percentage I think it has the same effect as if you had added an M400.
-