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

    control y axis motors individually for homing

    Scheduled Pinned Locked Moved
    CNC
    3
    7
    144
    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.
    • Ravihotwokundefined
      Ravihotwok
      last edited by

      Hi,

      i am wondering if its possible for the duet to home the machine but treat the left and right motors of the long y axis on my 1500 x 1000 killerbee as individual so they home to the limit switch and each one stops when it reaches its on limit switch if that makes any sense.

      Any help would be most appreciated

      gloomyandyundefined droftartsundefined 2 Replies Last reply Reply Quote 0
      • gloomyandyundefined
        gloomyandy @Ravihotwok
        last edited by

        @Ravihotwok It sounds like what you want is the mechanism described here: https://docs.duet3d.com/User_manual/Reference/Gcodes#examples-173 for Z homing with multiple motors. I'm not sure if the same system is available for other axes or not @droftarts may know.

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

          @Ravihotwok @gloomyandy Yes, you can do the same thing on other axes. See https://docs.duet3d.com/User_manual/Connecting_hardware/Z_probe_auto_levelling#axis-levelling-using-endstops

          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

          Ravihotwokundefined 1 Reply Last reply Reply Quote 0
          • Ravihotwokundefined
            Ravihotwok @gloomyandy
            last edited by

            @gloomyandy Thanks for the reply mate much appreciated, reading now

            1 Reply Last reply Reply Quote 0
            • Ravihotwokundefined
              Ravihotwok @droftarts
              last edited by

              @droftarts Cheers Ian, but my god this is looking complicated lol is it a case of it just looks daunting to someone who doesnt know much about gcode? I usually have software which crates the gcode for me so this will be very high level for me

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

                @Ravihotwok You treat it as one axis. You set up the endstops at the end of each side of the Y axis. You configure the Y endstop in config.g as something like (depending on what IO ports you used, and assuming you're using a Duet 2 board)

                M574 Y1 P"ystop+e0stop" S1 ; configure Y axis endstop
                

                Homing is done normally, and will automatically stop each side when it hits it's respective endstop. Most likely, you already have a line saying something like M574 Y1 P"ystop" S1 line in your config.g, just change that.

                You only have to set this up once, and it's setting up the configuration, not a job like your other software does. It can be configured using the RRF Config tool, too: https://configtool.reprapfirmware.org/

                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

                Ravihotwokundefined 1 Reply Last reply Reply Quote 0
                • Ravihotwokundefined
                  Ravihotwok @droftarts
                  last edited by

                  @droftarts think i understand, im just in the process of routing the cables now so will post a pic up once i get to a point where i need some support into what goes where lol. I am using a duet 2 wifi i think

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