-
-
Notifications
You must be signed in to change notification settings - Fork 166
Description
I have set this great plugin in my other printers. For my new printer, using the following settings, the CALIBRATE_Z command moves the nozzle to top of z-endstop, does only 1 probing, and immediately continues to run the end_gcode macro!
I have added some debugging messages to macros to see which one is being executed, and it shows that
- the
start_gcodeis run - one probing of the nozzle on the end-stop happens
- the
end_gcodeis executed
In the console, I just see one CALIBRATE_Z: probe at 288.300,362.000 is z=1.103000 message, followed by my debug message from the end_gcode!
I am not sure how to debug this further. Nothing suspicious shows up in the logs or the console.
Here is my config:
[z_calibration]
nozzle_xy_position: 288.3, 362.0 # A X, Y coordinate (e.g. 100,100) of the nozzle, clicking on the z endstop.
switch_xy_position: 304.7, 353.3 # 306.7, 352.5 # A X, Y coordinate (e.g. 100,100) of the probe's switch body, clicking on the z endstop.
bed_xy_position: 177.5, 177.5 # <X,Y position for probing the bed, for instance the center point - not needed if mesh with zero_reference_position is used>
switch_offset: 1.856 # Note: Again, the smaller the switch-offset, the further the nozzle is away from the bed!
offset_margins: -.3, 0.3
safe_z_height: 37.0 # The absolute z position in mm to move to before moving to the next position.
probing_speed: 0.5 # 2.5 # default from "stepper_z:homing_speed" section.
probing_second_speed: 0.5 # 1.0 # default from "stepper_z:second_homing_speed" section.
start_gcode: _BEGIN_CALIBRATE_Z # <macro name for attaching the probe>
before_switch_gcode: PREPARE_FOR_PROBING_KAICLID # <macro name for attaching the probe AFTER probing the nozzle>
end_gcode: _END_CALIBRATE_Z # <macro name for docking the probe>
speed: 120
samples: 2
The gcode macros are pretty simple:
[gcode_macro _BEGIN_CALIBRATE_Z]
gcode:
ASSERT_PROBE_STOWED
M118 🍄 STARTED z_calibration 🍄
[gcode_macro _END_CALIBRATE_Z]
gcode:
M118 Started 💀💀 _END_CALIBRATE_Z 💀💀
STOW_PROBE
[gcode_macro PREPARE_FOR_PROBING_KAICLID]
gcode:
M118 Started 🍄 PREPARE_FOR_PROBING_KAICLID 🍄
DEPLOY_PROBE
The only difference, between this printer and others is that the z-endstop uses a pressure sensor instead of of mechanical switch. It is working just fine as I can normally home the printer, and do a multi-sample Z-Homing on it without any problem.