Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

potential bed crash with community/howto/clee/sensorless_xy_homing.md #410

Open
tomlikesrocks opened this issue Mar 20, 2024 · 0 comments
Open

Comments

@tomlikesrocks
Copy link

it works fine if the printhead is already raised up from the bed and ready to go.
But if you had a previous error, for example on QGL and had too many attempts, the printhead could be at Z=0 and if you home from there it can crash into the bed.
Currently displaying:

[homing_override]
axes: xyz
gcode:
  {% set home_all = 'X' not in params and 'Y' not in params and 'Z' not in params %}

  {% if home_all or 'X' in params %}
    _HOME_X
  {% endif %}
  
  {% if home_all or 'Y' in params %}
    _HOME_Y
  {% endif %}
  
  {% if home_all or 'Z' in params %}
    G28 Z
    G1 Z10
  {% endif %}

I changed mine to:

[homing_override]
set_position_z: 0
axes: xyz
gcode:    
    # Now lift Z safely
    G1 Z30 F600  # Lift Z by 30mm

    {% set home_all = 'X' not in params and 'Y' not in params and 'Z' not in params %}
 
    {% if home_all or 'X' in params %}
      _HOME_X
    {% endif %}
  
    {% if home_all or 'Y' in params %}
      _HOME_Y
    {% endif %}
  
    {% if home_all or 'Z' in params %}
      G90
      G1 X175 Y175 F12000  ## Change this.  Should home to the z endstop pin if you don't use TAP.  Also, this is for a Voron 2.4 350.  
      G28 Z   ## Home Z
      G1 Z10 F1200
    {% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant