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

    3.01-beta2+1 M25 during tool change

    Scheduled Pinned Locked Moved
    Beta Firmware
    2
    6
    325
    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.
    • Ntrackundefined
      Ntrack
      last edited by Ntrack

      Might be a small issue with m25 during tool change in a sense that executes all the toolchanging files before pausing the print.

      G91				; relative moves
      G1 V300 H1 F1440                ; feed filament to finda sensor
      G92 V0				; force V to 0mm
      G1 V100 H1  F1440		; feed a bit more to reliably switch sensor 
      G92 V0				; force V to 0mm
      G1 V30 H0 F2000			; feed filament to reach ptfe tube
      G92 V0				; force V to 0mm
      M400				; wait for moves to finish
      G90
      if !sensors.endstops[4].triggered
      	M25
      	M291 P"MMU loading failure detected" S2
      

      This is a small macro called during tpre.g and it is supposed to pause if V endstop is not triggered, but it will display the M291( which will stop and wait for OK) then it will execute tpost.g and only then will pause the print.

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

        That's correct, if you execute M25 when a tool change is in progress, it will complete the tool change first. M25 can only pause the print at the end of executing a complete line of GCode from the file being printed.

        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 1
        • Ntrackundefined
          Ntrack
          last edited by

          Is there any other way to stop the tool change operation if something goes wrong?

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

            @Ntrack said in 3.01-beta2+1 M25 during tool change:

            Is there any other way to stop the tool change operation if something goes wrong?

            Only emergency stop at present.

            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
            • Ntrackundefined
              Ntrack
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • Ntrackundefined
                Ntrack
                last edited by

                I’ll have to wait for variables then.I think I have an idea how to do it using a variable.

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