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

    Z offset calibration breaks X-Y limits

    Scheduled Pinned Locked Moved
    General Discussion
    3
    15
    423
    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.
    • Joelundefined
      Joel
      last edited by

      Seeing as I have been tweaking my config file since upgrading to 3.2.2 ( from 3.1.1 ), I thought I'd address another issue I have.

      I have this z offset macro,

      T0
      M291 P"Press ""OK"" if you would you like to calibrate the Z-offset for this Tool Cartridge." R"Calibrate Z-Offset" S3
      M291 P"Homing, please wait..." R"Calibrate Z-Offset" S1
      ;M98 P/sys/homeall.g
      M208 Z-2 S1 ; allow movement below Z0
      G1 X165 Y165 Z8 F4000 ; move to center of bed
      M558 P0
      G30 S-2
      M500 ; save results
      M501 ; load new data
      M208 Z0 S1 ; restore minima
      G1 Z10 ; drop build plate
      G1 X0 Y0 F4000
      M558 P1 C"!zprobe.in" H5 F500 T10000 ; restore probe type
      M291 P"Z-offset calibration complete! " R"Calibrate Z-Offset" S1 T3

      After running this, I seem to lose my X Y minima,
      From my config.g -
      M208 X-2 Y-4 Z0 S1 ; set axis minima
      M208 X330 Y330 Z380 S0

      After running the Z offset macro and returning to X0 Y0 , the nozzle is off the bed and the position is report as X4 and Y1

      Re homing does not fix this, the nozzle still stays off the table and the XY readout displays X4 Y1. I can almost make a connection with the X4 but not Y1.

      Everything is fine until running the Z offset macro.

      Any thoughts?

      Thanks
      Joel

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

        post your config.g and config-override.g as well as homeall (and any macros it calls)

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • Joelundefined
          Joel
          last edited by Joel

          Here are my files.

          Thanks

          config.g

          config-override.g

          homeall.g

          homex.g

          homey.g

          homez.g

          1 Reply Last reply Reply Quote 0
          • Joelundefined
            Joel
            last edited by Joel

            @Phaedrux

            I played with this more, it seems to be the tool declaration that causes the issue. If I comment out the T0 line, the zero routine fails because there is no tool selected.

            So I put a T0 line in my homeall script, so now I get the same issue when I homeall.

            It seems something is going wrong with the tool declaration T0.

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

              What do you have in your tool change files? tpre tpost tfree etc

              Z-Bot CoreXY Build | Thingiverse Profile

              Joelundefined 2 Replies Last reply Reply Quote 0
              • Joelundefined
                Joel @Phaedrux
                last edited by

                @Phaedrux

                I don't have any I know of, my printer is just a single head

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

                  If you only have one tool defined, why does it have an offset in config.g?

                  ; Tools
                  M563 P0 D0 H1 F0 ; define tool 0
                  G10 P0 X6 Y5 Z0 ; set tool 0 axis offsets

                  Z-Bot CoreXY Build | Thingiverse Profile

                  Joelundefined 1 Reply Last reply Reply Quote 0
                  • Joelundefined
                    Joel @Phaedrux
                    last edited by

                    @Phaedrux

                    I just confirmed that those file are empty

                    1 Reply Last reply Reply Quote 0
                    • Joelundefined
                      Joel @Phaedrux
                      last edited by

                      @Phaedrux

                      I will look at that, I did not put that there. May be a leftover from a config build script

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

                        I guess I'm confused by the purpose of your macro as well. What are you trying to do with it?

                        Z-Bot CoreXY Build | Thingiverse Profile

                        Joelundefined 1 Reply Last reply Reply Quote 0
                        • Joelundefined
                          Joel @Phaedrux
                          last edited by

                          @Phaedrux

                          The macro sets the Z height offset which I do before every printing run.

                          Removing that line you pointed out fixed the issue.

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

                            @Joel said in Z offset calibration breaks X-Y limits:

                            The macro sets the Z height offset which I do before every printing run.

                            Why do you need to do that? What is causing that value to change?

                            I only check my probe every month or so.

                            Thanks.

                            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
                            • Joelundefined
                              Joel
                              last edited by Joel

                              Just habit, different bed temperature, different nozzle temperature.
                              Get the nozzle Z height perfect every time. Take less that 30 seconds.

                              fcwiltundefined 1 Reply Last reply Reply Quote 0
                              • fcwiltundefined
                                fcwilt @Joel
                                last edited by

                                @Joel said in Z offset calibration breaks X-Y limits:

                                Just habit, different bed temperature, different nozzle temperature.

                                Do you have any reason to believe that those changes are affecting your probe's trigger height?

                                Thanks.

                                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

                                Joelundefined 1 Reply Last reply Reply Quote 0
                                • Joelundefined
                                  Joel @fcwilt
                                  last edited by

                                  The routine does not use the probe to measure. In the routine, I move the Z axis to get the nozzle to table clearance I want and set that to be the new Z0 position. I do find this changes based on bed temperature used. I find the probe OK but since doing this Z offset before every print, I have very few print failures cause by poor first layer.

                                  Before a print I like to,

                                  Bring bed to temperature
                                  Do bed level
                                  Do mesh level
                                  Bring nozzle to temperature
                                  Do Z offset

                                  Then print

                                  These steps have given me very good and repeatable results. Do I have to do this, maybe not, but it takes no time and the results are consistent.

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