RRF 3.4.0 Sensorless Homing Issues after Power Cycle
-
@oliof yes, that makes sense. I assume before you upgraded to RRF 3.4.0 you did not specifically configure your drivers as D3 (because they did that by default). Now they default to D2, hence you need to tell them specifically to operate in stealthChop2 before homing (via D3).
If you just configure your drivers as D3 now in config.g you should also be able to home just fine without switching between D2 and D3.
May I ask how your homing files look like? I'd like to see if you are doing something different to tune your drivers. Thank you!
-
-
@flobler your homing files are not right for the Duet 3 Mini because you are not executing the required stealthChop tuning move. For example, the first X move you do in homeall.g is this:
G1 H1 X5 F1200
Try this instead:
M17 X
G4 P140
G1 H2 X5 F1200 -
@dc42 Thank you! I just tried that but the behavior did not change. X and Y are still stalling immediately when trying to home after a power cycle and home fine after that initial false stall until I power cycle the printer again.
I had a tuning move included in
homing-modifications.g
(which I removed to test what you suggested). -
@flobler when you try to home after a power cycle, does each of the X and Y axes move 5mm away from the endstop before the premature stall?
-
For reference, this is what I just tried:
homeall.g
;---------------------------------------------------------------------------- ; homeall.g ; ; Description: ; - system file ; - called to home all axes ; - used in homez.g ;---------------------------------------------------------------------------- ;---------------------------------------------------------------------------- ; Preparation ;---------------------------------------------------------------------------- M98 P"homing-modifications.g" ; calls homing-modifications.g ; Lift Z Axis G91 ; relative positioning G1 H2 Z5 F1200 ; lift Z axis by 5mm M400 ; wait for current moves to finish ;---------------------------------------------------------------------------- ; Home X Axis ;---------------------------------------------------------------------------- M17 X G4 P140 G1 H2 X5 F1200 G1 H1 X5 F1200 ; move X axis away from homing position by 5mm G1 H1 X-255 F3000 ; move to X axis endstop and stop there G1 X5 F1200 ; move back by 5mm G1 H1 X-10 F3000 ; move to X axis endstop again G1 X10 F1200 ; move back by 10mm M400 ; wait for current moves to finish ;---------------------------------------------------------------------------- ; Home Y Axis ;---------------------------------------------------------------------------- M17 Y G4 P140 G1 H2 Y5 F1200 G1 H1 Y5 F1200 ; move Y axis away from homing position by 5mm G1 H1 Y-220 F3000 ; move to Y axis endstop and stop there G1 Y5 F1200 ; move back by 5mm G1 H1 Y-10 F3000 ; move to Y axis endstop again G1 Y10 F1200 ; move back by 10 mm M400 ; wait for current moves to finish ;---------------------------------------------------------------------------- ; Home Z Axis ;---------------------------------------------------------------------------- G90 ; absolute positioning G1 X11.5 Y4.5 F6000 ; go to first probe point G30 ; home Z axis by probing the bed G1 Z0.6 F500 ; move Z axis to 0.6mm G91 ; relative positioning G1 Z1 F500 ; lift Z axis by 1mm M400 ; wait for current moves to finish ;---------------------------------------------------------------------------- ; Restore Defaults ;---------------------------------------------------------------------------- M98 P"homing-modifications-reset.g" ; calls homing-modifications-reset.g
homing-modifications.g
;--------------------------------------------------------------------------------- ; homing-modifications.g ; ; Description: ; - system file ; - sets motor current and V parameter for homing moves ; - tunes motor drivers ; - used in all homing system files ;--------------------------------------------------------------------------------- ;--------------------------------------------------------------------------------- ; Modifications ;--------------------------------------------------------------------------------- M569 P0.3 V10 ; reduce V parameter to ensure stealthChop is enabled for X M569 P0.2 V10 ; reduce V parameter to ensure stealthChop is enabled for Y M913 X60 Y60 ; drop X and Y motor current to 60% G4 P150 ; wait 150ms
homing-modifications-reset.g
;----------------------------------------------------------------------- ; homing-modifications-reset.g ; ; Description: ; - system file ; - resets all homing modifications applied in homing_modifications.g ; - used in all homing system files ;----------------------------------------------------------------------- M913 X100 Y100 ; reset X and Y motor current to 100% M569 P0.3 V2000 ; restore default V parameter for X M569 P0.2 V2000 ; restore default V parameter for Y G90 ; absolute positioning
-
@dc42 Yes, they do and as soon as the axes move towards the endstop, they stall. If it helps I can send you a video of the behavior?
-
@dc42 my bad, as you can see above I failed to remove the
G1 H1 X5 F1200
I re-tested without and this works now. Thank you very much!
-
-