Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Duet2 wifi setting bl touch z offset help.

    Scheduled Pinned Locked Moved Solved
    General Discussion
    4
    13
    666
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Anvilundefined
      Anvil
      last edited by

      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

      1 Reply Last reply Reply Quote 1
      • fcwiltundefined
        fcwilt
        last edited by

        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

        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

        1 Reply Last reply Reply Quote 0
        • Vetiundefined
          Veti
          last edited by

          @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.

          Anvilundefined 1 Reply Last reply Reply Quote 0
          • Anvilundefined
            Anvil @Veti
            last edited by

            @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.

            1 Reply Last reply Reply Quote 0
            • Vetiundefined
              Veti
              last edited by Veti

              @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.

              Anvilundefined 1 Reply Last reply Reply Quote 0
              • Vetiundefined
                Veti
                last edited by

                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

                1 Reply Last reply Reply Quote 0
                • Anvilundefined
                  Anvil
                  last edited by

                  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

                  1 Reply Last reply Reply Quote 0
                  • Anvilundefined
                    Anvil @Veti
                    last edited by

                    @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.

                    1 Reply Last reply Reply Quote 0
                    • Phaedruxundefined
                      Phaedrux Moderator
                      last edited by

                      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.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      Anvilundefined 1 Reply Last reply Reply Quote 0
                      • Anvilundefined
                        Anvil @Phaedrux
                        last edited by

                        @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!

                        1 Reply Last reply Reply Quote 0
                        • Vetiundefined
                          Veti
                          last edited by

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

                          anywho... here's my overwrite config.

                          thats your config overwrite?

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Unless otherwise noted, all forum content is licensed under CC-BY-SA