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

    Arbitrary control of motors with Duet 3

    Scheduled Pinned Locked Moved
    General Discussion
    5
    6
    309
    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.
    • sh54undefined
      sh54
      last edited by

      I am looking to use my Duet 3 to control some linear actuators that help automate some things in my workshop. I was wondering if I can configure things so that I can just add arbitrary axes rather that use some existing machine profile like Cartesian or whatnot.

      As of now I wired my stepper and endstop to the Duet. I configured things so that they are just controlled via the x axis. This all works great. However, the intended application for this axis is to set the height of a platform precisely. Preferably I would be able to just give it a name that reflects its purpose. Is there anyway to do this or am I locked to the predefined "architectures"? I would like to add further arbitrary axes over time to deal with other little tasks.

      I don't mind doing a little coding to accomplish things. I guess a workaround for me would be to write a little plugin for the web interface to give me a panel that looks how I want it to.

      theolodianundefined dc42undefined 2 Replies Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        You can define a number of additional axis and set them up however you like.

        https://duet3d.dozuki.com/Wiki/M584

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • theolodianundefined
          theolodian @sh54
          last edited by

          @sh54 The difficulty is having different motion systems. You can easily define extra axes to do other tasks, however you can’t independently control them at the same time as the main axes. It is one coordinated motion system per main board.

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

            @sh54 as @theolodian the movement of all axes is coordinated. This means that if multiple axes are moving at the same time, they start and stop at the same time.

            In RRF 3.5 we plan to add support on Duet 3 boards to move two sets of motors asynchronously with respect to each other.

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

              Thanks for all the information! I'll take a poke at the M584 code. As of know with all my plans I can live the axes starting and stopping at the same time. I would see myself just manipulating one at the time in a simple fashion. Just starting out to experiment a bit with the hardware side of things. The planned RRF 3.5 features sound exciting.

              droftartsundefined 1 Reply Last reply Reply Quote 0
              • droftartsundefined
                droftarts administrators @sh54
                last edited by

                @sh54 I added a section to 'Configuring stepper motors' wiki page today, to cover creating extra axes. See https://docs.duet3d.com/User_manual/Connecting_hardware/Motors_configuring#creating-additional-axes

                Ian

                Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

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