Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Firmware Retract zhop/lift speed

    General Discussion
    2
    3
    757
    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.
    • adavidm
      adavidm last edited by

      Hi,

      Is there a default feedrate for the zhop/lift during a firmware retract? I'm wondering if that feedrate has a bearing on the size of the blob left behind following a retract and if it can be tuned at all? Smoothieware has a Q parameter to the M207 command that seems to allow this to be configured. I had a quick look in GCodes2.cpp, but M207 makes no mention of the Q parameter so I'm assuming it's not supported in RRF.

      The RetractFilament() function in GCodes.cpp has the following section:

      [[c++]]
      				// Set the feed rate. If there is any Z hop then we need to pass the Z speed, else we pass the extrusion speed.
      				const float speedToUse = (retract) ? retractSpeed : unRetractSpeed;
      				moveBuffer.feedRate = (retractHop == 0.0 || retractLength == 0.0)
      										? speedToUse
      										: speedToUse * retractHop/retractLength;
      				moveBuffer.coords[Z_AXIS] += (retract) ? retractHop : -retractHop;
      
      

      but I can't see where the Z speed is being passed as per the comment.

      It would be nice to have in the firmware as it would be another setting to play with during a print for fine tuning.

      Regards

      David

      1 Reply Last reply Reply Quote 0
      • kraegar
        kraegar last edited by

        See DC42's answer here: https://www.duet3d.com/forum/thread.php?id=1156

        Co-Creator of the RailcoreII CoreXY printer
        https://www.thingiverse.com/thing:2407174

        1 Reply Last reply Reply Quote 0
        • adavidm
          adavidm last edited by

          @kraegar:

          See DC42's answer here: https://www.duet3d.com/forum/thread.php?id=1156

          Completely missed that, thanks!

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