Duet 3 mini 5+ wifi sensorless homing - Help
-
@Karim you might find it easier to create your home x,y,z macros first a d in home all just call the macros in your home all like below
;homeall.g
M98 P" homex.g"
M98 P" homey.g"
M98 P"homez.g" -
@moth4017 ok really never made a macro.
-
This post is deleted! -
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
-
@moth4017 ok did that now X home then Z home then Y home. Before X Y Z in this way.
-
@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
-
@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.
-
@Karim do you have sensorless homing working on x and y yet?
-
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
-
@moth4017 yes I have X & Y it working. But it still need tuning.
-
@Karim Hey guys does belt tension have anything to do with sensorless homing.
-
@Karim I've not found that belt tension makes much difference
-
@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
-
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
-
@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.
-
@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.
-
@blt3dp I am still testing, it still random stall when homing.
-
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
-
@Karim hi i had this issue too so i just increased the current a little on the axis that stalled
-
@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.