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

    I could use some help

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    11
    682
    64.0k
    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.
    • A Former User?
      A Former User @A Former User
      last edited by A Former User

      @fcwilt the Z-endstop is still saying it's at the min stop.

      A Former User? 1 Reply Last reply Reply Quote 0
      • A Former User?
        A Former User @A Former User
        last edited by

        @fcwilt Z must be wrong, don't you think?

        1 Reply Last reply Reply Quote 0
        • fcwiltundefined
          fcwilt @A Former User
          last edited by

          @mac said in I could use some help:

          @fcwilt with X depressed, X is at min stop, everything else is as it has been.

          With Y depressed, Y is at min stop, everything else is as it has been.

          Fantastic.

          So we know the X and Y endstop are working.

          But the Z is not. It should do the same as the X and Y.

          Please do this - from the DWC console execute M574 by itself - it should report how each endstop is configured.

          Frederick

          Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

          A Former User? 1 Reply Last reply Reply Quote 0
          • A Former User?
            A Former User @fcwilt
            last edited by

            @fcwilt

            6/27/2022, 9:17:19 AM	M574
            Endstop configuration:
            X: low end switch connected to pin !io5.in
            Y: low end switch connected to pin !io6.in
            Z: low end switch connected to pin io2.in
            
            A Former User? fcwiltundefined 2 Replies Last reply Reply Quote 0
            • A Former User?
              A Former User @A Former User
              last edited by

              @fcwilt something about that doesn't look right?

              droftartsundefined 1 Reply Last reply Reply Quote 0
              • fcwiltundefined
                fcwilt @A Former User
                last edited by

                @mac said in I could use some help:

                @fcwilt

                6/27/2022, 9:17:19 AM	M574
                Endstop configuration:
                X: low end switch connected to pin !io5.in
                Y: low end switch connected to pin !io6.in
                Z: low end switch connected to pin io2.in
                

                Great. You getting the hang of this, aren't you!

                So it says the Z endstop is configured on the low end, is connected to io2.in and does not have the ! character because the white wire is connected to the NO connection on the switch.

                But it seems that pressing or not pressing the Z endstop switch doesn't change what M119 reports.

                Did you verify that the Z endstop switch is still plugged onto the IO2 connector?

                Frederick

                Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                1 Reply Last reply Reply Quote 0
                • droftartsundefined
                  droftarts administrators @A Former User
                  last edited by

                  @mac are you sure z endstop is connected to io2? Check with wiring diagram. https://docs.duet3d.com/Duet3D_hardware/Duet_3_family/Duet_3_Mini_5+_Hardware_Overview#wiring-diagram

                  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

                  A Former User? 1 Reply Last reply Reply Quote 0
                  • A Former User?
                    A Former User @droftarts
                    last edited by

                    @droftarts hey's baaaaaaaaaccccccccckkkkkkk

                    I just moved the white wire on the 5 pin io2 connector from io2_out to io2_in, The green wire is still in the center of the connector / connected to GND.

                    fcwiltundefined A Former User? 2 Replies Last reply Reply Quote 0
                    • fcwiltundefined
                      fcwilt @A Former User
                      last edited by

                      @mac said in I could use some help:

                      @droftarts hey's baaaaaaaaaccccccccckkkkkkk

                      I just moved the white wire on the 5 pin io2 connector from io2_out to io2_in, The green wire is still in the center of the connector / connected to GND.

                      Well that certainly should make a difference.

                      Please run the M119 tests with the Z endstop switch pressed and not pressed.

                      Frederick

                      Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                      1 Reply Last reply Reply Quote 0
                      • A Former User?
                        A Former User @A Former User
                        last edited by

                        @droftarts @fcwilt M119 reported all of the axis are NOT STOPPED, WAIT A MINUTE!!!!!

                        6/27/2022, 9:28:48 AM	M119
                        Endstops - X: not stopped, Y: not stopped, Z: at min stop, Z probe: not stopped
                        6/27/2022, 9:28:11 AM	M119
                        Endstops - X: not stopped, Y: not stopped, Z: not stopped, Z probe: not stopped
                        

                        Look at the timecode, between :11 and :48 Z changed!

                        A Former User? fcwiltundefined 2 Replies Last reply Reply Quote 0
                        • A Former User?
                          A Former User @A Former User
                          last edited by

                          @droftarts @fcwilt I knew there was a reason I named this machine Frankenstein's Cinderella.

                          A Former User? 1 Reply Last reply Reply Quote 0
                          • fcwiltundefined
                            fcwilt @A Former User
                            last edited by

                            @mac said in I could use some help:

                            @droftarts @fcwilt M119 reported all of the axis are NOT STOPPED, WAIT A MINUTE!!!!!

                            6/27/2022, 9:28:48 AM	M119
                            Endstops - X: not stopped, Y: not stopped, Z: at min stop, Z probe: not stopped
                            6/27/2022, 9:28:11 AM	M119
                            Endstops - X: not stopped, Y: not stopped, Z: not stopped, Z probe: not stopped
                            

                            Look at the timecode, between :11 and :48 Z changed!

                            So it seems like the Z endstop switch is now working?

                            Frederick

                            Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                            1 Reply Last reply Reply Quote 0
                            • A Former User?
                              A Former User @A Former User
                              last edited by

                              @droftarts @fcwilt I turned off the machine, then turned it back on. M119 reports that Z is at min stop.

                              My finger isn't anywhere near it.

                              But, when I depress Z, and send M119, it says Z NOT STOPPED.

                              A Former User? 1 Reply Last reply Reply Quote 0
                              • A Former User?
                                A Former User @A Former User
                                last edited by

                                @droftarts @fcwilt Z needs to be reversed, doesn't it.

                                fcwiltundefined 1 Reply Last reply Reply Quote 0
                                • fcwiltundefined
                                  fcwilt @A Former User
                                  last edited by

                                  @mac said in I could use some help:

                                  @droftarts @fcwilt Z needs to be reversed, doesn't it.

                                  Just edit the M574 line for the Z endstop and add the ! character, save, re-boot and re-test with M119.

                                  You see what X and Y endstops do.

                                  You need to get Z doing the same.

                                  Frederick

                                  Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                                  A Former User? 1 Reply Last reply Reply Quote 0
                                  • A Former User?
                                    A Former User @fcwilt
                                    last edited by

                                    @fcwilt @droftarts FREAKIN' SUCCESS!

                                    With all of the endstops up, all of them are off, with Y endstop depressed, it is at min stop. with Z depressed, it is at min stop, and with X depressed, it is at MIN STOP!

                                    A Former User? fcwiltundefined 2 Replies Last reply Reply Quote 0
                                    • A Former User?
                                      A Former User @A Former User
                                      last edited by

                                      @droftarts @fcwilt I wonder where that puts us?

                                      1 Reply Last reply Reply Quote 0
                                      • fcwiltundefined
                                        fcwilt @A Former User
                                        last edited by

                                        @mac said in I could use some help:

                                        @fcwilt @droftarts FREAKIN' SUCCESS!

                                        With all of the endstops up, all of them are off, with Y endstop depressed, it is at min stop. with Z depressed, it is at min stop, and with X depressed, it is at MIN STOP!

                                        Congrats.

                                        Now that you know the endstops are working you can proceed to fine tune your homing code.

                                        Because you have a Z endstop you can start with that.

                                        One Z is homed then homing X and Y is a piece of cake.

                                        How about doing one at a time.

                                        Please post your Z homing code which should be in homeZ.g

                                        Frederick

                                        Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                                        A Former User? 1 Reply Last reply Reply Quote 0
                                        • A Former User?
                                          A Former User @fcwilt
                                          last edited by

                                          @fcwilt

                                          ; homez.g
                                          ; called to home the Z axis
                                          ;
                                          ; generated by RepRapFirmware Configuration Tool v3.3.10 on Mon Jun 27 2022 06:45:01 GMT-0700 (Pacific Daylight Time)
                                          G91                      ; relative positioning
                                          G1 H2 Z5 F3600           ; lift Z relative to current position
                                          G90                      ; absolute positioning
                                          G1 X-10.875 Y4.375 F3600 ; go to first probe point
                                          G30                      ; home Z by probing the bed
                                          
                                          ; Uncomment the following lines to lift Z after probing
                                          ;G91                     ; relative positioning
                                          ;G1 Z5 F60               ; lift Z relative to current position
                                          ;G90                     ; absolute positioning
                                          
                                          
                                          
                                          fcwiltundefined 1 Reply Last reply Reply Quote 0
                                          • fcwiltundefined
                                            fcwilt @A Former User
                                            last edited by fcwilt

                                            @mac

                                            OK that is code for homing with a Z probe.

                                            Now that you have a working Z endstop you can use simpler code.

                                            Something like:

                                            G91               ; relative movements
                                            G1 H1 Z-250 F3600 ; fast move toward Z endstop
                                            G1 Z10            ; backup off a bit
                                            G1 H1 Z-15 F360   ; slow move toward Z endstop
                                            
                                            G90               ; absolute movements
                                            G1 Z10 F3600      ; move to 10mm off the bed to allow X and Y movements
                                            

                                            Frederick

                                            Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

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