Duet2 wifi setting bl touch z offset help.



  • So im running into an issue with the z offset on my ender 5 plus with bltouch. I got it printing beautifully and my only issue was a slightly too high first layer. (Getting gaps in my base layer) so i figured i just need to lower my z offset just a little. Im new to abl so i had to look up some guides on how to do it. So essentially im setting the z offset in the config to zero.. going to mid bed about 10mm z height. Sending g30... jogging down to a .1 feeler gauge... m92 z.1. Raising 10mm again ans sending g30 s-1... (its displayed around 2.15 every time)... gone into my config and changed the z offset to what my readout was.... and when i save and restart... after re-homing im always about 7.5mm off the print bed and z reads at 2.5mm. Ive even tried changing the offset to something crazy like 4.5 and it doest change.... im almost really wishing i just left the first layer as is... is there something im missing? Do i need to modif another one of my sys files to get the changes to stick? Do i need to make all the changes in the console instead of modifying the config file and saving?



  • post your config.g



  • 0:/sys/config.g
    ; Configuration file for Duet WiFi (firmware version 2.03)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2.0.3 on Fri Sep 13 2019 00:35:32 GMT+0100 (British Summer Time)

    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"Ender 5 Plus" ; set printer name

    ; Network
    M552 S1 ; enable network
    M586 P0 S1 ; enable HTTP
    M586 P1 S1 ; enable FTP
    M586 P2 S1 ; enable Telnet

    ; Drives
    M569 P0 S1 ; physical drive 0 goes forwards
    M569 P1 S1 ; physical drive 1 goes forwards
    M569 P2 S0 ; physical drive 2 goes backwards
    M569 P3 S0 ; physical drive 3 goes backwards
    M584 X0 Y1 Z2 E3 ; set drive mapping
    M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
    M92 X80.40 Y80.00 Z796.01 E274.64 ; set steps per mm
    M566 X900.00 Y900.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X6000.00 Y6000.00 Z300.00 E1200.00 ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2)
    M906 X800 Y800 Z800 E900 I30 ; set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Axis Limits
    M208 X-5.5 Y0 Z0 S1 ; set axis minima
    M208 X350 Y350 Z400 S0 ; set axis maxima

    ; Endstops
    M574 X1 Y1 S1 ; set active high endstops

    ; Z-Probe
    M574 Z1 S2 ; set endstops controlled by probe
    M307 H3 A-1 C-1 D-1 ; disable heater on PWM channel for BLTouch
    M558 P9 H2.5 F180 T6000 ; set Z probe type to bltouch and the dive height + speeds
    G31 P500 X45 Y-3 Z2.14 ; set Z probe trigger value, offset and trigger height
    M557 X0:305 Y0:315 S25 ; 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-1 ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S1 I0 F500 H1 T45 ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on

    ; Tools
    M563 P0 D0 H1 F0 ; 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

    ; Custom settings
    M591 D0 P2 C3 S1 ; Filament Run out sensor
    G29 S1 ; Load mesh bed

    ; Miscellaneous
    M501 ; load saved parameters from non-volatile memory
    M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss

    Ender 5 Plus
    Send code...
    Status
    Idle
    Tool Position
    X
    15.0
    Y
    15.0
    Z
    2.50
    Extruder Drives
    Drive 0
    0.0
    Speeds
    Requested Speed
    0 mm/s
    Top Speed
    0 mm/s
    Sensors
    Vin
    24.1 V
    MCU Temperature
    30.8 C
    Fan RPM
    0
    Z-Probe
    0
    Tools
    Extra
    Control All
    Tool Heater Current Active Standby
    Tool 0
    T0 - Load Filament Heater 1
    off 25.1 C
    0
    0
    Bed Heater 0
    off 25.0 C
    0
    0
    Temperature Chart
    System Directory



  • Hi,

    Well if it was too high then you needed to increase the probe Z trigger height setting.

    I don't put my probe settings in config.g since I would then have to reboot the printer to use the new values.

    I have a system file I created called configprobe.g which I can edit or run as needed. So in any place I need to be sure that probe is configured with the most current values I simply add the command M98 P"configprobe.g"

    Frederick



  • @Anvil said in Duet2 wifi setting bl touch z offset help.:

    M501 ; load saved parameters from non-volatile memory

    post your config overwrite

    M305 P0 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 0
    M305 P1 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 1

    unrelated but your thermistor settings are look.

    M92 X80.40 Y80.00 Z796.01 E274.64

    hmm its unlikely that your leadscrew is really that values. when you measured it it was most likely backlash that your measured.



  • @Veti

    Ill post the overwrite config when i get back from lunch.

    But what did you mean to say about my thermistors? They look.... ?

    And im not sure what you mean about measuring the backlash on the leadscrew?

    Everything was printing perfectly before i tried to adjust the z offset. Temps were consistent and those are the step values after adjusting for a calibration cube. So it was printing spot on dimensions. Just had gaps in my first layer.



  • @Anvil said in Duet2 wifi setting bl touch z offset help.:

    And im not sure what you mean about measuring the backlash on the leadscrew?

    how did you arrive at your z steps?
    for some info what backlash is. https://en.wikipedia.org/wiki/Backlash_(engineering)

    But what did you mean to say about my thermistors? They look.... ?

    every type of thermistor has a specific beta value.
    this determines the resistance at a specific temperature.
    if you are using the wrong value it might display 200C but the read temperature can easily be 20C off.



  • most likely creality uses the same thermistors as the ender 3. see
    https://duet3d.dozuki.com/Guide/Ender+3+Pro+and+Duet+Maestro+Guide+Part+2:+Configuration/38



  • I know what backlash is, im a machinist. Im just not sure what you mean by how it applies to measuring my z steps. I copied a friends config file and checked it against another persons ender 5 plus steps... both stock values were 80, 80, and 800... then mine is minus some for the calibration adjustment to land on 20mm height of a calibration cube. Like i said... other than the first layer... it was printing perfectly before i attempted to change the z offset.

    ah... well for the thermistors... The whole sys config I got from a friends sys config files for a baseline. Ive copied his printer exactly (which is tuned and printing great). and just been tweaking to get mine dialed...but i mean when the bed and hotend are at idle it reads the exact room temperature in my house.... I'm not sure if that makes any difference but... again everything was printing perfectly... im even using the same temps for filaments that i use on my other printer and if anything im noticing better performance... but i have no idea about thermistor beta values so i dont really know.

    anywho... here's my overwrite config.

    M503
    ; Configuration file for Duet WiFi (firmware version 2.03)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2.0.3 on Fri Sep 13 2019 00:35:32 GMT+0100 (British Summer Time)

    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"Ender 5 Plus" ; set printer name

    ; Network
    M552 S1 ; enable network
    M586 P0 S1 ; enable HTTP
    M586 P1 S1 ; enable FTP
    M586 P2 S1 ; enable Telnet

    ; Drives
    M569 P0 S1 ; physical drive 0 goes forwards
    M569 P1 S1 ; physical drive 1 goes forwards
    M569 P2 S0 ; physical drive 2 goes backwards
    M569 P3 S0 ; physical drive 3 goes backwards
    M584 X0 Y1 Z2 E3 ; set drive mapping
    M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
    M92 X80.40 Y80.00 Z796.01 E274.64 ; set steps per mm
    M566 X900.00 Y900.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X6000.00 Y6000.00 Z300.00 E1200.00 ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2)
    M906 X800 Y800 Z800 E900 I30 ; set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Axis Limits
    M208 X-5.5 Y0 Z0 S1 ; set axis minima
    M208 X350 Y350 Z400 S0 ; set axis maxima

    ; Endstops
    M574 X1 Y1 S1 ; set active high endstops

    ; Z-Probe
    M574 Z1 S2 ; set endstops controlled by probe
    M307 H3 A-1 C-1 D-1 ; disable heater on PWM channel for BLTouch
    M558 P9 H2.5 F180 T6000 ; set Z probe type to bltouch and the dive height + speeds
    G31 P500 X45 Y-3 Z2.14 ; set Z probe trigger value, offset and trigger height
    M557 X0:305 Y0:315 S25 ; 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-1 ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S1 I0 F500 H1 T45 ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on

    ; Tools
    M563 P0 D0 H1 F0 ; 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

    ; Custom settings
    M591 D0 P2 C3 S1 ; Filament Run out sensor
    G29 S1 ; Load mesh bed

    ; Miscellaneous
    M501 ; load saved parameters from non-volatile memory
    M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss



  • @Veti

    but either way... you seem very knowledgeable about this sort of thing Whats the normal procedure for adjusting the z offset so i can tweak my first layer? do you have a link to any good guide? Thanks for all the replies and insight.


  • Moderator

    https://duet3d.dozuki.com/Guide/Ender+3+Pro+and+Duet+Maestro+Guide+Part+4:+Calibration/40

    https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe

    Once The probe and extruder are calibrated and the bed level, you can print a large first layer and adjust the z height with baby stepping to get it just right, then use that amount and modify the G31 Z offset by that amount. If it doesn't stay consistent then it's either the probe that is inconsistent or the bed/z axis isn't stable.



  • @Phaedrux Thanks so much man. Just reloaded my backup stock sys files and then plugged in my steps and used the info you sent. running like a champ now!



  • @Anvil said in Duet2 wifi setting bl touch z offset help.:

    anywho... here's my overwrite config.

    thats your config overwrite?


Log in to reply