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

    Home Z axis

    Scheduled Pinned Locked Moved
    General Discussion
    2
    7
    818
    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.
    • parovoZZundefined
      parovoZZ
      last edited by

      Hi!
      I have a cartesian printer clone Ultimaker with Z endstop at the bottom. In Homeall.g wrote as follows:

      [c]
      ; homeall.g
      ; called to home all axes

      ; Relative positioning
      G91

      ; Lift Z
      G1 Z5 F6000

      G1 X-221 Y-221 Z351 F6000 S1
      G90;
      G92 Z355;
      G91;

      G1 X5 Y5 Z-5 F6000

      ; Fine home X and Y
      G1 X-255 Y-225 S1
      G1 Z5 F500 S1

      ; Absolute positioning
      G90;
      G92 Z355 ;
      G1 X15 Y15 F6000
      G1 Z0 F6000;

      [/c]

      Correctly applied command G92? Is there an elegant solution?

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

        Yes, instead of using G92, set your M208 S0 Z parameter to 355.

        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
        • parovoZZundefined
          parovoZZ
          last edited by

          Of course:
          [c]M208 X0 Y0 Z0 S1 ; Set axis minima
          M208 X220 Y220 Z355 S0 ; Set axis maxima[/c]

          In this case, the origin point is at the bottom. I want her upstairs. To the extruder.
          Sorry for my English.

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

            That's right. Assuming you have the Z axis defined as high end (Z2 in the M574 command), when the Z endstop switch is triggered the Z position will be set to 355.

            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
            • parovoZZundefined
              parovoZZ
              last edited by

              Z2 = probe? Z-probe is not located.

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

                Z2 mean an endstop switch at the high end. It's S2 that selects type=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
                • parovoZZundefined
                  parovoZZ
                  last edited by

                  Thanks you thanks you thanks you!!!
                  All work!

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