diff --git a/config/hardware/probes/PZ Probe.cfg b/config/hardware/probes/PZ Probe.cfg new file mode 100644 index 000000000..fd6604179 --- /dev/null +++ b/config/hardware/probes/PZ Probe.cfg @@ -0,0 +1,55 @@ +[gcode_macro _USER_VARIABLES] +variable_probe_type_enabled: "vorontap" +variable_startprint_actions: "bed_soak", "extruder_preheating", "chamber_soak", "clean", "tilt_calib", "z_offset", "bedmesh", "extruder_heating", "purge", "clean", "primeline" +gcode: + +# TAP probe definition also include the probe management macro directly from here +[include ../../../macros/base/probing/generic_probe.cfg] +# +[probe] +pin: ^PROBE_INPUT +x_offset: 0 +y_offset: 0 +z_offset: 0 +speed: 5 +lift_speed: 10 +samples: 3 +samples_result: median +sample_retract_dist: 1.0 +samples_tolerance: 0.005 +samples_tolerance_retries: 3 + +#pz probe settings with preset 1 selected on the pz board. I selected the voron tab somehow its working very well here. +[probe] +pin: !toolhead:PROBE_INPUT +x_offset: 0 +y_offset: 0 +#z_offset: 0 +speed: 6 +#lift_speed:30 +samples: 2 +samples_result: median +sample_retract_dist: 2.0 +samples_tolerance: 0.01 +samples_tolerance_retries: 15 +activate_gcode: + G4 P200 # Wait 200ms + {% set PROBE_TEMP = 150 %} + {% set MAX_TEMP = PROBE_TEMP + 5 %} + {% set ACTUAL_TEMP = printer.extruder.temperature %} + {% set TARGET_TEMP = printer.extruder.target %} + + + {% if TARGET_TEMP > PROBE_TEMP %} + { action_respond_info('Extruder temperature target of %.1fC is too high, lowering to %.1fC' % (TARGET_TEMP, PROBE_TEMP)) } + M109 S{ PROBE_TEMP } + {% else %} + # Temperature target is already low enough, but nozzle may still be too hot. + {% if ACTUAL_TEMP > MAX_TEMP %} + { action_respond_info('Extruder temperature %.1fC is still too high, waiting until below %.1fC' % (ACTUAL_TEMP, MAX_TEMP)) } + TEMPERATURE_WAIT SENSOR=extruder MAXIMUM={ MAX_TEMP } + {% endif %} + {% endif %} + +[stepper_z] +endstop_pin: probe:z_virtual_endstop