Voron2.4 Auto Z-Probe Block

Automated Z-Axis Adjustment Probe Block for Voron2.4 Default Z-Axis Probe Setup.
1
4
0
103
updated June 18, 2024

Description

PDF

This adjustment block is designed for the Voron2.4 default proximity switch Z-axis probe setup. It helps determine the offset between the nozzle and the proximity switch trigger point.

 

Usage Instructions:

1. Insert the block into the Z-axis endstop screw.

2. Place a small metal plate on top of the block.

3. The three holes are for placing 6x3 mm magnets to hold non-adhesive metal plates in place. However, it is recommended to use 25 mm diameter circular metal plates with adhesive backing (thickness is not critical, but 0.3 mm is suggested as this thickness has been tested).

 

G Code Instructions:

For safety, please verify the following before running the G Code (including but not limited to endstop being blocked by the heated bed, proximity switch detecting the metal plate, Z-axis homing coordinates, and automatic probe relative Z-axis offset adjustment).

Run Z_AUTO_CALIBRATION. If the saved Z-axis offset in the configuration differs significantly after the first run, the value will be automatically updated and the system will reboot. This typically only happens once unless the relative distance between the probe and the nozzle changes. Besides, this macro will update the current Z-axis offset when the configuration error is not significant. This can be run before each print. After running this macro, you can run bed mesh to further level the heated bed.

[gcode_macro Z_AUTO_CALIBRATION_1]
gcode:
    {% set config_z_offset = printer.configfile.config['probe']['z_offset'] | float %}
    {% set current_z_offset = printer.probe.last_z_result - 0.25 %}
    {% set z_diff = config_z_offset - current_z_offset %}
    RESPOND MSG="Z_AUTO_CALIBRATION_1: {config_z_offset} - {current_z_offset} = {z_diff}"
    SET_GCODE_OFFSET Z={z_diff}
    {% if z_diff < -0.2 or z_diff > 0.2 %}
        RESPOND MSG="WARNING: Z offset difference is significant ({ z_diff }). Adjusting Z offset."
        M400
        Z_OFFSET_APPLY_PROBE
        M109 70
        # SAVE and REBOOT
        SAVE_CONFIG
    {% endif %}

[gcode_macro Z_AUTO_CALIBRATION]
gcode:
    G28
    G1 Z10 F3000
    G1 X96 Y300 Z10 F3000
    G90
    G1 Z10 F3000
    G91
    # offset 10mm
    G1 Y-{printer.configfile.settings['probe'].y_offset - 10} F3000
    G90
    PROBE
    M400
    Z_AUTO_CALIBRATION_1

Tags



Model origin

The author marked this model as their own original creation.

License