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

Heigh error after calibrating

Scheduled Pinned Locked Moved
General Discussion
probe firmware
5
59
2.7k
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
    Stephen6309 @TristanKoeln
    last edited by Stephen6309 13 Mar 2021, 18:07

    @TristanKoeln The code I showed above it in a macro, in the macors folder and it called PETGOffset. In the slicers start gcode I have added: M98 P"/macros/PETGOffset" ; set z probe offsets
    to call the macro. Editing a macro is faster than editing config.g and then waiting for the duet to restart after the edit.

    Also, I have a different one for setting PLA, since the hotend is at a lower temp than PETG. First line in the macro is the printer's name, since I have two printers.

    1 Reply Last reply Reply Quote 0
    • undefined
      ziggymanpopo
      last edited by 13 Mar 2021, 18:45

      Another way is to use M564 S0 that will allow you to probe down to the glas it overrided the previous G92 Z0 comand which tells the printer where Z0
      Or your bed height is at ....
      Checknout the documentation tab on this site (three bars top left)
      You will find all of the process under the z prob section look for a link to calibrate z-probe
      This link takes you to what you seek
      Good luck..🙂

      1 Reply Last reply Reply Quote 0
      • undefined
        Phaedrux Moderator
        last edited by 13 Mar 2021, 19:09

        Post your config.g homeall homez bed.g and start gcode so we can see everything that could be going on in sequence.

        Z-Bot CoreXY Build | Thingiverse Profile

        undefined 1 Reply Last reply 14 Mar 2021, 12:20 Reply Quote 0
        • undefined
          TristanKoeln @Phaedrux
          last edited by 14 Mar 2021, 12:20

          @Phaedrux here are all my files:
          homez.g homeall.g config.g bed.g
          Startcode:
          M98 P"/macros/PLA_Offset" ;set z probe offsets
          G29 S1 ;load heighmap
          @Stephen6309 i add the macro thing xD

          undefined 1 Reply Last reply 14 Mar 2021, 12:30 Reply Quote 0
          • undefined
            fcwilt @TristanKoeln
            last edited by 14 Mar 2021, 12:30

            @TristanKoeln said in Heigh error after calibrating:

            Startcode:
            M98 P"/macros/PLA_Offset" ;set z probe offsets
            G29 S1 ;load heighmap
            @Stephen6309 i add the macro thing xD

            Adjusting the probe Z trigger height is a curious way to make such an adjustment.

            The probe Z trigger height should be a constant that only varies with temperature perhaps.

            If you wish to tweak the Z height when printing different materials you may want to use the "baby steps" setting instead - see M290.

            You can, if you wish, make use of the filament handling feature of DWC to specify different filaments at the start of a print and obtain different Z height "tweaks" using M290 based on the selected filament.

            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

            undefined 1 Reply Last reply 14 Mar 2021, 12:32 Reply Quote 0
            • undefined
              TristanKoeln @fcwilt
              last edited by 14 Mar 2021, 12:32

              @fcwilt thx for you advice, but first i want that my printer prints something befor i will realy start tweaking out some thing, right now my problem is that the nozzel is allways 1-2 mm to high

              undefined 1 Reply Last reply 14 Mar 2021, 12:36 Reply Quote 0
              • undefined
                fcwilt @TristanKoeln
                last edited by 14 Mar 2021, 12:36

                @TristanKoeln said in Heigh error after calibrating:

                @fcwilt thx for you advice, but first i want that my printer prints something befor i will realy start tweaking out some thing, right now my problem is that the nozzel is allways 1-2 mm to high

                OK that should be easy to correct.

                One thing you need to remember is that before creating a height map with G29 S0 and before loading the height map with G29 S1 you need to perform a G1 to move the probe to the center of the bed and then do a single G30 to set the Z=0 datum.

                And of course for the Z probe to work properly it's Z trigger height value (in G31) needs to be set to the correct value.

                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

                undefined 1 Reply Last reply 14 Mar 2021, 16:32 Reply Quote 0
                • undefined
                  TristanKoeln
                  last edited by 14 Mar 2021, 12:41

                  @fcwilt all of that is done see in the homeZ and the trigger hiegh is calibrated with :
                  Move the nozzel to the middle
                  G30
                  than moving nozzel down till it hits the bed
                  G92 Z0
                  G1 Z10
                  G30 S-1

                  undefined 1 Reply Last reply 14 Mar 2021, 13:40 Reply Quote 0
                  • undefined
                    fcwilt @TristanKoeln
                    last edited by 14 Mar 2021, 13:40

                    @TristanKoeln said in Heigh error after calibrating:

                    @fcwilt all of that is done see in the homeZ and the trigger hiegh is calibrated with :
                    Move the nozzel to the middle
                    G30
                    than moving nozzel down till it hits the bed
                    G92 Z0
                    G1 Z10
                    G30 S-1

                    That calibration looks fine.

                    However homeZ.g looks a bit wonky.

                    I've re-posted it here using the </> tag:

                    ; homez.g
                    ; called to home the Z axis
                    ;
                    G91 ; relative positioning
                    G1 H2 Z10 F6000 ; lift Z relative to current position
                    G1 H1 Z-500 F3000 ;Go down till endstop
                    G1 H2 Z10 F6000
                    G1 X200 Y200 F4000 ;go to midle
                    G30 ; move Z down until the endstop is triggered
                    G92 Z0 ; set Z position to axis minimum (you may want to adjust this)
                    ; Uncomment the following lines to lift Z after probing
                    ;G91 ; relative positioning
                    ;G1 Z10 F100 ; lift Z relative to current position
                    G90 ; absolute positioning

                    This line, which occurs after the G30, may be the cause of your problems:

                    G92 Z0 ; set Z position to axis minimum (you may want to adjust this)

                    On my printer, running firmware 3.2.2, after a G30 the Z position is the probe dive height (the H parameter in M558) plus the Z trigger height (the Z parameter in G31).

                    But the G92 is telling the firmware that the Z position is 0.

                    Perhaps that is correct for your firmware but it would cause a problem with mine.

                    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
                    • undefined
                      TristanKoeln
                      last edited by 14 Mar 2021, 14:30

                      @fcwilt with the G92 Z(dive heigh+triger high)
                      is still the same problem

                      undefined 2 Replies Last reply 14 Mar 2021, 14:33 Reply Quote 0
                      • undefined
                        fcwilt @TristanKoeln
                        last edited by fcwilt 14 Mar 2021, 14:33

                        @TristanKoeln said in Heigh error after calibrating:

                        @fcwilt with the G92 Z(dive heigh+triger high)
                        is still the same problem

                        After you performed the calibration routine you posted did you go back and update the G31 command with the correct Z trigger height as reported by the G30 S-1?

                        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
                        • undefined
                          TristanKoeln
                          last edited by 14 Mar 2021, 14:34

                          @fcwilt jup its 3.760

                          undefined 1 Reply Last reply 14 Mar 2021, 14:36 Reply Quote 0
                          • undefined
                            fcwilt @TristanKoeln
                            last edited by 14 Mar 2021, 14:35

                            @TristanKoeln said in Heigh error after calibrating:

                            @fcwilt with the G92 Z(dive heigh+triger high)
                            is still the same problem

                            Since the G30 leaves Z at dive height + trigger height setting it again to the same value with G92 is redundant.

                            It doesn't hurt but isn't needed.

                            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
                            • undefined
                              fcwilt @TristanKoeln
                              last edited by 14 Mar 2021, 14:36

                              @TristanKoeln said in Heigh error after calibrating:

                              @fcwilt jup its 3.760

                              Are you still running the "PLA" macro?

                              If so what does it look like.

                              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
                              • undefined
                                TristanKoeln
                                last edited by 14 Mar 2021, 14:37

                                @fcwilt

                                G31 X-31.7 Y3,16 Z3,760 P25
                                M291 P"PLA Offset" S0 T5
                                undefined 1 Reply Last reply 14 Mar 2021, 14:50 Reply Quote 0
                                • undefined
                                  fcwilt @TristanKoeln
                                  last edited by 14 Mar 2021, 14:50

                                  @TristanKoeln said in Heigh error after calibrating:

                                  @fcwilt

                                  G31 X-31.7 Y3,16 Z3,760 P25
                                  M291 P"PLA Offset" S0 T5

                                  And that is the height reported by your calibration routine?

                                  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
                                  • undefined
                                    TristanKoeln
                                    last edited by 14 Mar 2021, 14:51

                                    @fcwilt ya

                                    1 Reply Last reply Reply Quote 0
                                    • undefined
                                      fcwilt
                                      last edited by 14 Mar 2021, 14:55

                                      Hi,

                                      Recall that before creating a height map with G29 S0 or before loading the height map with G29 S1 you need to position the probe to the center of the bed and do a single G30 to set the Z=0 datum.

                                      Having set the Z trigger height to the value as reported by your calibration routine did you go back and re-create the height map using the new value?

                                      Are you also setting the Z=0 datum when loading the new height map?

                                      I mentioned that changing the Z trigger height to accommodate different filaments was not a good approach - one reason being is that it will mess up setting the Z=0 datum which may cause the height map to not work right.

                                      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
                                      • undefined
                                        TristanKoeln
                                        last edited by 14 Mar 2021, 15:28

                                        @fcwilt i reprobed everything still same problem, could it be something with the zmin stop and the prob are on 2 diff heights? if yes what would be the solution

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          fcwilt
                                          last edited by 14 Mar 2021, 15:54

                                          Hi,

                                          I've re-posted your files using the </> tag - it saves everyone the trouble of downloading your files.

                                          Would you look at them and verify they are your current files?

                                          Thanks.

                                          Frederick

                                          ; Configuration file for Duet WiFi (firmware version 3)
                                          ; executed by the firmware on start-up
                                          ;
                                          ; generated by RepRapFirmware Configuration Tool v3.2.1 on Mon Jan 18 2021 17:44:49 GMT+0100 (Mitteleuropäische Normalzeit)
                                          ; General preferences
                                          G90 ; send absolute coordinates...
                                          M83 ; ...but relative extruder moves
                                          M550 P"BIGCREATOR" ; set printer name
                                          ; Network
                                          M552 S1 ;Tun Network ON
                                          ; Drives
                                          M569 P0 S0 ; physical drive 0 goes forwards
                                          M569 P1 S1 ; physical drive 1 goes forwards
                                          M569 P2 S1 ; physical drive 2 goes forwards
                                          M569 P3 S0 ; physical drive 3 goes forwards
                                          M569 P4 S1 ; physical drive 4 goes forwards
                                          M584 X0 Y1 Z2:4 E3 ; set drive mapping
                                          M350 X16 Y16 Z16:16 E16 I1 ; configure microstepping with interpolation
                                          M92 X80.00 Y100.00 Z405:405.00 E750.00 ; set steps per mm
                                          M566 X1800.00 Y1800.00 Z120.00:120.00 E500.00 ; set maximum instantaneous speed changes (mm/min)
                                          M203 X36000.00 Y36000.00 Z200.00:200.00 E500.00 ; set maximum speeds (mm/min)
                                          M201 X1000.00 Y1000.00 Z400.00:400.00 E500.00 ; set accelerations (mm/s^2)
                                          M906 X1200 Y1200 Z1000:1000 E1000 I30 ; set motor currents (mA) and motor idle factor in per cent
                                          M84 S30 ; Set idle timeout
                                          ; Axis Limits
                                          M208 X0 Y0 Z-10 S1 ; set axis minima
                                          M208 X440 Y440 Z400 S0 ; set axis maxima
                                          ; Endstops
                                          M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop
                                          M574 Y1 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop
                                          M574 Z1 S1 P"!zstop+!e1stop" ; configure active-high endstop for low end on Z via pin zstop
                                          ; Z-Probe
                                          M558 P9 C"^zprobe.in" H5 F120 T5000 ; BLTouch connected to Z probe IN pin
                                          M950 S0 C"exp.heater3" ; create servo/gpio 0 on heater 3 pin on expansion connector
                                          M98 P"/macros/NORMAL_Offset" ; set z probe offsets
                                          M280 P0 S10 ; send control signal to BLTouch through servo/gpio 0
                                          ;G31 P500 X0 Y0 Z25 ; set Z probe trigger value, offset and trigger height
                                          M557 X10:390 Y10:390 S38:38 ; define mesh grid
                                          ; Heaters
                                          M308 S0 P"bedtemp" Y"thermistor" T100000 B4092 ; configure sensor 0 as thermistor on pin bedtemp
                                          M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
                                          M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
                                          M140 H0 ; map heated bed to heater 0
                                          M143 H0 S120 ; set temperature limit for heater 0 to 120C
                                          M308 S1 P"e1temp" Y"thermistor" T100000 B4092 ; configure sensor 1 as PT1000 on pin e0temp
                                          M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
                                          M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
                                          M143 H1 S280 ; set temperature limit for heater 1 to 280C
                                          ; Fans
                                          M950 F0 C"fan0" Q0 ; create fan 0 on pin fan0 and set its frequency
                                          ;M106 P0 S1 H-1 ; set fan 0 value. Thermostatic control is turned off
                                          M950 F1 C"fan1" Q0 ; create fan 1 on pin fan1 and set its frequency
                                          ;M106 P1 S1 H-1 ; set fan 1 value. Thermostatic control is turned off
                                          M950 F2 C"fan2" Q0 ; create fan 2 on pin fan2 and set its frequency
                                          ;M106 P2 S1 H-1 ; set fan 2 value. Thermostatic control is turned off
                                          ; Tools
                                          M563 P0 S"WaterColledHead" D0 H1 F-1 ; 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 are not defined
                                          ; Miscellaneous
                                          M575 P1 S1 B57600 ; enable support for PanelDue
                                          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
                                          G28 ; home
                                          ; bed.g
                                          ; called to perform automatic bed compensation via G32
                                          ;
                                          ; generated by RepRapFirmware Configuration Tool v3.2.1 on Mon Jan 18 2021 17:44:49 GMT+0100 (Mitteleuropäische Normalzeit)
                                          M561 ; clear any bed transform
                                          G28 ;home
                                          G29 S1 ; probe the bed and enable compensation
                                          M280 P0 S90 ; retractProbe
                                          ; homez.g
                                          ; called to home the Z axis
                                          ;
                                          ; generated by RepRapFirmware Configuration Tool v3.2.1 on Mon Jan 18 2021 17:44:49 GMT+0100 (Mitteleuropäische Normalzeit)
                                          G91 ; relative positioning
                                          G1 H2 Z10 F6000 ; lift Z relative to current position
                                          G1 H1 Z-500 F3000 ;Go down till endstop
                                          G1 H2 Z10 F6000
                                          G1 X200 Y200 F4000 ;go to midle
                                          G30 ; move Z down until the endstop is triggered
                                          G92 Z0 ; set Z position to axis minimum (you may want to adjust this)
                                          ; Uncomment the following lines to lift Z after probing
                                          ;G91 ; relative positioning
                                          ;G1 Z10 F100 ; lift Z relative to current position
                                          G90 ; absolute positioning
                                          ; homeall.g
                                          ; called to home all axes
                                          ;
                                          ; generated by RepRapFirmware Configuration Tool v3.2.1 on Mon Jan 18 2021 17:44:49 GMT+0100 (Mitteleuropäische Normalzeit)
                                          ;DUAL Z
                                          M584 Z2:4
                                          M280 P0 S90
                                          G91 ; relative positioning
                                          G1 H2 Z10 F6000 ; lift Z relative to current position
                                          G1 H1 X-405 Y-405 F5000 ; move quickly to X and Y axis endstops and stop there (first pass)
                                          G1 H2 X5 Y5 F6000 ; go back a few mm
                                          G1 H1 X-405 Y-405 F360 ; move slowly to X and Y axis endstops once more (second pass)
                                          M98 Phomez.g ; move Z down stopping at the endstop
                                          G90 ; absolute positioning
                                          G92 Z10 ; set Z position to axis minimum (you may want to adjust this)
                                          ; Uncomment the following lines to lift Z after probing
                                          ;G91 ; relative positioning
                                          ;G1 Z10 F100 ; lift Z relative to current position
                                          ;G90 ; absolute positioning

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

                                          undefined 1 Reply Last reply 14 Mar 2021, 17:11 Reply Quote 0
                                          15 out of 59
                                          • First post
                                            15/59
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA