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

    DUET 3 - BL Touch : Error Enabling End-stops

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    3
    18
    1.3k
    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.
    • Phaedruxundefined
      Phaedrux Moderator @callielli
      last edited by

      @callielli said in DUET 3 - BL Touch : Error Enabling End-stops:

      firmware is running 3.01.

      Please update to 3.1.1

      Then send M98 Pconfig.g in the console and report any errors.

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator @callielli
        last edited by

        @callielli said in DUET 3 - BL Touch : Error Enabling End-stops:

        G28 Z
        Error: Failed to enable endstops

        This is because you do not define any Z endstops and yet your homez is configured to use a endstop move.

        @callielli said in DUET 3 - BL Touch : Error Enabling End-stops:

        ; Endstops
        M574 X2 S1 P"!io4.in" ; configure active-high endstop for high end on X via pin !io4.in
        M574 Y2 S1 P"!io5.in" ; configure active-high endstop for high end on Y via pin !io5.in

        @callielli said in DUET 3 - BL Touch : Error Enabling End-stops:

        G1 H1 Z-1075 F1800 ; move Z down until the endstop is triggered
        G92 Z0 ; set Z position to axis minimum (you may want to adjust this)

        If you want to use the probe, you'll need to change those lines in homez homeall to use a G1 X Y move to position the probe and then a G30 to do the actual probe move.

        Z-Bot CoreXY Build | Thingiverse Profile

        callielliundefined 1 Reply Last reply Reply Quote 0
        • callielliundefined
          callielli @Phaedrux
          last edited by

          @Phaedrux said in DUET 3 - BL Touch : Error Enabling End-stops:

          G1 X Y

          Thanks for your help, I knew I was missing something that was likely basic knowledge, I still need to become more fluent reading this stuff! Learning slowly.

          From your response, I think I need to:

          STEP 1
          Define Z Endstops under M574 in config.g

          M574 Z1 S0 P"!io7.in" ; configure active-low endstop for low end on X via pin !io7.in

          Does this look right? A BL touch is active low when triggered, I think?

          STEP 2
          Edit HOMEZ AND HOMEALL to move the probe in to position and activate probing procedure via G30?

          G1 X430 Y280 ;move probe to centre of bed
          G30 ;probe bed

          Am I on the right track?

          1 Reply Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator
            last edited by

            As for the endstop, you only need to define one if you actually have an endstop you want to use on the z axis. If you just want to use the probe, you just need to change the homing files to use G30.

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • callielliundefined
              callielli
              last edited by

              @callielli said in DUET 3 - BL Touch : Error Enabling End-stops:

              G1 X430 Y280 ;move probe to centre of bed
              G30 ;probe bed

              OK, thanks.

              So HOMEALL

              G91 ; relative positioning
              G1 H2 Z5 F6000 ; lift Z relative to current position
              G1 H1 X865 Y565 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
              G1 H2 X-5 Y-5 F6000 ; go back a few mm
              G1 H1 X865 Y565 F360 ; move slowly to X and Y axis endstops once more (second pass)
              G1 X430 Y280 ;move probe to centre of bed
              G30 ;probe bed
              G90 ; absolute positioning

              and

              HOMEZ

              G1 X430 Y280 ;move probe to centre of bed
              G30 ;probe bed

              and no changes to Config.g

              Correct?

              Phaedruxundefined 1 Reply Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator @callielli
                last edited by

                @callielli said in DUET 3 - BL Touch : Error Enabling End-stops:

                G1 X430 Y280 ;move probe to centre of bed
                G30 ;probe bed
                G90 ; absolute positioning

                Slight change. Move the G90 for absolute positioning to before the G1 X430 Y280 otherwise those moves will be relative to the endstop position, which might work, but not exactly what you want to do.

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 0
                • callielliundefined
                  callielli
                  last edited by

                  Roger!

                  So HOMEALL

                  G91 ; relative positioning
                  G1 H2 Z5 F6000 ; lift Z relative to current position
                  G1 H1 X865 Y565 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
                  G1 H2 X-5 Y-5 F6000 ; go back a few mm
                  G1 H1 X865 Y565 F360 ; move slowly to X and Y axis endstops once more (second pass)
                  G90 ; absolute positioning
                  G1 X430 Y280 ;move probe to centre of bed
                  G30 ;probe bed

                  and

                  HOMEZ

                  G90 ; absolute positioning
                  G1 X430 Y280 ;move probe to centre of bed
                  G30 ;probe bed

                  1 Reply Last reply Reply Quote 0
                  • Phaedruxundefined
                    Phaedrux Moderator
                    last edited by

                    Now you should follow this to test and calibrate your probe.

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

                    Z-Bot CoreXY Build | Thingiverse Profile

                    callielliundefined 2 Replies Last reply Reply Quote 0
                    • callielliundefined
                      callielli @Phaedrux
                      last edited by

                      @Phaedrux

                      Yep - I will do that now. Cheers.

                      1 Reply Last reply Reply Quote 0
                      • callielliundefined
                        callielli @Phaedrux
                        last edited by

                        @Phaedrux

                        P.S. How do I mark this as solved?

                        Or is that something you guys do?

                        1 Reply Last reply Reply Quote 0
                        • Phaedruxundefined
                          Phaedrux Moderator
                          last edited by

                          That sounds like a large printer.

                          You can mark it solved by first clicking on topic tools and choosing ask as a question, and then topic tools again to mark as solved.

                          Z-Bot CoreXY Build | Thingiverse Profile

                          callielliundefined 1 Reply Last reply Reply Quote 0
                          • callielliundefined
                            callielli @Phaedrux
                            last edited by

                            @Phaedrux

                            She's a big one, that's for sure.

                            Two Bondtech QRs' a huge ATP5 bed and some serious current should hopefully see large scale prototypes be turned around quickly!

                            1 Reply Last reply Reply Quote 0
                            • Phaedruxundefined
                              Phaedrux Moderator
                              last edited by

                              https://forum.duet3d.com/category/10/my-duet-controlled-machine

                              In case you feel like showing off.

                              Z-Bot CoreXY Build | Thingiverse Profile

                              1 Reply Last reply Reply Quote 0
                              • callielliundefined
                                callielli
                                last edited by

                                Ahh - nice one! I had no idea this section existed.

                                Will be sure to post when if I find the time!

                                It seems my penchant for hobbies that require a steep learning curve remains strong. haha.

                                1 Reply Last reply Reply Quote 1
                                • ozgiacundefined
                                  ozgiac
                                  last edited by

                                  Its a development printer, until it ready would like to leave any pics, specs etc in house.

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