X and U axis move in when homing Y-axis
-
Hi All,
On a new prototype machine I am building, I am experiencing a weird issue regarding homing.
When homing Y, I first home X and U. Then when the Y axis homes it;
- moves towards the endstop, stops when triggered
- Moves 5mm back
- Moves towards the endstop at slower pace for second time.
Expected behavior is that only Y axis moves, but somehow the X and U axis both move inwards on step 2. In DWC, the positions remain the same however...
Homing macro;
if {move.axes[2].machinePosition < 5 || !move.axes[2].homed} G92 Z0 G0 Z5 ;endif M400 ;home y-axis to max G91 ; relative positioning G1 H1 Y{move.axes[1].max + 25} F3600 ; move quickly to Y axis endstop and stop there (first pass) G1 H2 Y-5 F3600 ; go back a few mm G1 H1 Y300 F600 ; move slowly to Y axis endstop once more (second pass) G90 ; absolute positioning
I am using version 3.5.0-rc.4, markforged kinematics
A second issue I am having is that my X axis sometimes moves past its endstop and keeps moving (thus grinding) instead of stopping. I see on the sensor that the signal changes (NC switch, reports open when triggered) and most of the time it does work flawlessly.. Any idea why this could happen?? (I already tried the pullup trick, no effect)
-
@SanderLPFRG G1 H2 moves are raw motor moves. You will need to change that G1 H2 command to move the X and U motors too.
-
@dc42 Hi, Thank you for your reply. You have stated 2 times "G1 H2". do you mean I need to change it to G1 H1 for the Y to only move??
-
@SanderLPFRG said in X and U axis move in when homing Y-axis:
@dc42 Hi, Thank you for your reply. You have stated 2 times "G1 H2". do you mean I need to change it to G1 H1 for the Y to only move??
As the first move will set the homing flag, then you can use H0 or simply omit the H parameter for the second step where you move away from the endstop. So either G1 H0 Y-5 F3600 or simply G1 Y-5 F3600.
-
@deckingman said in X and U axis move in when homing Y-axis:
e first move will set the homing flag, then you can use H0 or simply omit the H parameter for the second step where you move away from the endstop. So either G1 H0 Y-5 F3600 or
Thanks, done that and now it works