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

    [Problem] Homing Z works with Macro but not with Home Buttons

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    z probe homez homing npn sensor macro
    5
    15
    2.3k
    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.
    • Tommy_Frundefined
      Tommy_Fr
      last edited by

      Firmware Electronics: Duet WiFi 1.04 (bought from one of the official Duet suppliers)
      Firmware Version: 2.01(RTOS) (2018-07-26b2)
      WiFi Server Version: 1.21
      Web Interface Version: 1.21.2-dc42

      Printer: FLSun I3 C_Plus
      Board: Duet Wifi 1.04

      1 Reply Last reply Reply Quote 0
      • kazolarundefined
        kazolar
        last edited by

        I have a fairly complex home z operation, so I put all of it in homez.g and then I call that from homeall.g -- that's simple -- in fact in my homeall.g I simply have
        M280 P5 S160
        G91
        G1 Z4 F200 S2
        M98 Phomeaxis.g
        G90
        M98 Phomez.g

        so I can make whatever adjustments I need in each script for doing homing

        1 Reply Last reply Reply Quote 0
        • Tommy_Frundefined
          Tommy_Fr
          last edited by

          I noticed what you said @kazolar .

          I fixed toward direction for my Z axis to be rightful and easier to understand. It now goes in right direction (forward goes up, with Z increasing).

          When I use G30, G30 S-1 or G30 S-2, movement is in the wrong direction (so upward instead of downward); before the toward change for my Z axis it was going downward.
          So G30 direction and stop while probe is triggering does not work.

          Printer: FLSun I3 C_Plus
          Board: Duet Wifi 1.04

          dc42undefined 1 Reply Last reply Reply Quote 0
          • dc42undefined
            dc42 administrators @Tommy_Fr
            last edited by

            @tommy_fr said in [Problem] Homing Z works with Macro but not with Home Buttons:

            I fixed toward direction for my Z axis to be rightful and easier to understand. It now goes in right direction (forward goes up, with Z increasing).

            Increasing positive Z must be the nozzle moving upwards or the bed moving downwards, so that the Z coordinate is the height of the nozzle above the bed.

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

            1 Reply Last reply Reply Quote 0
            • Tommy_Frundefined
              Tommy_Fr
              last edited by

              Yes, it was what I meant. Sorry if my english was incorrect. The nozzle is moving upwards with increasing positive Z.

              Printer: FLSun I3 C_Plus
              Board: Duet Wifi 1.04

              dc42undefined 1 Reply Last reply Reply Quote 0
              • dc42undefined
                dc42 administrators @Tommy_Fr
                last edited by dc42

                @tommy_fr said in [Problem] Homing Z works with Macro but not with Home Buttons:

                Yes, it was what I meant. Sorry if my english was incorrect. The nozzle is moving upwards with increasing positive Z.

                In that case, I don't understand how G30 commands can be moving in the wrong direction; except that some variations of G30 command move the nozzle t the dive height (M558 H parameter) first, and all G30 commands move the nozzle back to the dive height after probing.

                Have you tested the Z probe as described at https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe ?

                Duet WiFi hardware designer and firmware engineer
                Please do not ask me for Duet support via PM or email, use the forum
                http://www.escher3d.com, https://miscsolutions.wordpress.com

                1 Reply Last reply Reply Quote 0
                • Tommy_Frundefined
                  Tommy_Fr
                  last edited by Tommy_Fr

                  M558 H parameter was H5, I have changed it to 1 to try, and there is no difference.
                  Yes, I have tested Z as described at https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe.

                  But I wonder if there is a scale issue, because on DWC I have that for machine control:
                  0_1544899216692_Head_movement-maybe_Z_Scale_issue.png
                  It is normal X and Y lines have different values from Z line.
                  And when I click, for example, on Z+5, nozzle moves five times more longer away than on X+10.
                  So, is there a scale issue?

                  UPDATE: I edited my config.g file and changed Z steps per mm which was totally wrong (I set a M5 lead screw system instead of a M8, but value was still incorrect, changing from 4000 to 2560, I finally changed it to 400 which seems to be right or close of the rightful value). Z line on DWC did not change but movement matches more with the first both lines, X and Y.

                  Printer: FLSun I3 C_Plus
                  Board: Duet Wifi 1.04

                  1 Reply Last reply Reply Quote 0
                  • dc42undefined
                    dc42 administrators
                    last edited by

                    So does Z homing work now?

                    Duet WiFi hardware designer and firmware engineer
                    Please do not ask me for Duet support via PM or email, use the forum
                    http://www.escher3d.com, https://miscsolutions.wordpress.com

                    Tommy_Frundefined 1 Reply Last reply Reply Quote 0
                    • Tommy_Frundefined
                      Tommy_Fr @dc42
                      last edited by

                      @dc42 said in [Problem] Homing Z works with Macro but not with Home Buttons:

                      So does Z homing work now?

                      I just tried with g30 and it seems to work now. I will do further tests in the few coming day.

                      Printer: FLSun I3 C_Plus
                      Board: Duet Wifi 1.04

                      1 Reply Last reply Reply Quote 0
                      • Tommy_Frundefined
                        Tommy_Fr
                        last edited by

                        I tested it within several ways, which with bed compensation and it works great.
                        Thank you to @dc42.

                        You can mark it as solved.

                        Printer: FLSun I3 C_Plus
                        Board: Duet Wifi 1.04

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