Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    lower extruder current for higher retraction speed

    Scheduled Pinned Locked Moved
    Firmware wishlist
    firmware retraction motor current retraction speed
    2
    4
    341
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • o_lampeundefined
      o_lampe
      last edited by o_lampe

      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?

      Phaedruxundefined 1 Reply Last reply Reply Quote 0
      • o_lampeundefined
        o_lampe
        last edited by o_lampe

        UGH, G10 has three different meanings, will be hard to write a macro to serve them all...

        1 Reply Last reply Reply Quote 0
        • Phaedruxundefined
          Phaedrux Moderator @o_lampe
          last edited by

          @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.

          https://duet3d.dozuki.com/Wiki/Gcode?revisionid=HEAD#Section_M913_Set_motor_percentage_of_normal_current

          Z-Bot CoreXY Build | Thingiverse Profile

          o_lampeundefined 1 Reply Last reply Reply Quote 0
          • o_lampeundefined
            o_lampe @Phaedrux
            last edited by

            @phaedrux
            That's a workaround I can live with. Thanks!
            If the current reduction happens while the extruder is accelerating to retraction speed, it's fast enough.
            What does @dc42 think about it?

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA