Activate_gcode not working on BFPTouch

Basic Information:

Printer Model: CR-10
MCU / Printerboard: BIGTREETECH SKR mini MZ v1.0
Host / SBC: Moonraker & fluidd / Raspberry Pi 4 Model B Rev 1.1
klippy.log: klippy.log (4.6 MB)

Describe your issue:

I have switched to Klipper only this week and it is amazing. But I can’t get my BFPTouch to work correctly. It is not running the activate_gcode on the probe. I added two macros, that allow me to deploy and retract the BFPTouch so I know the code works. I can’t do any bed leveling functions because they automatically retract the tip and it throws “Endstop z still triggered after retract”. I don’t know if this is related but I can’t get the z_offset to work either
. Even if I put positive or negative 20 when I move the Z axis to zero it is still 0.9 away from the bed.

[servo tower_pro] # SG90
pin: PA1
maximum_servo_angle: 180
minimum_pulse_width: 0.0005
maximum_pulse_width: 0.0024
initial_angle: 50 # retracted

[probe]
pin: PC14
deactivate_on_each_sample: False # keep deployed as it is too slow to retract and deploy each time
x_offset: -63.0
y_offset: -0.9
z_offset: -0.9
samples: 1
#sample_retract_dist: 2.0
#lift_speed:
#samples_result: average
#samples_tolerance: 0.100
#samples_tolerance_retries: 0
activate_gcode:
SET_SERVO SERVO=tower_pro ANGLE=93 ENABLE=1 # deploy probe
G4 P500 # allow time for probe to deploy before homing Z
deactivate_gcode:
SET_SERVO SERVO=tower_pro ANGLE=10 # retract probe
SET_SERVO SERVO=tower_pro ANGLE=10 ENABLE=0

[gcode_macro deployprobe]
gcode:
SET_SERVO SERVO=tower_pro ANGLE=93 ENABLE=1 # deploy probe

[gcode_macro retractprobe]
gcode:
SET_SERVO SERVO=tower_pro ANGLE=10 # retract probe
SET_SERVO SERVO=tower_pro ANGLE=10 ENABLE=0

Thank you!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.