BLTouch Failed to enable endstops error on home



  • I recently upgraded the duet firmware from 2.05 to 3.0 then 3.1.1 and I'm now unable to home Z.

    When I run G28 Z I get: Error: Failed to enable endstops

    Also, it used to move to a probe-able location before deploying the probe. Now it just errors.

    I'm using a bltouch probe and my wiring matches
    https://d17kynu4zpq5hy.cloudfront.net/igi/duet3d/KUDxTZSs3rnd3JVH.full

    I'm able to deploy/retract the probe using
    M280 P0 S10 ; deploy BLTouch
    M280 P0 S90 ; retract BLTouch

    Here's my config:

    {"board":"duetwifi10","expansion_boards":[],"firmware":3,"standalone":true,"nvram":false,"auto_save":{"enabled":false,"save_threshold":10,"resume_threshold":11,"gcodes_to_run":"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000"},"display":{"type":0,"encoder_steps":4,"spi_frequency":2000000,"menus":[{"name":"main","value":""}],"images":[]},"geometry":{"type":"cartesian","mins":[0,0,0],"maxes":[230,215,200],"delta_radius":105.6,"homed_height":250,"low_dive_height":false,"max_carriage_travel":260,"print_radius":85,"rod_length":215,"z_min":0},"drives":[{"direction":0,"microstepping":16,"microstepping_interpolation":true,"steps_per_mm":160,"instant_dv":15,"max_speed":150,"acceleration":500,"current":1000,"driver":0,"driver_v3":"0.0","endstop_pin":"xstop","endstop_type":1,"endstop_location":2},{"direction":1,"microstepping":16,"microstepping_interpolation":true,"steps_per_mm":160,"instant_dv":15,"max_speed":150,"acceleration":500,"current":1000,"driver":1,"driver_v3":"0.1","endstop_pin":"ystop","endstop_type":1,"endstop_location":1},{"direction":1,"microstepping":16,"microstepping_interpolation":true,"steps_per_mm":400,"instant_dv":0.6,"max_speed":10,"acceleration":20,"current":1000,"driver":2,"driver_v3":"0.2","endstop_pin":null,"endstop":null,"endstop_type":0,"endstop_location":1},{"direction":1,"microstepping":16,"microstepping_interpolation":true,"steps_per_mm":840,"instant_dv":6,"max_speed":20,"acceleration":250,"current":1000,"driver":3,"driver_v3":"0.3"}],"idle":{"used":true,"factor":30,"timeout":30},"homing_speed_fast":30,"homing_speed_slow":6,"travel_speed":100,"z_dive_height":5,"slow_homing":false,"probe":{"type":"bltouch","recovery_time":0.4,"trigger_height":2.5,"trigger_value":500,"x_offset":0,"y_offset":-40,"speed":2,"deploy":true,"points":[],"pwm_channel":3,"pwm_inverted":true,"pwm_pin":"exp.heater3","input_pin":"zprobe.in","modulation_pin":"zprobe.mod"},"bed_is_nozzle":false,"bed":{"present":true,"use_pid":false,"heater":0},"chamber":{"present":false,"use_pid":false,"heater":2},"heaters":[{"temp_limit":120,"scale_factor":100,"series":4700,"thermistor":100000,"beta":4138,"c":0,"channel":0,"sensor":0,"output_pin":"bedheat","sensor_type":"thermistor","sensor_pin":"bedtemp"},{"temp_limit":280,"scale_factor":100,"series":4700,"thermistor":100000,"beta":4138,"c":0,"channel":1,"sensor":1,"output_pin":"e0heat","sensor_type":"thermistor","sensor_pin":"e0temp"}],"num_nozzles":1,"toolchange_wait_for_temperatures":true,"generate_t_code":false,"tools":[{"mix_ratio":[],"number":0,"name":"","extruders":[0],"heaters":[1],"fans":[0],"x_offset":0,"y_offset":0,"z_offset":0}],"compensation_x_offset":15,"compensation_y_offset":15,"peripheral_points":3,"halfway_points":3,"calibration_factors":6,"probe_radius":85,"mesh":{"x_min":15,"x_max":230,"y_min":20,"y_max":175,"radius":85,"spacing":25},"home_first":false,"orthogonal":{"compensation":false,"height":50,"deviations":[0,0,0]},"network":{"enabled":true,"mac_address":"","name":"BezzBot","password":"","ssid":"","ssid_password":"","dhcp":true,"ip":"192.168.1.20","netmask":"255.255.255.0","gateway":"192.168.1.254","protocols":{"http":true,"ftp":false,"telnet":false}},"fans":[{"name":"","value":0,"inverted":false,"frequency":500,"thermostatic":false,"heaters":[],"trigger_temperature":45,"output_pin":"fan0"},{"name":"","value":100,"inverted":false,"frequency":500,"thermostatic":true,"heaters":[1],"trigger_temperature":45,"output_pin":"fan1"}],"custom_settings":""}
    

    Thanks for your help



  • Figured it out. Had to make some changes to homez.g

    G91             ; relative positioning
    G1 H2 Z5 F6000  ; lift Z relative to current position
    G90             ; absolute positioning
    G1 X0 Y60 F6000 ; go to first probe point
    G30             ; home Z by probing the bed
    

Log in to reply