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

    Duet 3 XYZ Optical End Stops configuration

    Scheduled Pinned Locked Moved Solved
    General Discussion
    3
    16
    444
    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.
    • dingo007undefined
      dingo007 @Phaedrux
      last edited by

      @phaedrux

      tried that also, same result. Seems a dead end so far.

      fcwiltundefined 1 Reply Last reply Reply Quote 0
      • fcwiltundefined
        fcwilt @dingo007
        last edited by

        @dingo007

        What board are you using?

        What firmware are you using?

        I'm not aware of any Duet 3 board with those pin names.

        Frederick

        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

        dingo007undefined Phaedruxundefined 2 Replies Last reply Reply Quote 1
        • dingo007undefined
          dingo007 @fcwilt
          last edited by

          @fcwilt said in Duet 3 XYZ Optical End Stops configuration:

          @dingo007

          What board are you using?

          What firmware are you using?

          I'm not aware of any Duet 3 board with those pin names.

          Frederick

          Duet 3 / RR3 what is the pin name for IO_0

          7a7f5661-e3ad-42ab-b504-46771495f755-image.png

          fcwiltundefined 1 Reply Last reply Reply Quote 0
          • fcwiltundefined
            fcwilt @dingo007
            last edited by

            @dingo007 said in Duet 3 XYZ Optical End Stops configuration:

            Duet 3 / RR3 what is the pin name for IO_0

            7a7f5661-e3ad-42ab-b504-46771495f755-image.png

            Here are some endstop setups taken from one of my printers using a Duet 3 Mini 5 running firmware 3.3.

            ; ****************************************************************************************************
            ; end stops
            ; -- X,Y,Z,etc = location of endstop (0 = none, 1 = low end, 2 = high end)
            ; -- S = type (1 = switch, 2 = probe, 3 = motor stall (one), 4 = motor stall (multiple)
            ; -- ! = invert  ^ = enable pull-up
            ; ****************************************************************************************************
            
            M574 X1 S1 P"!io6.in" 
            M574 Y2 S1 P"!io5.in" 
            M574 Z1 S1 P"io4.in"
            
            

            Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

            dingo007undefined 1 Reply Last reply Reply Quote 0
            • dingo007undefined
              dingo007 @fcwilt
              last edited by

              @fcwilt said in Duet 3 XYZ Optical End Stops configuration:

                                                                                                                                          ; ****************************************************************************************************                                                                                                                                                                            ; end stops                                                                                                                                                                            ; -- X,Y,Z,etc = location of endstop (0 = none, 1 = low end, 2 = high end)                                                                                                                                                                            ; -- S = type (1 = switch, 2 = probe, 3 = motor stall (one), 4 = motor stall (multiple)                                                                                                                                                                            ; -- ! = invert  ^ = enable pull-up                                                                                                                                                                            ; ****************************************************************************************************                                                                                                                                                                                                                                                                                                                                                         M574 X1 S1 P"!io6.in"                                                                                                                                                                             M574 Y2 S1 P"!io5.in"                                                                                                                                                                             M574 Z1 S1 P"io4.in"
              

              welp tried this
              ; Endstops
              ; ****************************************************************************************************
              ; end stops
              ; -- X,Y,Z,etc = location of endstop (0 = none, 1 = low end, 2 = high end)
              ; -- S = type (1 = switch, 2 = probe, 3 = motor stall (one), 4 = motor stall (multiple)
              ; -- ! = invert ^ = enable pull-up
              ; ****************************************************************************************************

              M574 X1 S1 P"^io0.in"
              M574 Y1 S1 P"^io1.in"
              M574 Z1 S1 P"io7.in"

              ; Z-Probe
              M950 S0 C"io7.out" ; create servo pin 0 for BLTouch
              M558 P9 C"io7.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds

              G31 P500 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height
              M557 X15:215 Y15:195 S20 ; define mesh grid

              and
              M119
              Endstops - X: not stopped, Y: not stopped, Z: no endstop, Z probe: not stopped

              but if i trigger it, movew X to home manually, M119 says the same

              fcwiltundefined 1 Reply Last reply Reply Quote 0
              • fcwiltundefined
                fcwilt @dingo007
                last edited by

                @dingo007

                Can you take and post a photo of the endstop connections to the board?

                With firmware 3.3 (and probably newer) you can view endstop status with the DWC Object Model selection.

                DWC Object Model Endstop.png

                And, just FYI, with a Duet 3 board you don't need to use the ^ character as the pullup resistors are always active.

                Frederick

                Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                dingo007undefined 1 Reply Last reply Reply Quote 0
                • dingo007undefined
                  dingo007 @fcwilt
                  last edited by

                  @fcwilt

                  73b55e3e-c16f-402d-add9-a614676e566b-image.png
                  ok so now X homes fine, Y doesnt

                  M574 X1 S1 P"!io0.in"
                  M574 Y1 S1 P"!io2.in"
                  M574 Z1 S2 P"io7.in"

                  ; Z-Probe
                  M950 S0 C"io7.out" ; create servo pin 0 for BLTouch
                  M558 P9 C"io7.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
                  G31 P500 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height
                  M557 X15:215 Y15:195 S20 ; define mesh grid

                  dingo007undefined 1 Reply Last reply Reply Quote 0
                  • dingo007undefined
                    dingo007 @dingo007
                    last edited by

                    @dingo007 welp a multimeters says it appears i have a bad cable, no power at the endstop, but 5.24v at the header pins

                    dingo007undefined 1 Reply Last reply Reply Quote 0
                    • dingo007undefined
                      dingo007 @dingo007
                      last edited by

                      @dingo007

                      so to update all.... i have a new cable and end stop on the way... and yet what do i find....

                      117fe16c-c0c4-4d2a-9b71-93e1c83557bb-image.png

                      the simplest of mistakes by reversing black and white wires by the builder, I chase issues for 2 days.

                      fcwiltundefined 1 Reply Last reply Reply Quote 1
                      • fcwiltundefined
                        fcwilt @dingo007
                        last edited by

                        @dingo007

                        So everything is now working?

                        Frederick

                        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                        dingo007undefined 1 Reply Last reply Reply Quote 0
                        • dingo007undefined
                          dingo007 @fcwilt
                          last edited by

                          @fcwilt i have the proper omron cables being delivered tomorrow, no idea why they solder these ends.
                          5a8e19b5-afeb-4cc3-8b7b-8c9559a10e67-image.png
                          212520ba-338a-47b4-823e-36e35e8584e9-image.png

                          dingo007undefined 1 Reply Last reply Reply Quote 1
                          • Phaedruxundefined
                            Phaedrux Moderator @fcwilt
                            last edited by

                            @fcwilt said in Duet 3 XYZ Optical End Stops configuration:

                            I'm not aware of any Duet 3 board with those pin names.

                            🤦

                            I'm sure I would have caught on eventually. Nice catch.

                            Z-Bot CoreXY Build | Thingiverse Profile

                            1 Reply Last reply Reply Quote 1
                            • dingo007undefined
                              dingo007 @dingo007
                              last edited by

                              @dingo007 and this is fixed now, XYZ all home correctly now,

                              thanks for the config hint 🙂

                              ; Endstops
                              ; ****************************************************************************************************
                              ; end stops
                              ; -- X,Y,Z,etc = location of endstop (0 = none, 1 = low end, 2 = high end)
                              ; -- S = type (1 = switch, 2 = probe, 3 = motor stall (one), 4 = motor stall (multiple)
                              ; -- ! = invert ^ = enable pull-up
                              ; ****************************************************************************************************

                              M574 X1 S1 P"!io0.in"
                              M574 Y1 S1 P"!io1.in"
                              M574 Z1 S2 P"io7.in"

                              ; Z-Probe
                              M950 S0 C"io7.out" ; create servo pin 0 for BLTouch
                              M558 P9 C"io7.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
                              G31 P500 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height
                              M557 X15:215 Y15:195 S20 ; define mesh grid

                              fcwiltundefined 1 Reply Last reply Reply Quote 1
                              • dc42undefined dc42 marked this topic as a question
                              • dc42undefined dc42 has marked this topic as solved
                              • fcwiltundefined
                                fcwilt @dingo007
                                last edited by

                                @dingo007

                                Glad to hear all is working.

                                Just FYI that M574 for Z is not needed.

                                From the docs:

                                The S2 option of M574 is intended for use only when axes other than Z are using the Z probe for homing. The only printers known that do this using Duet electronics are the RepRapPro Ormerod, Huxley Duo, and Mendel Tricolour machines. When using the Z probe to home Z, M574 Z has no bearing on the probe setup or usage. A Z probe and a Z endstop can both be configured at the same time. G30 calling the probe setup with M558, and G1 H1 Z moves calling the endstop configured with M574 Z.

                                Frederick

                                Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

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