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

    I could use some help

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    11
    682
    63.9k
    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

      This post is deleted!
      A Former User? fcwiltundefined 2 Replies Last reply Reply Quote 0
      • A Former User?
        A Former User @A Former User
        last edited by

        @mac

        ; homeall.g
        ; called to home all axes
        ;
        ; generated by RepRapFirmware Configuration Tool v3.3.10 on Mon Jun 27 2022 12:50:38 GMT-0700 (Pacific Daylight Time)
        M98 P"homeZ.g"
        M98 P"homeX.g"
        M98 P"homeY.g"
        
        ; Uncomment the following lines to lift Z after probing
        ;G91                  ; relative positioning
        ;G1 Z5 F60            ; lift Z relative to current position
        ;G90                  ; absolute positioning
        
        
        
        
        A Former User? 1 Reply Last reply Reply Quote 0
        • A Former User?
          A Former User @A Former User
          last edited by

          @mac That's where the code for my Duet3D Mini 5+ is today. Thank you to @droftarts , @fcwilt , and @alankilian for all their valuable contributions to this effort.

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

            @mac

            6/27/2022, 2:06:04 PM	G28 Z
            Error: Failed to enable endstops
            6/27/2022, 2:05:32 PM	Warning: Driver 0.0 warning: phase B may be disconnected
            6/27/2022, 2:05:32 PM	G28 X
            Warning: Driver 0.0 warning: phase B may be disconnected
            
            fcwiltundefined 1 Reply Last reply Reply Quote 0
            • fcwiltundefined
              fcwilt @A Former User
              last edited by fcwilt

              @mac said in I could use some help:

              @mac

              6/27/2022, 2:06:04 PM	G28 Z
              Error: Failed to enable endstops
              6/27/2022, 2:05:32 PM	Warning: Driver 0.0 warning: phase B may be disconnected
              6/27/2022, 2:05:32 PM	G28 X
              Warning: Driver 0.0 warning: phase B may be disconnected
              

              Well the warning about driver 0.0 would explain the noise and lack of proper movement.

              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
              • fcwiltundefined
                fcwilt @A Former User
                last edited by

                @mac said in I could use some help:

                @mac

                ; homez.g
                ; called to home the Z axis
                ;
                ; generated by RepRapFirmware Configuration Tool v3.3.10 on Mon Jun 27 2022 12:50:38 GMT-0700 (Pacific Daylight Time)
                G91               ; relative positioning
                G1 H2 Z5 F3600    ; lift Z relative to current position
                G1 H1 Z-245 F1800 ; move Z down until the endstop is triggered
                G92 Z0            ; set Z position to axis minimum (you may want to adjust this)
                
                ; Uncomment the following lines to lift Z after probing
                ;G91              ; relative positioning
                ;G1 Z5 F60        ; lift Z relative to current position
                ;G90              ; absolute positioning
                
                
                

                I don't get it, mac.

                I give you code to try and you end up with something rather different.

                I really do know what I am doing.

                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

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

                  @fcwilt I don't know how that happened, honestly. I absolutely don't remember seeing that in your code, or copying anything that looks like into my code.

                  Frankenstein's Cinderella, that's all I can suggest.

                  This extraordinarily long thread has the code you suggested in it. It was the first code you provided to me. I know where it is. So I will go and get it, and put it in the homez.g again.

                  Now we will see what happens.

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

                    @fcwilt @droftarts @alankilian

                    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
                    
                    

                    This is the correct homez.g @fcwilt provided. I have no idea where that other code came from.

                    fcwiltundefined 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 @alankilian

                      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
                      
                      

                      This is the correct homez.g @fcwilt provided. I have no idea where that other code came from.

                      You been drinking? 😉

                      Anyway, have you changed the rotation of the Y stepper so the jogging operations move it in the right direction?

                      I'm still anxious to verify that the S setting is the problem there.

                      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

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

                        @fcwilt I'm going to work on that now.

                        Mac

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

                          @droftarts @fcwilt @alankilian

                          In the config.g now:

                          M569 P0.0 S1                                       ; physical drive 0.0 goes forwards
                          M569 P0.1 S1                                       ; physical drive 0.1 goes forwards
                          M569 P0.2 S1                                       ; physical drive 0.2 goes forwards
                          M569 P0.3 S1                                       ; physical drive 0.3 goes forwards
                          

                          Our change:

                          M569 P0.0 S1                                       ; physical drive 0.0 goes forwards
                          M569 P0.1 S0                                       ; physical drive 0.1 goes backwards
                          M569 P0.2 S1                                       ; physical drive 0.2 goes forwards
                          M569 P0.3 S1                                       ; physical drive 0.3 goes forwards
                          
                          A Former User? 1 Reply Last reply Reply Quote 0
                          • A Former User?
                            A Former User @A Former User
                            last edited by

                            @alankilian @droftarts @fcwilt

                            On the X-axis, the printhead's chattering up a storm. When I 119 it, this is what I get:

                            6/27/2022, 4:18:07 PM	M119
                            Endstops - X: not stopped, Y: not stopped, Z: no endstop, Z probe: not stopped
                            
                            A Former User? 1 Reply Last reply Reply Quote 0
                            • A Former User?
                              A Former User @A Former User
                              last edited by

                              @Mac

                              ; Endstops
                              M574 X2 S1 P"!^io5.in"        ; configure switch-type (e.g. microswitch) endstop for high end on X via pin !^io5.in
                              M574 Y2 S1 P"!^io6.in"        ; configure switch-type (e.g. microswitch) endstop for high end on Y via pin !^io6.in
                              
                              ; Z-Probe
                              M950 S0 C"io3.out"                                 ; create servo pin 0 for BLTouch
                              M558 P9 C"io3.in" H5 F120 T3600     ; set Z probe type to bltouch and the dive height + speeds
                              G31 P500 X15.875 Y0.625 Z2.5             ; set Z probe trigger value, offset and trigger height
                              M557 X5:190 Y5:215 S10                         ; define mesh grid
                              

                              I guess the X-motors toast.

                              6/27/2022, 4:13:45 PM	G28 X
                              Warning: Driver 0.0 warning: phase B may be disconnected
                              
                              fcwiltundefined 1 Reply Last reply Reply Quote 0
                              • fcwiltundefined
                                fcwilt @A Former User
                                last edited by

                                @mac

                                It's more likely just a bad connection.

                                Did you get a chance to change the rotation of the Y axis and then test jogging?

                                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

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

                                  @fcwilt

                                  ; Endstops
                                  M574 X2 S1 P"!^io5.in"              ; configure switch-type (e.g. microswitch) endstop for high end on X via pin !^io5.in
                                  M574 Y2 S1 P"!^io6.in"		     ; configure switch-type (e.g. microswitch) endstop for high end on Y via pin !^io6.in
                                  M574 Z2 S1 P"!^io2.in"		     ; configure switch-type (e.g. microswitch) endstop for high end on Z via pin !^io2.in	
                                  

                                  I pulled the connector off of Driver_0, and put a short length of wire in the first two holes, then the second two holes. When I turned the X-motor, both phases resisted my efforts. So the phases are both there, but I guess that doesn't mean much?

                                  Above is a change I made. The listing for the Z-endstop disappeared, I guess (I don't know). So I re-entered it, saved the config, and there it is now.

                                  6/27/2022, 4:50:03 PM	M119
                                  Endstops - X: not stopped, Y: not stopped, Z: not stopped, Z probe: not stopped
                                  6/27/2022, 4:50:01 PM	M119
                                  Endstops - X: not stopped, Y: not stopped, Z: not stopped, Z probe: not stopped
                                  6/27/2022, 4:49:54 PM	M119
                                  Endstops - X: not stopped, Y: not stopped, Z: not stopped, Z probe: not stopped
                                  6/27/2022, 4:44:54 PM	Connection established
                                  6/27/2022, 4:44:48 PM	Connection interrupted, attempting to reconnect...
                                  HTTP request timed out
                                  6/27/2022, 4:44:36 PM	Upload of config.g successful after 0s
                                  6/27/2022, 4:40:53 PM	M119
                                  Endstops - X: not stopped, Y: not stopped, Z: no endstop, Z probe: not stopped
                                  

                                  You can see by the entries in the Console that the Z-endstop is now present (again). On the lowest line you can see that there was "no endstop" previously.

                                  Mac

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

                                    @mac

                                    Good, glad to hear the Z endstop is back.

                                    As I recall (or maybe I'm wrong) that you had some problems getting good crimps?

                                    Can you verify that the connector that plugs onto the Duet has good crimps for each wire?

                                    Does the stepper have a connector mounted on it for plugging in a cable OR are the wires part of the stepper?

                                    Also, can you please change the rotation of the Y stepper in config.g and see if the Y jogging now works as it should?

                                    Thanks.

                                    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

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

                                      @fcwilt said in I could use some help:

                                      @mac

                                      Good, glad to hear the Z endstop is back.

                                      As I recall (or maybe I'm wrong) that you had some problems getting good crimps?

                                      I ordered the large crimps for the two large connectors on the board because I destroyed the 5 they sent. All is well there.

                                      Can you verify that the connector that plugs onto the Duet has good crimps for each write?

                                      You mean wire, I checked both phases, so the wire between the motor and the connector is good, both phases were present.

                                      Does the stepper have a connector mounted on it for plugging in a cable OR are the wires part of the stepper?

                                      Yes, it has a 6-pin socket.

                                      Also, can you please change the rotation of the Y stepper in config.g and see if the Y jogging now works as it should?

                                      I posted that change above. Please scroll up to it.

                                      I’ll try to home Y, and let you know if my edit accomplishes anything.

                                      Thanks.

                                      Frederick

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

                                        @mac said in I could use some help:

                                        I ordered the large crimps for the two large connectors on the board because I destroyed the 5 they sent. All is well there.

                                        Good

                                        You mean wire, I checked both phases, so the wire between the motor and the connect is good, both phases were present.

                                        Did you wiggle the wires while you checked looking for an intermittent connection?

                                        Yes, it has a socket.

                                        I have to purchase cables for that type as I don't have the parts to make such cables.

                                        I posted that change above. Please scroll up to it.

                                        I did miss it.

                                        What happened when you tried jogging Y? Did it now go in the right direction?

                                        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

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

                                          @fcwilt good news, the Y-axis / bed slowly started to move towards the back, where the end-stop is, then came to a stop about 40mm before it.

                                          I tried jogging the bed Y+10 > and it went forwards. <Y-10 sent the bed towards the rear of the printer.

                                          So the edit I made:

                                          M569 P0.0 S1                                       ; physical drive 0.0 goes forwards
                                          M569 P0.1 S0                                       ; physical drive 0.1 goes backwards
                                          M569 P0.2 S1                                       ; physical drive 0.2 goes forwards
                                          M569 P0.3 S1                                       ; physical drive 0.3 goes forwards
                                          

                                          worked!

                                          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:

                                            @fcwilt good news, the Y-axis / bed slowly started to move towards the back, where the end-stop is, then came to a stop about 40mm before it.

                                            I tried jogging the bed Y+10 > and it went forwards. <Y-10 second the bed towards the rear of the printer.

                                            So the edit I made:

                                            M569 P0.0 S1                                       ; physical drive 0.0 goes forwards
                                            M569 P0.1 S0                                       ; physical drive 0.1 goes backwards
                                            M569 P0.2 S1                                       ; physical drive 0.2 goes forwards
                                            M569 P0.3 S1                                       ; physical drive 0.3 goes forwards
                                            

                                            worked!

                                            OK you are making good progress.

                                            Now to test for the second thing I think is wrong.

                                            I need you to devise a way to measure if the Y axis moves the distance you tell it to when jogging.

                                            For example if you clicked the button that jogs Y 10mm (either direction is fine) five times did the bed actually move 50mm.

                                            It is essential that we get all axes to move the distance they are commanded to move. This is step one of that process.

                                            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 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA