Homing - Setback after endstop not working (homex.g, homey.g)
-
Hello all
I have a quick question about the step-/setback after hitting/reaching the endstops in X- and Y-direction.
It seems that my defined setback after hitting a Endstop is not working. First I'm homing the Y-Axis and after the X-Axis. In both .g-files I have implemented a relative move (away from the endstop) but the movement isn't executed. The printer homes the X-Axis without moving away from the Y-Endstop.
The Endstop-Positions:
; Axis
M208 X-180.2:180.2 Y-148.35:140.05 Z0:280 C0:240 S0Y-Axis: +140.05
X-Axis: +180.2My homex.g:
G91 ; use relative positioning
G1 H2 X0.5 Y-0.5 F10000
M400
M913 X31 Y31
M915 H200 X Y S3 R0 F0
G1 H1 X400 F2000
G1 H1 X-4 F2000 ; move away from endstop
G90 ; back to absolute positioning
M400
M913 X100 Y100My homey.g:
G91 ; use relative positioning
G1 H2 X0.5 Y-0.5 F10000
M400
M913 X31 Y31
M915 H200 X Y S3 R0 F0
G1 H2 Z10 F5000
G1 H1 Y400 F2000
G1 H1 Y-4 F2000 ; move away from end
G90 ; back to absolute positioning
M400
M913 X100 Y100Am I missing something? I'm pretty sure that the values have to be negative (G1 H1 Y-4 F2000) because how my printer is set up
-
You have this:
G1 H1 X400 F2000 G1 H1 X-4
Change it to this:
G1 H1 X400 F2000 G1 X-4
Does that work?
Frederick
-
@fcwilt
Hello FrederickYes it worked. Thank you.
Maybe it didn't work because it's still at the endstop-triggering position and prevents any movement. I just misread ''terminate'' -> it seems it means both directions
"H1 terminate the move when the endstop switch is triggered and set the axis position to the axis limit defined by M208. On delta printers, H1 also selects individual motor mode as for H2. Normally used with relative motor coordinates (see G91)."