Duet 3 mini 5+ wifi sensorless homing - Help
-
@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.
-
what are the setting you have for the sensor less homing?
did you also use M201.1 as dc42 suggested?i did some checks on mine tonight , i still get a non home event on the first time, so im doing a double home on x and Y , as you say after the first time it seems to be ok .
im about to swap my control board so i can try different drivers , im suspecting the tcm2209 and stall guard 4 , my next drivers will be stall guard 2 ,
-
@moth4017 Hey no I did try M201.1, I been working on this printer for two weeks now trying to get sensor-less homing to work properly . I have two duet 2 wifi with duex5 and they working flawlessly. I know what you are saying about homing, I have to home x and y separately then home all works it’s a hit or miss.
-
@Karim hi, testing tonight , if i turn down the acceleration while homing it stall less, M201.1 X800 Y800 remember to put the values back after homing.
i was at , M201.1 X1200 Y1200
-
@Karim said in Duet 3 mini 5+ wifi sensorless homing - Help:
It’s just the first power up and home all stalls on X axis
Try using a G1 H2 move to move the motors a few mm away from the endstops at the start of homeall.g or at the start of homex.g and homey.g. That should clear the stall status.
-
@dc42 Hi, i tried doing the small move first this didnt work for me , it stalled the "first moved" but moved on the second time.
; 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 M201.1 X800 Y800 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 stalle 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 M201.1 X1200 Y1200
-
@moth4017 try a longer move such as 1mm and use H2 not H1 in those moves. It needs to be more than 1 full step, or more than 4 full steps if you are using the filtering option in M915.
-
@dc42 Hi tried the H2 and changing distance moved , 1mm = 10 full steps on my printer , but still have random stalls on the Y axis so far .
-
@moth4017 said in Duet 3 mini 5+ wifi sensorless homing - Help:
but still have random stalls on the Y axis so far
Are they stalls right at the start of the homing move (i.e. immediately after your 1mm G1 H2 move), or stalls part way through the homing move? If they are right at the start then try lower M201.1 values e.g. X300 Y300.
Which firmware version are you using?
-
@dc42 3.5.0 beta2. The stall is after the small movement
-
@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.
-
@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
-
@moth4017 Which printer do you have , This is a Voron 0.2 Corexy.
-
@Karim core XY valkyrie
https://vkingprinter.com/project-valkyrie/ -
@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.
-
@moth4017 Very nice Printer, I never heard of it.
-
@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
-
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
-
@dc42 Mark as solved ... i think
-
What did you end up changing to get it right?