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

    [Solved] Tool pickup problem (Not beta related after all)

    Scheduled Pinned Locked Moved Solved
    Tuning and tweaking
    tool pickup toolchange
    4
    10
    553
    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.
    • rjenkinsgbundefined
      rjenkinsgb
      last edited by rjenkinsgb

      Hi,
      I'm building a machine using a Duet3 6HC + toolboards & E3D toolchanger system.

      I've updated from fw 3.3 to 3.4 to get the local variables feature, to simplify toolchange files, as I keep having to change positions all the time as I work on the machine mechanics.

      Problem: hitting the Tool 0 button on the paneldue 7i picks up tool 0, as before - but the machine does not recognise it has a tool loaded; the button no longer turns green and if it's pressed again, it runs another tool pickup cycle rather than the return cycle, as it did before??

      I'm guessing the tool config or tpre0.g need some mods?

      (I only have tool 0 defined so far, I want to get the machine to work with that before adding further tools).

      Thanks for any suggestions,
      Robert.

      Robert J.

      Printers: Overlord pro, Kossel XL+ with Duet 6HC and "Frankentron", TronXY X5SA Pro converted to E3D toolchange with Duet 6HC and 1LC toolboards.

      dc42undefined T3P3Tonyundefined 2 Replies Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators @rjenkinsgb
        last edited by

        @rjenkinsgb which 3.4beta are you using? Are there any error messages in the DWC console when you select the tool? It is possible for tool selection to fail if problems occur during the process.

        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
        • T3P3Tonyundefined
          T3P3Tony administrators @rjenkinsgb
          last edited by

          @rjenkinsgb also please post your config.g and tool change files

          www.duet3d.com

          1 Reply Last reply Reply Quote 0
          • rjenkinsgbundefined
            rjenkinsgb
            last edited by

            Hi,
            sorry, 3.4.0b4 - everything checked for the latest updates before posting.

            There are no error messages when selecting a tool or selecting a different tool when one is supposed to already be loaded.

            I've added a second tool & tried with and without the local variables for positions, so the T1 script is effectively back to what it would have been with 3.3 when the tool loading worked.

            I did also have a problem with the tool clamp motor reference after the update, as another user posted.
            A negative movement in G91 appeared to be a problem, it would often rotate the wrong way while referencing.

            I worked around that by using G92 and setting a high positive position then commanding a move to zero, so no negative position involved, which works every time.

            I'm running the Duet with the SBC config; can I go back to 3.3 by switching repositories again, if you cannot see a quick solution?

            Config and tpre files attached.
            config.g
            tpre0.g
            tpre1.g

            Robert J.

            Printers: Overlord pro, Kossel XL+ with Duet 6HC and "Frankentron", TronXY X5SA Pro converted to E3D toolchange with Duet 6HC and 1LC toolboards.

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

              @rjenkinsgb said in Firmware 3.4 beta - Tool pickup problem:

              A negative movement in G91 appeared to be a problem, it would often rotate the wrong way while referencing.

              In what context? Homing files, or something else?

              Please post your tpost, tfree and homing files too. If your coupler lock and unlock macros are not the standard ones from E3D, those too.

              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
              • rjenkinsgbundefined
                rjenkinsgb
                last edited by

                The coupler problem was purely in homing, after changing from 3.3 to 3.4b4 - it worked fine originally.

                I'm on site at the moment, so don't have access to my setup; I posted my modified C axis homing file in this thread:
                https://forum.duet3d.com/topic/24833/3-4b3-homing-coupler-does-not-work-correctly

                The lock and unlock are standard files.

                Robert J.

                Printers: Overlord pro, Kossel XL+ with Duet 6HC and "Frankentron", TronXY X5SA Pro converted to E3D toolchange with Duet 6HC and 1LC toolboards.

                1 Reply Last reply Reply Quote 0
                • rjenkinsgbundefined
                  rjenkinsgb
                  last edited by

                  tpost and tfree examples attached.

                  Note that after picking up either tool, if another tool is commanded the first action is to unlock the coupler, not a move.

                  It's never running a tfree, as that does movements before unclamping; it just does not recognise a tool being loaded when it picks one up, as if the script is run but the internal tool state is never updated.

                  tpost0.g
                  tfree0.g

                  Robert J.

                  Printers: Overlord pro, Kossel XL+ with Duet 6HC and "Frankentron", TronXY X5SA Pro converted to E3D toolchange with Duet 6HC and 1LC toolboards.

                  1 Reply Last reply Reply Quote 0
                  • rjenkinsgbundefined
                    rjenkinsgb
                    last edited by

                    Update: This is apparently unrelated to the beta firmware.
                    After restarting with a new Duet Pi SD image (V3.3), setting everything up then reloading my previous config files, the problem is still there.

                    As far as I can tell, the only items not as they were when I first powered up the Duet are the tool board and Paneldue 7i; the toolboard is back to 3.3 firmware but I also updated the bootloader as it was not reporting that.

                    As a diagnostic test, I've added this to the end of the tpre0.g file:

                    if state.currentTool == -1
                    M291 R"Tool select failure" P"System does not see a tool as being loaded" S2
                    

                    Requesting T0 goes through the motions to load the tool, but error message is displayed; whatever internal data in the Duet tracks the loaded tool is never being set up.

                    Firmware info & Files below.
                    Any help appreciated - I have not so far been able to print anything on this machine since installing the Duet system!

                    Duet Web Control 3.3.0

                    Board: Duet 3 MB6HC (MB6HC)
                    DSF Version: 3.3.0
                    Firmware: RepRapFirmware for Duet 3 MB6HC 3.3 (2021-06-15)

                    Diagnostics for board 20:
                    Duet TOOL1LC firmware version 3.3 (2021-06-15 16:12:58)
                    Bootloader ID: SAMC21 bootloader version 2.3 (2021-01-26b1)

                    config.g
                    tpre0.g
                    tpost0.g

                    Robert J.

                    Printers: Overlord pro, Kossel XL+ with Duet 6HC and "Frankentron", TronXY X5SA Pro converted to E3D toolchange with Duet 6HC and 1LC toolboards.

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

                      @rjenkinsgb as suggested previously, remove T-1 from your t0pre file

                      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
                      • rjenkinsgbundefined
                        rjenkinsgb
                        last edited by

                        The T-1 is presumably supposed to be what causes the system to return any existing tool before picking up the new one??

                        However you are spot on correct, the toolchange system works perfectly if that line is removed / commented out!

                        It was in the E3D toolchanger template files I found, and it worked fine with those files, just changed tool positions, when I first set up the Duet on V3.3, so I have no idea at all why it messes things up now? That was the really confusing thing.

                        Oh well, I can start recalibrating everything now and hopefully get it printing.

                        Thanks!

                        Robert J.

                        Printers: Overlord pro, Kossel XL+ with Duet 6HC and "Frankentron", TronXY X5SA Pro converted to E3D toolchange with Duet 6HC and 1LC toolboards.

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