Duet3D Logo

    Duet3D

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

    Firmware configuration for endstop pin

    Firmware installation
    4
    18
    189
    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.
    • Emanuele
      Emanuele last edited by

      Hi everybody,
      I need some help in order to choose the right configuration for a cartesian 3D printer on https://configtool.reprapfirmware.org
      In particular I'm in the section DRIVES

      9538ee30-ffed-4ed4-8d0f-b54464643cc8-image.png

      I have an endstop for X and Y axis and a proximity sensor for Z axis and I need to know what I've to select in the following list for each driver:

      5abc52b0-42d9-408b-bbb0-983baf9e564f-image.png

      Thankyou for your help!

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

        @emanuele for the moment just select xstop and ystop. the proximity will be setup as a probe.
        It doesn't need to 100% reflect your machine anyway because as you work through commissioning the machine and checking functionality you will more than likely have to adjust your config anyway.

        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

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

          @jay_s_uk said in Firmware configuration for endstop pin:

          It doesn't need to 100% reflect your machine anyway because as you work through commissioning the machine and checking functionality you will more than likely have to adjust your config anyway.

          Thankyou for your reply, but I forgot to say that I'm configuring a Duet 3 MB 6HC so I don't have the option xstop or ystop but only the following ones:
          a27cea40-e001-463a-b92e-dd12b050e94c-image.png

          Rushmere3D 1 Reply Last reply Reply Quote 0
          • Rushmere3D
            Rushmere3D @Emanuele last edited by Rushmere3D

            @emanuele same applies, select one and It will be further configured later, I would suggest leaving IO_0 free as this is used for a paneldue or serial communication.

            Use the wiring diagram for pin names and function.
            https://duet3d.dozuki.com/Wiki/Duet_3_Mainboard_6HC_Wiring_Diagram

            Follow my adventures in 3D Printing, laser cutting and electronics. https://linktr.ee/Rushmere3D

            Emanuele 1 Reply Last reply Reply Quote 1
            • Emanuele
              Emanuele @Rushmere3D last edited by

              @rushmere3d

              Ok Rushmere!
              Thankyou for your help (I'm really confused!)
              So you suggest something like this? It's correct? Can I proceed with the next step?

              9c1cc695-e01e-489a-b6b5-fdd08b44d3f0-image.png

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

                @emanuele I wrote a guide recently for the configuration tool. Does it help?
                https://docs.duet3d.com/en/How_to_guides/Configuring_firmware#h-3-io-mapping

                I'm working on the wiring guide for the Duet 3, which would make this clearer. For wiring endstops on Duet 3, see https://docs.duet3d.com/User_manual/Connecting_hardware/Sensors_endstops

                Ian

                Cartesian bed-slinger with Duet 3 Mini 5+ WiFi : RRP Fisher Delta v1 with Duet 2 Maestro : TronXY X5S with Duet 2 Wifi (in progress)

                Emanuele 1 Reply Last reply Reply Quote 1
                • Emanuele
                  Emanuele @droftarts last edited by

                  @droftarts
                  Hi, thankyou for your help.
                  I read your guide but it's a little bit generic for my case.

                  I'm building a big cartesian 3D printer with 1X, 2Y and 2Z leadscrews.
                  I want to pilot it in the simplest way (for the moment) so connected directly to a PC if possible.
                  I've two endstops on X and Y and a proximity sensor (LJ12A3-4-Z/BX) on Z.
                  I've a Dyzextruder PRO with a bowden configuration and a Dyze PRO hotend.

                  I'm looking for somebody that can help me through the configuration tool: would you like to help me? If your answer is yes (I hope!) this is my first page completed:

                  Reprap 1.PNG

                  If it is correct I will attach the second one and so on...

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

                    @emanuele said in Firmware configuration for endstop pin:

                    I'm building a big cartesian 3D printer with 1X, 2Y and 2Z leadscrews.

                    There are limitations on the configuration tool. You can only define one motor per axis. To configure the other motors to these axis, you will need to edit the config.g afterwards. See https://docs.duet3d.com/User_manual/Connecting_hardware/Motors_configuring#using-more-than-one-motor-on-an-axis-with-a-separate-driver-for-each-motor

                    @emanuele said in Firmware configuration for endstop pin:

                    I'm looking for somebody that can help me through the configuration tool: would you like to help me? If your answer is yes (I hope!) this is my first page completed:

                    Unfortunately I'm not around for the rest of the day, what with it being the weekend and having kids!

                    Ian

                    Cartesian bed-slinger with Duet 3 Mini 5+ WiFi : RRP Fisher Delta v1 with Duet 2 Maestro : TronXY X5S with Duet 2 Wifi (in progress)

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

                      @droftarts
                      No problem...when you've a second if you can look at these and give me back your feedback it will be really appreciated

                      Reprap 1.PNG

                      Reprap 2.PNG

                      Waiting for your reply!

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

                        @emanuele I'm not familiar with your probe. See https://docs.duet3d.com/User_manual/Connecting_hardware/Z_probe_connecting for types of probe supported and how to configure.
                        Do you have a PanelDue? If so, you'll need to keep io0 free for it, as it's only supported on this connection. So move your endstop assignments if necessary.
                        Otherwise, looks fine.

                        Ian

                        Cartesian bed-slinger with Duet 3 Mini 5+ WiFi : RRP Fisher Delta v1 with Duet 2 Maestro : TronXY X5S with Duet 2 Wifi (in progress)

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

                          @droftarts
                          No, I don't have a panelDue (I want to pilot the 3D printer directly from the PC if possibile).
                          My proximity sensor is this one:
                          df5bcf3f-b701-4bd6-aa65-8fc7e14dbf4a-image.png

                          Ok if everything seems correct I'd like to send you the page 3:

                          Reprap 3.PNG

                          I've only a little doubt about the motor current: I've NEMA 23 and in the technical specification I see they are 2.8A; on the other hand I've found in this forum that for NEMA 23 we have to set 1000 mA. I'm confused...

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

                            @emanuele impossible to say what speeds and accelerations. That’s down to the individual machine, and testing. Set current at 60 to 80% of motor’s rated current.

                            Ian

                            Cartesian bed-slinger with Duet 3 Mini 5+ WiFi : RRP Fisher Delta v1 with Duet 2 Maestro : TronXY X5S with Duet 2 Wifi (in progress)

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

                              @droftarts
                              Sorry Ian, just to be sure (I don't want to cook my NEMA 23); this is the technical paper:

                              68e29c62-9fb8-4220-a938-18dbaedc804f-image.png

                              so 2,8 * 70% we can say 2000mA, right?

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

                                @emanuele that should be fine. Once powered up, give the motor a workout, and monitor it’s temperature. It should barely get warm to the touch. I’m slightly concerned about your earlier comment that you read somewhere the current should be set to 1A; it’s possible they meant that it needs to be set to at least 1A. You just can’t trust anything you read in forums!

                                Ian

                                Cartesian bed-slinger with Duet 3 Mini 5+ WiFi : RRP Fisher Delta v1 with Duet 2 Maestro : TronXY X5S with Duet 2 Wifi (in progress)

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

                                  @droftarts

                                  Thankyou for your help Ian.
                                  I've downloaded the config.zip.
                                  Now I need to add a second axis for Z and Y:
                                  I've read
                                  https://docs.duet3d.com/User_manual/Connecting_hardware/Motors_configuring#using-more-than-one-motor-on-an-axis-with-a-separate-driver-for-each-motor
                                  but it's not so clear what I've to do.

                                  Can you explain me better what I've to change and in which file?

                                  Thankyou so much!

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

                                    @emanuele in config.g, define the driver each second motor is connected to with M569. Then add the extra drivers to the axis in M584. So if you have:

                                    M569 P0.0 S0
                                    M569 P0.1 S0
                                    M569 P0.2 S0
                                    M569 P0.3 S0
                                    
                                    M584 X0.0 Y0.1 Z0.2 E0.3
                                    

                                    Then add

                                    M569 P0.4 S0 ; second Y drive
                                    M569 P0.5 S0 ; second Z drive
                                    

                                    And change M584

                                    M584 X0.0 Y0.1:0.4 Z0.2:0.5 E0.3
                                    

                                    Note that RepRapFirmware does not support individual motor settings where an axis has multiple motors connected to different stepper drivers. The first parameter specified will be used for all motors on the axis. You should use identical motors on any axis that has more than one motor to avoid unexpected behaviour.
                                    However, each extruder axis (E) is treated as a separate axis, and specific settings for each extruder should be configured.
                                    This means you can leave speed and acceleration settings as they are. See the configuration section lower down the page you linked for more details.

                                    Ian

                                    Cartesian bed-slinger with Duet 3 Mini 5+ WiFi : RRP Fisher Delta v1 with Duet 2 Maestro : TronXY X5S with Duet 2 Wifi (in progress)

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

                                      @droftarts
                                      Like this?
                                      4c06a092-b728-4f40-8f2d-11f270e9fa3c-image.png

                                      If it is correct I've finished! And that's because of you!
                                      I'd like to share with you my project: it has a volume of 560X630X700 mm with a Dyzend pro hotend and a DyzExtruder pro, and as you know two Z and 2 Y axis, each one with a NEMA 23 motor.

                                      4327e985-6280-4502-a2a5-69cd8ca97265-image.png

                                      It is inspired to this:
                                      https://3ddistributed.com/3d-printers/workhorse-printer/

                                      I hope you like it (it's a bit expensive but ok this is my hobby).
                                      Waiting for your comments...

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

                                        @emanuele said in Firmware configuration for endstop pin:

                                        Like this?

                                        Yes, that looks correct. You may need to switch the direction of the motor, using the M569 S parameter (0 or 1), so they work together in the same direction.

                                        There is a (recently written) commissioning guide here: https://docs.duet3d.com/en/How_to_guides/Commissioning

                                        Ian

                                        Cartesian bed-slinger with Duet 3 Mini 5+ WiFi : RRP Fisher Delta v1 with Duet 2 Maestro : TronXY X5S with Duet 2 Wifi (in progress)

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