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.7k
    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 @Karim
      last edited by A Former User

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • moth4017undefined
        moth4017
        last edited by

        someone beat me to it here is my home.g file

        ; homeall.g
        echo "G28 Home all.g "
        M561						;clear bed transforms   (same as G29 S2)
        M98 P"/sys/homey.g"  		;P define the parameter and is not part of the name
        M98 P"/sys/homex.g"  		;P define the parameter and is not part of the name
        M98 P"/macros/ProbePickUp"	; probe pick up
        M98 P"/sys/homez.g" 		;P define the parameter and is not part of the name
        M98 P"/macros/ProbeDropOff"	; probe drop off
        

        <

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

          @moth4017 ok did that now X home then Z home then Y home. Before X Y Z in this way.

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

            @Karim im not sure what type of printer you have but you will need to do the homing in the sequence you require.

            eg. X Y Z

            <

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

              @moth4017 this is a corexy voron O.2 . This is first time setting up sensorless homing. So really don’t know if homing is working right.

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

                @Karim do you have sensorless homing working on x and y yet?

                <

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

                  this is what i have on my duet3 mini5, your need to reconfigure the steppers and current and travel speed for the voron

                  ; homex.g
                  echo "home x stelh chop mode"
                  M569 P0.0										; Check status in console
                  M569 P0.1										; Check status in console
                  G91                                             ; relative positioning
                  M569 P0.0 S1 D3 V10                             ; set to stealth chop
                  M569 P0.1 S1 D3 V10								; set to stealth chop
                  M915 P0.0 S10 F0 R1 H150                   		; Configure Z-Axis Stall Detection 
                  M915 P0.1 S10 F0 R1 H150						; Configure Z-Axis Stall Detection 
                  
                  echo "stall detection setup"
                  M17 X Y											; Check status in console
                  G1 P140											;pause to allow the drivers to characterise the motor    
                  G1 H1 X-0.2 F3000								; move a  little  for cal of sensorless homing / not stalled
                  G1 H1 Y-0.2 F3000    							; move a  little  for cal of sensorless homing / not stall							
                  
                  echo "lower motor current"
                  M913 X30 Y30									; Lower motor current %
                  G4 P150											; wait 150ms
                  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 x"
                  G1 H1 X-350 F6000
                  G1 H2 X10 Y10
                  G1 H1 X-350 F6000
                  G1 H2 X10 Y10; Home Z-Axis actuators independently
                  M569 P0.0										; Check status in console
                  M569 P0.1										; Check status in console
                  G90 											; absolute positioning
                  ;G1 X150 F6000									; move to center of bed
                  
                  ;revert back 
                  echo "after revert back"
                  M915 P0.0 S128 F0 R1 H550                   		; Configure Z-Axis Stall Detection 
                  M915 P0.1 S128 F0 R1 H550						; Configure Z-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
                  

                  <

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

                    @moth4017 yes I have X & Y it working. But it still need tuning.

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

                      @Karim Hey guys does belt tension have anything to do with sensorless homing.

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

                        @Karim I've not found that belt tension makes much difference

                        <

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

                          @moth4017 ok,
                          I am having Y stall sometime when homing.

                          M915 X S0 R0 F0 H200		    ; Sensitivity 0 [-64 --> 64], R - take no action, F - No filter, 200steps/sec
                          M915 Y S2 R0 F0 H200		    ; Sensitivity -5 [-64 --> 64], R - take no action, F - No filter, 200steps/sec
                          

                          So I find changing the S value in Y makes it move. is that the right way of fixing it.

                          M915 X S0 R0 F0 H200		    ; Sensitivity 0 [-64 --> 64], R - take no action, F - No filter, 200steps/sec
                          M915 Y S2 R9 F0 H200		    ; Sensitivity 9 [-64 --> 64], R - take no action, F - No filter, 200steps/sec
                          
                          moth4017undefined dc42undefined 2 Replies Last reply Reply Quote 0
                          • moth4017undefined
                            moth4017 @Karim
                            last edited by

                            @Karim

                            its kind of a balancing act between the motor current , speed and s value ,

                            it took me quite a while to get them reliable , for some reason i found the tmc2209 and more difficult than others to get reliable

                            <

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

                              @Karim if it tends to stall at the start of the homing move then you probably need to reduce the acceleration of that axis when homing. Recent versions of RRF support command M201.1 for this purpose.

                              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

                              blt3dpundefined 1 Reply Last reply Reply Quote 0
                              • blt3dpundefined
                                blt3dp @dc42
                                last edited by

                                @Karim Just following up on if you got it to work, I've got to do the same thing for my v0.1, I'm upgrading to the v0.2 as well.

                                My 3D Printing YouTube Channel
                                Better Living Through 3D Printing

                                Follow me on Instagram and Twitter
                                Instagram
                                Twitter

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

                                  @blt3dp I am still testing, it still random stall when homing.

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

                                    Ok Guys so My XY homes ok, but I have this problem every time the printer first power up and I try to home all Axis, X axis would not move, but I can home X along and it work ok. After I have a successful Home all the problem goes away till power off and on printer the it starts again.

                                    ; homeall.g
                                    ;  called to home all axes
                                     
                                    
                                    M98 P"/sys/homez.g"        
                                    M98 P"/sys/homex.g"  		
                                    M98 P"/sys/homey.g"  		
                                     
                                    G1 F9000 X60 Y60 Z60
                                    
                                    moth4017undefined 1 Reply Last reply Reply Quote 0
                                    • moth4017undefined
                                      moth4017 @Karim
                                      last edited by

                                      @Karim hi i had this issue too so i just increased the current a little on the axis that stalled

                                      <

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

                                        @moth4017 ok i will try that, right now I have .63amps on both X and Y . I think the max current for the LDO (LDO-35STH52-1504 AH/VRN) stepper is 1.5amps.

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

                                          @Karim you only need a few ma like 50mA more

                                          <

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

                                            @moth4017 Ok increasing current to 1amp does nothing. It’s just the first power up and home all stalls on X axis, it looks like the printer needs to warm the electronics. But once you get a successful home all everything seems to work, oh and something the z axis would stall on homing sometimes and that have a limit swith.

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