Navigation

    Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    HomeZ with sensor

    General Discussion
    4
    15
    71
    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.
    • pcsentinel
      pcsentinel last edited by

      Can anyone tell me if during a home z operation with a sensor you should turn off compensation before sensing. Should you use G29 S2 or not?

      i.e.
      G28 XYU ; Home X
      G91   ; relative mode
      G1 H2 Z5 F1800 ; raise head 4mm to ensure it is above the Z probe trigger height
      G90   ; back to absolute mode
      G1 X155 Y160 F10000 ; move to bed centre for probing
      ;G29 S2
      G30 ; probe the bed and set Z height
      ;G29 S1

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

        I always have.

        I only load the height map at the start of a print.

        And I unload it at the end of the print.

        Frederick

        Printers: A FT-5 with the 713 upgrade bits. A custom MarkForged style. A small Utilmaker style and a CoreXY from kits. Various hotends. Using Duets (2 and 3) running 3.4.1

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

          no you need to establish z=0 (G30) before loading a heightmap

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

            @Veti
            Hi, that's what the code does,

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

              homing unloads the height map.

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

                @Veti said in HomeZ with sensor:

                homing unloads the height map.

                Hi,

                I know that has changed in the past so I checked it just to be safe - this was with firmware 3.1.1 AND 3.2.0

                I executed G29 S1 and verified with the DWC that mesh compensation was in use.

                Then I executed:

                • G90 G1 Z25 F600 ; to be sure the end stop sensors were not triggered
                • G91 G1 H1 Z-30 F300 ; one slow speed homing move

                I checked via the DWC and mesh compensation was still in use.

                Frederick

                Printers: A FT-5 with the 713 upgrade bits. A custom MarkForged style. A small Utilmaker style and a CoreXY from kits. Various hotends. Using Duets (2 and 3) running 3.4.1

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

                  try a G28 Z. that has a different meaning

                  fcwilt 2 Replies Last reply Reply Quote 0
                  • fcwilt
                    fcwilt @Veti last edited by

                    @Veti said in HomeZ with sensor:

                    try a G28 Z. that has a different meaning

                    Will do.

                    Frederick

                    Printers: A FT-5 with the 713 upgrade bits. A custom MarkForged style. A small Utilmaker style and a CoreXY from kits. Various hotends. Using Duets (2 and 3) running 3.4.1

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

                      @Veti said in HomeZ with sensor:

                      try a G28 Z. that has a different meaning

                      OK I renamed my existing homeZ.g file and created a new one just with:

                      G90
                      G1 H2 Z25 F600
                      G91
                      G1 H1 Z-30 F300
                      G90

                      Same result. The DWC reported mesh compensation was still in use.

                      Glad to do more tests.

                      Frederick

                      Printers: A FT-5 with the 713 upgrade bits. A custom MarkForged style. A small Utilmaker style and a CoreXY from kits. Various hotends. Using Duets (2 and 3) running 3.4.1

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

                        maybe i got it confused with marlin

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

                          @Veti said in HomeZ with sensor:

                          maybe i got it confused with marlin

                          I have trouble keeping things straight as the "side effects" of various commands have changed over time.

                          So I now just do everything explicitly in my code.

                          Frederick

                          Printers: A FT-5 with the 713 upgrade bits. A custom MarkForged style. A small Utilmaker style and a CoreXY from kits. Various hotends. Using Duets (2 and 3) running 3.4.1

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

                            but thinking about it.

                            even if you are rehoming and an offset would be applied. the point where you homed should be 0 anyway

                            1 Reply Last reply Reply Quote 0
                            • pcsentinel
                              pcsentinel last edited by

                              Hi, just coming back to the original point,

                              are you saying that I don't need to use G29 S2 and G29 S1 as that is already explicit in the Home functionality?

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

                                @pcsentinel said in HomeZ with sensor:

                                Hi, just coming back to the original point,

                                are you saying that I don't need to use G29 S2 and G29 S1 as that is already explicit in the Home functionality?

                                You may still need to use G29 S1 and G29 S2.

                                I tested firmware 3.1.1 and homing does not affect the state of mesh compensation. I will test 3.2 if that applies to you.

                                The "side effects of certain commands have changed over time BUT it is always safe to do things explicitly rather than depend on "side effects".

                                The worse that happens is you issue a command that is redundant.

                                Frederick

                                Printers: A FT-5 with the 713 upgrade bits. A custom MarkForged style. A small Utilmaker style and a CoreXY from kits. Various hotends. Using Duets (2 and 3) running 3.4.1

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

                                  I think it would be best practice to clear any bed transformations before trying to reset Z0 with homing or doing a G29, etc.

                                  Z-Bot CoreXY Build | Thingiverse Profile

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