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

    Which tool is enabled after startup?

    Scheduled Pinned Locked Moved Solved
    General Discussion
    7
    46
    2.2k
    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.
    • taconiteundefined
      taconite
      last edited by

      @dc42 okay this is super strange
      have you had a look at the video?
      I will try it again but just have no idea why that is

      Custom ANET A8
      Custom Delta: D-PATCH (Delta Printer with Automatic Tool CHanging) https://forum.duet3d.com/topic/16082/d-patch?_=1596131234754

      All I do here is under this license: CC BY-NC-SA

      1 Reply Last reply Reply Quote 0
      • taconiteundefined
        taconite
        last edited by

        holy moly! I finally made it work. Thank you for all your support. In my tpreX.g macros I had an abort command which aborted the tool change when there was still a tool in the effector. I removed it and now it is working.

        The strange thing is that it was working when manually selecting a tool on PanelDue or on the DWC and I have no idea what kept it from working when running a macro with Tn

        Custom ANET A8
        Custom Delta: D-PATCH (Delta Printer with Automatic Tool CHanging) https://forum.duet3d.com/topic/16082/d-patch?_=1596131234754

        All I do here is under this license: CC BY-NC-SA

        T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
        • T3P3Tonyundefined
          T3P3Tony administrators @taconite
          last edited by

          @taconite what was the abort command?

          www.duet3d.com

          1 Reply Last reply Reply Quote 0
          • taconiteundefined
            taconite
            last edited by taconite

            I use the abort command (https://duet3d.dozuki.com/Wiki/GCode_Meta_Commands) to abort things that should not occur (e.g. tool still there after parking) - maybe there is a better way to do that

            EDIT: @T3P3Tony

            Custom ANET A8
            Custom Delta: D-PATCH (Delta Printer with Automatic Tool CHanging) https://forum.duet3d.com/topic/16082/d-patch?_=1596131234754

            All I do here is under this license: CC BY-NC-SA

            1 Reply Last reply Reply Quote 0
            • T3P3Tonyundefined
              T3P3Tony administrators
              last edited by

              @taconite so you had some "if <expression> ... abort" logic to check for certain conditions and then abort if they were true or false? Maybe the issue was the expression was evaluating to true (or false) when it should not have been.

              www.duet3d.com

              1 Reply Last reply Reply Quote 0
              • taconiteundefined
                taconite
                last edited by

                I had it this way (tpre.g)

                if no tool in effector
                      pick tool
                	
                else {}
                	display message "Sill tool in effector"
                	abort
                
                

                I removed the abort. Everything was correct but the execution of a macro with a Tpren.g just did not work with the abort

                Custom ANET A8
                Custom Delta: D-PATCH (Delta Printer with Automatic Tool CHanging) https://forum.duet3d.com/topic/16082/d-patch?_=1596131234754

                All I do here is under this license: CC BY-NC-SA

                1 Reply Last reply Reply Quote 0
                • jay_s_ukundefined
                  jay_s_uk
                  last edited by

                  @taconite try it with break rather than abort

                  Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                  1 Reply Last reply Reply Quote 0
                  • K01571N3Nundefined
                    K01571N3N
                    last edited by K01571N3N

                    Hi, this is what i have been thinking and i need this for my toolchanger.
                    Duet 3 6HC, 3HC and Raspberry pi.

                    If i write to console

                    M560 P"0:/sys/test"
                    

                    or run macro like that

                    M560 P"/sys/test"
                    <!-- **EoF** -->
                    

                    or whatever else, "Error: M560: Can't open file test for writing" appears...

                    If i write

                    M98 P"0:/sys/test
                    

                    it will run that macro.

                    Is Raspberry pi somehow causing the trouble here or what?

                    K01571N3Nundefined 1 Reply Last reply Reply Quote 0
                    • K01571N3Nundefined
                      K01571N3N @K01571N3N
                      last edited by

                      @dc42 @T3P3Tony Do you have any idea for my problem?

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

                        @K01571N3N Might be better idea to start a new thread with exactly what you're trying to do. Include firmware version details etc.

                        Z-Bot CoreXY Build | Thingiverse Profile

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