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

    I want to execute some g codes before a move finishes

    Scheduled Pinned Locked Moved
    Firmware wishlist
    3
    3
    184
    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.
    • JRDMundefined
      JRDM
      last edited by

      Some moves on my printer are long and slow and I really want to be able to change sertain things entered in DWC right away such as fan speed, extrusion rate overide, feed rate override and not have to wait until the current move or current queue is finished. Also, if I were to use g code controlled spindle, I would also want the spindle speed to change right now instead waiting for the rest of the moves in the queue. For example, it can be executing a 300mm linear move running 15mm/s and I might have to wait 20s for any adjustments to take effect.

      I am using Duet2Ethernet with firmware 2.02. Has this changed alredy?

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

        I can move this to the firmware wishlist but there are some limitations on interrupting long moves. I'm not sure if things have changed in that regard since 2.02, but many other things have. It may be worth reading up on the change log between 2.02 and now and see if anything catches your eye as worth the upgrade.

        Z-Bot CoreXY Build | Thingiverse Profile

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

          If the moves being executed are being read from the SD card then it should already be possible to adjust some things (e.tg. fan speeds and spindle speed) from DWC while the moves are being executed. It is only commands received from the same GCode input channel that are strictly sequenced. However, commands that affect movement (e.g. speed factor override and extrusion factor override) will only affect subsequent motion commands, not motion commands already in the pipeline.

          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
          • First post
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA