Navigation

    Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Toolchange movements, coordinate space

    General Discussion
    3
    4
    407
    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.
    • foehnsturm
      foehnsturm last edited by

      Most likely this has already been explained here and I'm just not smart enough to find it …

      Anyway, I created the Mark2 magnetic tool changer for the Ultimaker2. Now it's time to add a third head. For doing this we might replace Ultimaker electronics and our customized firmware by Duet3D. Like before offsets and tool changes should be handled within the firmware. We actually attach and detach head 2 or 3, with a z offset, while the standard head always remains in place. Extra heads are parked in two corners.

      So, what coordinate space I'm in when e.g. switching from T1 to T0? In other words, do I have to adjust the docking position within tfree1.g using the T1 offsets?

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

        Hi Marcus, I really like the magnetic tool changer work you guys have done (for the benefit of others on this forum who may not be familiar with it can you link a good video?)

        David will confirm, however each tool has an offset defined by the G10 command when that tool is setup. So your primary tool, on the extruder could be X0,Y0,Z0 and each of the other tools might be X0, Y40, Z-1 and X0,Y-40, Z-1 or whatever. I don't think you have another co-ordinate space on tool change because you are still in the X,Y,Z co-ordinate system, just with tool offsets. The Idex is a bit different when you have another axis and you shift to a U axis.

        Try this:
        In Tfree1.g
        G90 ;Absolute axis movements (should be in that already but just to confirm)
        G1 Xnn,Ynn,Znn Fnnnnn; Move to whatever position you need to be to start to park T1
        G1 Xnn,Ynn,Znn Fnnnnn; finish the parking. (do you have some electromagnet to turn on/off?

        Then in Tpre1.g you would have the pickup code for T1

        Same for T2.

        For T0 presumably you need no Tpre code (as its always present) and no TFree code (because retract is probably better handled by the slicer).

        Cheers

        Tony

        Duet Hardware Designer
        www.duet3d.com

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

          In tfree the coordinate space of the old tool is used. In tpre the head reference point is used. In tpost the coordinate space of the new tool is used.

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

            Hi guys,
            Thanks for the fast reponse.

            Videos about the Ultimaker toolchanger project can be found here: https://www.youtube.com/playlist?list=PLeNzDYMnqAqIeZHWU9iOWnj_2OaemupQG

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