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

    Duel motor/endstop on the Y

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    11
    346
    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.
    • markundefined
      mark
      last edited by

      Good morning all,

      I am trying to configure duel motor Y axis, each with their own endstop. I have been following https://duet3d.dozuki.com/Guide/Independent+Z+motors+and+endstop+switches/18?lang=en#content but struggling to get it working.

      Does HomeAll.g call HomeY.g (where is am splitting Y into Y and U) or do i need to configure the Y/U split in HomeAll as well?

      If it helps I have uploaded the relevent config files that i have been changing in order to try and get it working homey.g homeall.g config.g

      Any pointers most welcome, for a bit of background its for a custom printer using lead screws on X, Y and Z and i need the 2 Y leadscrews to both hit their endstops so that they "square up" on the printer

      Printer.jpg

      Mark

      dc42undefined deckingmanundefined 2 Replies Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators @mark
        last edited by

        @mark said in Duel motor/endstop on the Y:

        Does HomeAll.g call HomeY.g (where is am splitting Y into Y and U) or do i need to configure the Y/U split in HomeAll as well?

        It depends how homeall.g was created. If you generated it using the online configurator, then homeall.g does not call homey.g.

        BTW if you use RepRapFirmware 3 then you no longer need to split Y into Y and U to home the two motors independently. However, upgrading to RRF3 requires substantial changes to config.g so should not be undertaken lightly.

        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
        • deckingmanundefined
          deckingman @mark
          last edited by deckingman

          @mark You can do it either way. The simplest way might be for homeall to call homey. But otherwise, you duplicate all the homey commands in your homeall. It depends on what else you want to to do in homeall and in what order.

          Edit - was typing at the same time as DC

          Ian
          https://somei3deas.wordpress.com/
          https://www.youtube.com/@deckingman

          1 Reply Last reply Reply Quote 1
          • markundefined
            mark
            last edited by

            Thanks both,

            @dc42 is there a guide on what changes need to be made when upgrading from RepRapFirmware 2 to 3?

            @deckingman I might just copy the HomeY changes across to see if that helps me get it working for now.

            I will let you know how i get on!

            Thanks,

            Mark

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

              @mark said in Duel motor/endstop on the Y:

              Thanks both,

              @dc42 is there a guide on what changes need to be made when upgrading from RepRapFirmware 2 to 3?

              https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview#Section_Summary_of_what_you_need_to_do_to_convert_your_configuration_and_other_files. But if you generated tour c=current config.g file using the online configurator, you can do that again, selecting RRF3 instead of RRF2.

              @deckingman I might just copy the HomeY changes across to see if that helps me get it working for now.

              If homing Y by itself is already working as you want it, that's probably the simplest solution.

              I will let you know how i get on!

              Thanks,

              Mark

              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

              markundefined 1 Reply Last reply Reply Quote 0
              • markundefined
                mark @dc42
                last edited by

                @dc42 said in Duel motor/endstop on the Y:

                If homing Y by itself is already working as you want it, that's probably the simplest solution.

                That's a good point, when i home Y only my Y end stop works but my U endstop does not. As the U is using the Z endstop pin (my Z motors are plugged into my duex5) do I have to do something to enable it (the LED on the board lights up when i press the end stop)?

                Sorry for all the questions, I have been struggling with this all week.

                Mark

                deckingmanundefined 1 Reply Last reply Reply Quote 0
                • deckingmanundefined
                  deckingman @mark
                  last edited by

                  @mark I'm struggling to remember here as I've converted to RRF3 and things are a lot different. But IIRC, in RRF2 end stops get assigned to axes in the order that axes are created and you can't change them (I think). Which means that the Z end stop input will only work on the Z axis. I think, for U you'll need to use the next available end stop after Z which is probably the first one on the Duex. Hopefully DC42 or someone else with a better memory than mine will confirm or correct what I've said.

                  Ian
                  https://somei3deas.wordpress.com/
                  https://www.youtube.com/@deckingman

                  markundefined dc42undefined 2 Replies Last reply Reply Quote 0
                  • markundefined
                    mark @deckingman
                    last edited by

                    @deckingman I appreciate your reply, I am starting this think I should just upgrade to RRF3 before i get all this working and then have to do it later.

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

                      @deckingman said in Duel motor/endstop on the Y:

                      @mark I'm struggling to remember here as I've converted to RRF3 and things are a lot different. But IIRC, in RRF2 end stops get assigned to axes in the order that axes are created and you can't change them (I think). Which means that the Z end stop input will only work on the Z axis. I think, for U you'll need to use the next available end stop after Z which is probably the first one on the Duex. Hopefully DC42 or someone else with a better memory than mine will confirm or correct what I've said.

                      The U motor will use the E0 endstop input.

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

                        @dc42 and @deckingman Massive thank you for your help, I swapped the endstop over to the E0 endstop and it now works.

                        Mark

                        deckingmanundefined 1 Reply Last reply Reply Quote 0
                        • deckingmanundefined
                          deckingman @mark
                          last edited by

                          @mark said in Duel motor/endstop on the Y:

                          @dc42 and @deckingman Massive thank you for your help, I swapped the endstop over to the E0 endstop and it now works.

                          Mark

                          👍 Glad you are sorted.

                          Ian
                          https://somei3deas.wordpress.com/
                          https://www.youtube.com/@deckingman

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