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

Z offset changing every time I turn the printer on

Scheduled Pinned Locked Moved
General Discussion
3
5
233
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.
  • undefined
    Polo
    last edited by 4 Jul 2023, 09:25

    HI All

    I can't figure out what to do, every time I turn the printer on my Z offset change. I did follow the duet instruction how to adjust the z offset and change it on my config g. what do I'm missing ??
    Any help will be appreciated.

    Here is my config.g

    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"V-Core3" ; set printer name
    M669 K1 ; CoreXY
    G21 ; Set Units to Millimeters
    ; Network
    M552 S1 ; enable network
    M586 P0 S1 ; enable HTTP
    M586 P1 S0 ; disable FTP
    M586 P2 S0 ; disable Telnet
    ; Drives
    M569 P0.0 S0 ; physical drive 0.0 goes forwards
    M569 P0.1 S0 ; physical drive 0.1 goes forwards
    M569 P0.2 S0 ; physical drive 0.2 goes forwards
    M569 P0.3 S1 ; physical drive 0.3 goes forwards
    M569 P0.4 S1 ; physical drive 0.4 goes forwards
    M569 P0.5 S0 ; physical drive 0.5 goes forwards
    M584 X0.4 Y0.3 Z0.0:0.1:0.2 E0.5 ; set drive mapping
    M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
    M92 X80.00 Y80.00 Z800.00 E100.0 ; set steps per mm
    M906 X1600 Y1600 Z1600 I30 ; set motor currents (mA) and motor idle factor in per cent -- safe for Duet 3 mini 5+
    M84 S30 ; Set idle timeout
    M566 X1000.00 Y1000.00 Z60.00 E3000.00 P1 ; set maximum instantaneous speed changes (mm/min)
    M203 X18000.00 Y18000.00 Z1000.00 E7200 ; set maximum speeds (mm/min)
    M201 X3000.00 Y3000.00 Z100.00 E10000 ; set accelerations (mm/s^2)
    ; Axis Limits
    M208 X0 Y0 Z0 S1 ; set axis minima
    M208 X510 Y500 Z500 S0 ; set axis maxima
    ; Endstops
    M574 X1 S1 P"io0.in" ; configure active high endstops
    M574 Y2 S1 P"io1.in" ; configure active high endstops
    M564 H0
    M671 X-4.5:250:504.5 Y-4.52:505:-4.52 S5 ; define positions of Z leadscrews or bed levelling screws
    M557 X30:280 Y30:280 P5 ; define 5x5 mesh grid
    ; Heaters
    M308 S0 P"temp0" Y"thermistor" T100000 B3950 A"Bed" ; configure sensor 0 as thermistor on pin temp0
    M950 H0 C"out0" T0 Q11 ; create bed heater output on out5 and map it to sensor 0, lower switching frequency to 11Hz
    M307 H1 R2.186 K0.17:0.11 D5.67 S1.00 V24.0 ; set the process parameters for heater 1
    M307 H1 ; report model parameters for heater 1, and whether the model is being used
    M140 H0 ; map heated bed to heater 0
    M143 H0 S110 ; set temperature limit for heater 0 to 110C
    ;; Run Bed PID Tune!! Below is an example for a 300x300 bed
    ;; M307 H0 A303.1 C356.7 D1.4 S1.00 V24.0 B0
    ; Fans
    M950 F0 C"out4" Q500 ; create fan 0 on pin out4 and set its frequency
    M106 P0 C"Layer Fan" S0 H-1 ; set fan 0 name and value. Thermostatic control is turned off
    M950 F1 C"out3" Q500 ; create fan 1 on pin out3 and set its frequency
    M106 P1 C"Hotend Fan" S1 H-1 T45 ; set fan 1 name and value. Thermostatic control turned on for Hotend
    ; 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
    M950 H1 C"out1" T1 ; create nozzle heater output on out2 and map it to sensor 1
    M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
    M143 H1 S250 ; set the maximum temperature in C for heater
    ; EVA 2 / BMG / E3D V6
    M92 E1000.00 ; set extruder steps per mm, 0.9 angle/step (LDO Pancake)
    M906 E800 ; set extruder motor current (mA) and idle factor in per cent
    M308 S1 P"temp1" Y"thermistor" T100000 B4725 C7.060000e-8 A"Hotend"
    ;; Run Heater PID Tune!!
    ;; M307 H1 A751.5 C196.6 D4.7 S1.00 V23.9 B0
    ; Z-Probe
    ;; Inductive Probe
    ; M558 P5 C"!io3.in" H5 F400 T5000 ; set Z probe type to unmodulated and the dive height + speeds
    ; G31 P500 X-30 Y-15 Z0.20 ; set Z probe trigger value, offset and trigger height, more Z means closer to the bed
    ;; BLTouch
    M950 S0 C"io2.out" ; Create a servo pin on io7
    M558 P9 C"io2.in" H5 F240 T10800 A5 ; set Z probe type to unmodulated and the dive height + speeds
    G31 P25 X-28.00 Y-13.00 Z1.12 ; set Z probe trigger value, offset and trigger height, more Z means closer to the bed
    ; Select default tool
    T0
    ; Pressure Advance
    ; M572 D0 S0.02
    undefined 1 Reply Last reply 4 Jul 2023, 09:40 Reply Quote 0
    • undefined
      jay_s_uk @Polo
      last edited by 4 Jul 2023, 09:40

      @Polo might help to tell us a bit more about your machine, what type of probe you have, post your homeall and homez file, how much the z offset is changing by etc otherwise we're just guessing

      Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

      undefined undefined 2 Replies Last reply 4 Jul 2023, 10:09 Reply Quote 0
      • undefined
        Deez3443 @jay_s_uk
        last edited by 4 Jul 2023, 10:09

        @jay_s_uk Check "config-override.g" maybe you have z-offset comand on this file.

        undefined 1 Reply Last reply 4 Jul 2023, 18:50 Reply Quote 0
        • undefined
          Polo @Deez3443
          last edited by 4 Jul 2023, 18:50

          @Deez3443 ```

          code_text

          ; This is a system-generated file - do not edit
          ; Heater model parameters
          M307 H0 R0.130 K0.150:0.000 D10.00 E1.35 S1.00 B1
          M307 H1 R2.430 K0.560:0.000 D5.50 E1.35 S1.00 B0 V0.0
          ; Workplace coordinates
          G10 L2 P1 X0.00 Y0.00 Z0.00
          G10 L2 P2 X0.00 Y0.00 Z0.00
          G10 L2 P3 X0.00 Y0.00 Z0.00
          G10 L2 P4 X0.00 Y0.00 Z0.00
          G10 L2 P5 X0.00 Y0.00 Z0.00
          G10 L2 P6 X0.00 Y0.00 Z0.00
          G10 L2 P7 X0.00 Y0.00 Z0.00
          G10 L2 P8 X0.00 Y0.00 Z0.00
          G10 L2 P9 X0.00 Y0.00 Z0.00
          
          here is my config. override
          1 Reply Last reply Reply Quote 0
          • undefined
            Polo @jay_s_uk
            last edited by 4 Jul 2023, 18:54

            @jay_s_uk

            Hi

            I have a V-Core 500 I'm using duet3 mini WIFI with bltouch probe. Here is some information about my config

            Homeall

            code_text
            ```M201 X500.00 Y500.00 ; Reduce acceleration for homing moves
            ; BLTouch
            ;M280 P0 S160 ; Precautionary alarm release
            ;M280 P0 S90 ; Ensure the pin is raised
            G91 ; Relative positioning
            G1 H2 Z5 F6000 ; Lift Z relative to current position
            G1 H1 X-625 Y605 F4600 ; Move quickly to X and Y axis endstops and stop there (first pass)
            G1 X3 Y-3 F600 ; Go back a few mm
            G1 H1 X-625 Y605 F1360 ; Move slowly to X and Y axis endstops once more (second pass)
            G1 H1 X-625 F1360 ; Move slowly to X and Y axis endstops once more (second pass)
            G1 H1 Y605 F1360 ; Move slowly to X and Y axis endstops once more (second pass)
            M201 X3000 Y3000 ; Return to full acceleration
            G90 ; Absolute positioning
            G1 X250 Y250 F10000 ; Go to the center of the bed (300x300)
            ;G1 X200 Y200 F10000 ; Go to the center of the bed (400x400)
            ;G1 X250 Y250 F10000 ; Go to the center of the bed (500x500)
            G30 ; Home Z by probing the bed
            G91 ; Relative positioning
            G1 Z5 F100 ; Lift Z relative to current position
            G90 ; Absolute positioning
            HomeZ```
            ; BLTouch
            ;M280 P0 S160 ; Precautionary alarm release
            ;M280 P0 S90 ; Ensure the pin is raised
            G91 ; Relative positioning
            G1 H2 Z5 F6000 ; Lift Z relative to current position
            G90 ; Absolute positioning
            G1 X250 Y250 F10000 ; Go to the center of the bed (300x300)
            ;G1 X200 Y200 F10000 ; Go to the center of the bed (400x400)
            ;G1 X250 Y250 F10000 ; Go to the center of the bed (500x500)
            G30 ; Home Z by probing the bed
            ; Uncomment the following lines to lift Z after probing
            ;G91 ; Relative positioning
            ;G1 Z5 F100 ; Lift Z relative to current position
            ;G90 ; Absolute positioning

            Thanks

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