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

    Returning "virtual extruder position" in M114

    Scheduled Pinned Locked Moved
    Firmware wishlist
    3
    4
    487
    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.
    • alexjxundefined
      alexjx
      last edited by alexjx

      Hi gurus,

      I was confused that G92 has no effect on E axis. After a bit of search, I came across the post @dc42 wrote. I understood the philosophy that RRF has chosen to prefer relative extrusion over absolute. However, this also breaks the compatibility with other firmware like MARLIN.

      My case is that I was using octoprint with MARLIN before I converted to duet wifi recently. I managed to make octoprint to handle filament run outs... However the "pausing" of octoprint relies on the M114 to get the positions of the axes include E axis. And this is broken because the M114 in RRF returns the "extrusion since the board started."

      I know I could just use relative extrusion everywhere. But for the sake of completeness, should M114 return the "virtual extrusion position" as the E axis without any suffix? For example:

      X:0.000 Y:0.000 Z:0.000 E:0.0 E0:0.0 E1:0.0 E2:0.0 E3:0.0 E4:0.0 E5:0.0 E6:0.0 E7:0.0 E8:0.0 Count 0 0 0 Machine 0.000 0.000 0.000 Bed comp 0.000

      I haven't tried this yet, Is there anything bad about this idea?

      Jia

      1 Reply Last reply Reply Quote 1
      • alexjxundefined
        alexjx
        last edited by

        I've tested this by adding the extra E:xxx field into the M114 result. octoprint is now happy.

        1 Reply Last reply Reply Quote 2
        • dc42undefined
          dc42 administrators
          last edited by dc42

          Thanks, I'll add this to the work list for the next firmware version.

          Gina (the developer of Octoprint) now has a Duet, so she may implement an alternative solution in Octoprint.

          Duet WiFi hardware designer and firmware engineer
          Please do not ask me for Duet support via PM or email, use the forum
          http://www.escher3d.com, https://miscsolutions.wordpress.com

          1 Reply Last reply Reply Quote 0
          • oliofundefined
            oliof
            last edited by

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