VoronDesign / Voron-Documentation

Sources of the documentation website for all Voron 3D printers
https://docs.vorondesign.com/
GNU General Public License v3.0
240 stars 190 forks source link

Sensorless xy homing howto [homing override] can try to move Z through the endstop #399

Closed yeqmxplusb closed 9 months ago

yeqmxplusb commented 9 months ago
  {% if home_all or 'Z' in params %}
    G28 Z
    G1 Z10
  {% endif %}

in [homing override] can execute in either G90 (if only homing Z) or G91 (if _HOME_X or _HOME_Y is called beforehand) because it doesn't specify either one.

In incremental positioning, this tries to move it 10mm past the endstop, where it's already at. I fixed by making it G91 G1 Z-10 because it's closest to the doc, but G90 G1 Z60 (which I saw in some other peoples' cfgs while searching about this) might be better.

kyleisah commented 9 months ago

I don’t think this is correct… Z moving in a positive direction will always move the printhead away from the bed. At least, in most cases. This may be different for V0.2 which homes the bed toward the bottom of the machine. In that case, a PR should be made to V0’s repo to fix any possible mistakes in the homing gcode macros, and not here.

Do you have a video of this happening? Also, do you have a klipper log file we can look at?

yeqmxplusb commented 9 months ago

Do you have a video of this happening? Also, do you have a klipper log file we can look at?

Video: https://drive.google.com/file/d/1p-BETGfCH8DSF-7V1qvQrpp-GKiF7Chx/view?usp=sharing

Is it only because of the endstop position on V0.2?
Or is mine misconfigured, Z=0 at nozzle and Z~=120 at the bottom (so sorry if I wasted your time bc of that).

Edit: I got to this doc from the initial build doc https://docs.vorondesign.com/build/startup/, which links to it with "Important: If you are building a V0.2 that requires sensorless homing you should follow this guide for setting up the sensorless endstops before continuing."

So shouldn't this repo also be updated somehow?