BL Touch and Zero



  • I've installed the BL Touch to my Duet and I'm running into a strange issue. I will manually zero the nozzle to the bed(G92 Z0) move up 10mm(G1 Z10) and do several probes(G30 S-1) and then input that value(for me is was like 4 mm) into the config under Z probe offsets. This is all well and good even up to a mesh bed probing, however printing is a different story. After all is said and done and I send the code G1 Z0, it will always hover 4 to 5 mm above the build plate and the same goes for printing. Ive tried everything from adjusting my start Gcode to changing the offset but to no avail. Here is my config. Thank You.

    ; Configuration file for Duet WiFi (firmware version 1.21)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2 on Mon May 20 2019 16:13:32 GMT-0500 (Central Daylight Time)

    ; General preferences
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves

    ; Network
    M550 P"PussySlayer" ; Set machine name
    M552 S1 ; Enable network
    M587 S"11818e" P"endless.955.drift" ; Configure access point. You can delete this line once connected
    M586 P0 S1 ; Enable HTTP
    M586 P1 S0 ; Disable FTP
    M586 P2 S0 ; Disable Telnet

    ; Drives
    M569 P0 S0 ; Physical drive 0 goes backwards
    M569 P1 S1 ; Physical drive 1 goes forwards
    M569 P2 S0 ; Physical drive 2 goes backwards
    M569 P3 S1 ; Physical drive 3 goes forwards
    M569 P4 S1 ; Physical drive 4 goes forwards
    M584 X0 Y1 E3 Z2:4 U4 P5 ; Apply custom drive mapping
    M350 X256 Y256 Z256:256 U256 E256 I0 ; Configure microstepping without interpolation
    M92 X1280.00 Y1280.00 Z6400.00:6400.00 U6400.00 E6790.00 ; Set steps per mm
    M566 X1800.00 Y1800.00 Z24.00:24.00 U24.00 E24.00 ; Set maximum instantaneous speed changes (mm/min)
    M203 X12000.00 Y12000.00 Z360.00:360.00 U360.00 E360.00 ; Set maximum speeds (mm/min)
    M201 X1000.00 Y1000.00 Z2040.00:2040.00 U2040.00 E500.00 ; Set accelerations (mm/s^2)
    M906 X1200.00 Y1200.00 Z1200.00:1200.00 U1200.00 E1200.00 I0 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Axis Limits
    M208 X0 Y0 Z0 S1 ; Set axis minima
    M208 X220 Y220 Z220 S0 ; Set axis maxima

    ; Endstops
    M574 X1 Y1 Z2 U2 S0 ; Set active low and disabled endstops

    ; Z-Probe
    M307 H3 A-1 C-1 D-1 ; Disable heater on PWM channel for BLTouch
    M558 P9 H10 F120 T6000 ; Set Z probe type to bltouch and the dive height + speeds
    G31 P500 X15 Y20 Z4.16 ; Set Z probe trigger value, offset and trigger height
    M557 X10:150 Y10:200 S30 ; Define mesh grid

    ; Heaters
    M307 H0 B0 S1.00 ; Disable bang-bang mode for the bed heater and set PWM limit
    M305 P0 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 0
    M143 H0 S120 ; Set temperature limit for heater 0 to 120C
    M305 P1 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 1
    M143 H1 S280 ; Set temperature limit for heater 1 to 280C

    ; Fans
    M106 P0 S1 I0 F500 H T10 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P1 S0 I0 F500 H-1 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off

    ; Tools
    M563 P0 D0 H1 ; Define tool 0
    G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
    G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C

    ; Automatic saving after power loss is not enabled

    ; Custom settings
    M307 H3 A-1 C-1 D-1
    M558 P9 H5 F100 T2000
    G31 X0 Y0 Z0 P25

    ; Miscellaneous
    M501 ; Load saved parameters from non-volatile memory



  • @willyd3113 said in BL Touch and Zero:

    ; Custom settings
    M307 H3 A-1 C-1 D-1
    M558 P9 H5 F100 T2000
    G31 X0 Y0 Z0 P25

    You have a duplicate G31 entry at the end of your config file overriding your earlier line.



  • Well, I feel kinda dumb, but thank you very much


Log in to reply