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

    Duet 3 mini 5+ wifi sensorless homing - Help

    Scheduled Pinned Locked Moved
    General Discussion
    6
    45
    1.8k
    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.
    • Karimundefined
      Karim @moth4017
      last edited by Karim

      @moth4017 Mine stall at first homing, X would stall, but if you get X to home successfully. Home all work every time, but if printer is power off overnight in the morning you have to go through that procedure again.

      1 Reply Last reply Reply Quote 0
      • moth4017undefined
        moth4017 @dc42
        last edited by

        @dc42 Did some testing tonight setting M201.1 to x300 y300 seems to be working at the moment , ill keep an eye on it over the weekend

        <

        Karimundefined 1 Reply Last reply Reply Quote 0
        • Karimundefined
          Karim @moth4017
          last edited by

          @moth4017 Which printer do you have , This is a Voron 0.2 Corexy.

          moth4017undefined 1 Reply Last reply Reply Quote 0
          • moth4017undefined
            moth4017 @Karim
            last edited by

            @Karim core XY valkyrie
            https://vkingprinter.com/project-valkyrie/

            <

            Karimundefined 1 Reply Last reply Reply Quote 0
            • dc42undefined
              dc42 administrators @moth4017
              last edited by

              @moth4017 said in Duet 3 mini 5+ wifi sensorless homing - Help:

              @dc42 3.5.0 beta2. The stall is after the small movement

              Try using M201.1 to reduce the acceleration during homing.

              Duet WiFi hardware designer and firmware engineer
              Please do not ask me for Duet support via PM or email, use the forum
              http://www.escher3d.com, https://miscsolutions.wordpress.com

              moth4017undefined 1 Reply Last reply Reply Quote 0
              • Karimundefined
                Karim @moth4017
                last edited by Karim

                @moth4017 Very nice Printer, I never heard of it.

                Karimundefined 1 Reply Last reply Reply Quote 0
                • Karimundefined
                  Karim @Karim
                  last edited by Karim

                  @Karim This is my X Axis homing, it's not stalling now .I will let you know if this is working.

                  ====================
                  ; homeX.g
                  ;====================
                  ; called to home the X axis
                  
                  M84 X
                  M400						    ; Wait for current moves to finish
                  M569 P0.1 D3 V10				; X -> B axis reduce V parameter so driver operates in stealthChop
                  M569 P0.2 D3 V10				; Y -> A axis reduce V parameter so driver operates in stealthChop
                  G4 P200						    ; Pause for 200ms to let StealthChop do some sh!t
                  M17 X						    ; Energize Motors X Y
                  M913 X20 Y20				    ; drop motor current to 20%
                  G4 P200						    ; Pause for 200ms to let StealthChop do some sh!t
                  M915 X S20 R0 F0 H200	        ; Sensitivity 9 [-64 --> 64], R - take no action, F - No filter, 200steps/sec
                  M201.1 X250 Y250 
                  G4 P200						    ; wait 200ms
                  G91					            ; set relative
                  
                  M400                            ; Wait for moves to finish
                  G1 H2 X-1 F3000                 ; Move X axis back a little bit to clear stall flag if it's triggered
                  
                  M400                            ; Wait for moves to finish
                  G4 P200						    ; wait 200ms
                  G1 H1 X350 F3500			    ; [ First Pass ] move quickly to X axis endstop and stop there
                  M400
                  
                  G90						        ; absolute positioning
                  M400						    ; Wait for current moves to finish
                  M913 X100 Y100				    ; return current to 100%
                  M569 P0.1 D2					; Take driver out of StealthChop Mode
                  M569 P0.2 D2					; Take driver out of StealthChop Mode
                  
                  M201.1 X650 Y650
                  1 Reply Last reply Reply Quote 0
                  • moth4017undefined
                    moth4017 @dc42
                    last edited by moth4017

                    @dc42

                    I had a whole weekend without a stall for the first time ,

                    Thanks everyone

                    ;homey.g
                    												
                    echo "Home Y"
                    M569 P0.0										; check status in console Y
                    M569 P0.1										; check status in console X
                    G91												; Relative positioning
                    M569 P0.0 S1 D3 V10                             ; set to stelth chop
                    M569 P0.1 S1 D3 V10								; set to stelth chop
                    M915 P0.0 S10 F0 R1 H200						; Configure y-Axis Stall Detection
                    M915 P0.1 S10 F0 R1 H200                    	; Configure x-Axis Stall Detection
                    M201.1 X300 Y300 
                    echo "stall detection setup"
                    M17 X Y	
                    G1 P140
                    
                    G1 H2 X-1 F3000                               ; move a  little  for cal of sensorless homing / not stalled
                    G1 H2 Y-1 F3000    							; move a  little  for cal of sensorless homing / not stalled
                    
                    echo "lower motor current"
                    M913 X60 Y60									; Lower motor current %
                    G4 P150
                    M574 X1 Y2 S3                           		; Configure Z-Axis stall detection homing
                    M569 P0.0										; check status in console
                    M569 P0.1										; check status in console
                    
                    echo "Home Y"
                    G1 H1 Y350 F6000
                    G1 H2 X-10 Y10
                    G1 H1 Y350 F6000                       			; Home Z-Axis actuators independently											
                    M569 P0.0										; check status in console
                    M569 P0.1										; check status in console
                    G90 											; absolute positioning
                    G1 Y150 F6000									; move to center of bed		
                    
                    ;revert back 
                    echo "after revert  back"
                    M915 P0.0 S128 F0 R1 H550						; Configure x-Axis Stall Detection
                    M915 P0.1 S128 F0 R1 H550                    	; Configure x-Axis Stall Detection
                    M913 X100  Y100                               	; Reset motor current
                    M569 P0.0 S1 D2                                 ; reset motors back to spread cycle,
                    M569 P0.1 S1 D2									; reset motors back to spread cycle,
                    M569 P0.0										; check status in console
                    M569 P0.1										; check status in console
                    M201.1 X1000 Y1000 
                    

                    <

                    1 Reply Last reply Reply Quote 0
                    • moth4017undefined
                      moth4017
                      last edited by moth4017

                      @dc42 Mark as solved ... i think 🙂

                      <

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

                        What did you end up changing to get it right?

                        Z-Bot CoreXY Build | Thingiverse Profile

                        1 Reply Last reply Reply Quote 0
                        • moth4017undefined
                          moth4017 @moth4017
                          last edited by

                          @moth4017 i added the M201.1 x300 y300 just before the stall detection setup

                          <

                          Karimundefined 1 Reply Last reply Reply Quote 0
                          • Karimundefined
                            Karim @moth4017
                            last edited by

                            @moth4017 I don’t know what’s going on with my setup because mine works for a few days and the have homing problems and then works again, I guess it’s have to deal with it the way it’s working.

                            moth4017undefined 1 Reply Last reply Reply Quote 0
                            • moth4017undefined
                              moth4017 @Karim
                              last edited by

                              @Karim post you config and homing files

                              <

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