Strange sensorless homing in X
-
Hello. I have a duet3 board, SBC mode, running 3.4 firmware.
This is my homex.g file for my sensorless setup:
M915 X Y S1 R0 F0
M400 ; Wait for current moves to finish
M913 X40 Y40 ; drop motor current to 70%
M400
G91 ; relative positioning
G1 H2 Z10 F12000 ; lift Z relative to current position
G1 H1 X-350 F7000 ; move quickly to X axis endstop and stop there (first pass)
G1 H2 X50 F12000 ; go back a few mm
G1 H1 X-350 F7000 ; move slowly to X axis endstop once more (second pass)
G1 x150 f7000
G1 H2 Z-10 F6000 ; lower Z again
G90 ; absolute positioning
M400
M913 X100 Y100 ; return current to 100%
M400
M915 X Y S1 R1 F0The problem Im having is that when it runs the G1 H1 X-350 F7000 ; move quickly to X axis endstop and stop there (first pass)
sensorless is triggered and it goes back a little BUT it moves +25mm in the Y. It is a real movements since on the interface I can read the +25mm Y movement
And then goes for the sencond pass.Im loosing my mind trying to figure it out why it is moving those 25 mm on the Y axis
Ideas?
-
Is this a corexy? If so, remove the H2 from the back off move as it is moving just one motor, not the axis itself.
-
@phaedrux Yes, it is something similar, an H-bot configiration.
Question: is the corexy also going to affect somehow the tunning of the sensorless homing regarding currents and sensibility of each axis? Im having some trouble there too.
-
Yes sensorless homing will be harder in a system with multiple motors moving at the same time to generate movement. It will also be influenced by belt length/stretch and tension. A simple endstop is usually the better option.