Jump to content
  • 1

Chaoticlab Tap V2/QGL question


SamppaD

Question

Hi. I rebuild my Voron 2.4R2 and after doing full electronics an motor swap wanted to move from Clicky probe RIP to Tap V2. Im running SB with galileo2 and clicky probe.  Now installation of Tap v2  was easy and everything is working with good accuracy but i have a question regarding QGL. When homing tap will home to the center of the bed, as expected. When Tap is  doing QGL it will complete the QGL and stay at right front corner of the bed, will not auto home after QGL is done. Now i would like it to return to home position X150 Y150 after QGL. Looking at the printer.cfg I cant find correct location to change this.  What do i need to change in printer.cfg?

By the way noticed that if using galileo2 with this tap, X gantry chain will interfere with tap motion. Galileo 2, toolhead door bottom corner is really close to the Tap, so toolhead door need to be slightly modify, otherwise in use if the chain shifts slightly  will trigger the tap and stop the printer.

 

Next mode still in transit Nitehawk..

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0
On 1/6/2026 at 9:49 PM, SamppaD said:

  What do i need to change in printer.cfg?

You will need to redifine the QUAD_GANDRY_LEVEL command by creating a macro. Something like this:

[gcode_macro QUAD_GANTRY_LEVEL]
description: Perform a QGL and centre the toolhead afterwards
rename_existing: QUAD_GANTRY_LEVEL_BASE
gcode:
    # --- Existing QGL Commands ---
    {% if not 'xyz' in printer.toolhead.homed_axes %}
      G28 # Home if not already homed
    {% endif %}
    QUAD_GANTRY_LEVEL_BASE # Perform the QGL process

    # --- Commands to Center the Toolhead ---
    {% set x_center = printer.toolhead.axis_maximum.x|float / 2 %}       
    {% set y_center = printer.toolhead.axis_maximum.y|float / 2 %}
    {% set z_safe = [printer.toolhead.position.z + 10, printer.toolhead.axis_maximum.z]|min %}

    G90 ; Absolute positioning
    G0 Z{z_safe} F3000 ; Raise Z axis for safety
    G0 X{x_center} Y{y_center} F20000 ; Move to the center of the bed

 

Explanation of the added lines:

  • {% set x_center = printer.toolhead.axis_maximum.x|float / 2 %}: This line uses Jinja2 to define a variable x_center which calculates half of your printer's maximum X axis dimension (e.g., for a 350x350 bed, this would be 175).
  • {% set y_center = printer.toolhead.axis_maximum.y|float / 2 %}: This does the same for the Y axis.
  • {% set z_safe = ... %}: This dynamically determines a safe Z height to move to, ensuring the nozzle doesn't drag on the bed and stays within the printer's Z limits.
  • G90: Ensures absolute positioning mode is active.
  • G0 Z{z_safe} F3000: Safely lifts the toolhead to the calculated Z height.
  • G0 X{x_center} Y{y_center} F20000: Moves the toolhead to the calculated center X and Y coordinates using the G0 (rapid move) command at a speed of 20000 mm/min (adjust F speed as needed). 

After adding this to your configuration file, save and restart Klipper for the changes to take effect. You can then run the Quad_Gantry_Level command to home, level, and center your toolhead. 

You will notice this automatically homes the printer if it has not been homed before.

I have tested it and it works. Hope this helps

  • Like 3
Link to comment
Share on other sites

  • 0
19 hours ago, mvdveer said:

You will need to redifine the QUAD_GANDRY_LEVEL command by creating a macro. Something like this:

[gcode_macro QUAD_GANTRY_LEVEL]
description: Perform a QGL and centre the toolhead afterwards
rename_existing: QUAD_GANTRY_LEVEL_BASE
gcode:
    # --- Existing QGL Commands ---
    {% if not 'xyz' in printer.toolhead.homed_axes %}
      G28 # Home if not already homed
    {% endif %}
    QUAD_GANTRY_LEVEL_BASE # Perform the QGL process

    # --- Commands to Center the Toolhead ---
    {% set x_center = printer.toolhead.axis_maximum.x|float / 2 %}       
    {% set y_center = printer.toolhead.axis_maximum.y|float / 2 %}
    {% set z_safe = [printer.toolhead.position.z + 10, printer.toolhead.axis_maximum.z]|min %}

    G90 ; Absolute positioning
    G0 Z{z_safe} F3000 ; Raise Z axis for safety
    G0 X{x_center} Y{y_center} F20000 ; Move to the center of the bed

Explanation of the added lines:

  • {% set x_center = printer.toolhead.axis_maximum.x|float / 2 %}: This line uses Jinja2 to define a variable x_center which calculates half of your printer's maximum X axis dimension (e.g., for a 350x350 bed, this would be 175).
  • {% set y_center = printer.toolhead.axis_maximum.y|float / 2 %}: This does the same for the Y axis.
  • {% set z_safe = ... %}: This dynamically determines a safe Z height to move to, ensuring the nozzle doesn't drag on the bed and stays within the printer's Z limits.
  • G90: Ensures absolute positioning mode is active.
  • G0 Z{z_safe} F3000: Safely lifts the toolhead to the calculated Z height.
  • G0 X{x_center} Y{y_center} F20000: Moves the toolhead to the calculated center X and Y coordinates using the G0 (rapid move) command at a speed of 20000 mm/min (adjust F speed as needed). 

After adding this to your configuration file, save and restart Klipper for the changes to take effect. You can then run the Quad_Gantry_Level command to home, level, and center your toolhead. 

You will notice this automatically homes the printer if it has not been homed before.

I have tested it and it works. Hope this helps

Hi. Well that explains it. This was exactly what i needed, works as intended. Thank you 👍

  • Like 2
Link to comment
Share on other sites

  • 0
On 1/7/2026 at 12:19 PM, mvdveer said:

You will need to redifine the QUAD_GANDRY_LEVEL command by creating a macro. Something like this:

 

Very nice!

Until now for my V2.4s head would stop at the last QGL point!

Most of the time did not matter, as the print will start after this, but it is nice to have the head park itself in a "nice" place. Until now, I had a macro button that parked it in a another place, depending on the needs. Your solution is a lot more elegant.

Thanks @mvdveer!

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...