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

    Y axis homes in correct direction, but moves in wrong direction

    Scheduled Pinned Locked Moved
    General Discussion
    3
    6
    1.4k
    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.
    • Jacotheronundefined
      Jacotheron
      last edited by

      This is a slight problem I have been having.

      On my printer, all other axis/motors are performing correctly, it is just the Y axis.
      In the configuration, it is set to be a Min Endstop (M574 Y1 S1), and the motor needed to be reversed (M569 P1 S0). This cause the homing to work perfectly - it homes to the same location (front left).

      However, and this is where it gets strange, when I use any of the jog commands, the movement is completely inverted: I can't command it to move a negative amount (since it just homed), but commanding it to move a positive amount (away from the endstop), causes it to simply ram the head further into the endstop. After having rammed it into the endstop (skipping steps), I am able to command negative values, and it then moves away from the endstop.

      Just for completeness, my relevant config code:

      ; Drives
      M569 P0 S0 ; Drive 0 goes backwards
      M569 P1 S0 ; Drive 1 goes backwards
      M569 P2 S0 ; Drive 2 goes backwards
      M569 P3 S0 ; Drive 3 goes backwards
      ; Endstops
      M574 X1 Y1 S1 ; Set active low endstops

      Any idea what I am doing wrong?

      I am using the latest stable versions for the DuetWifi, PanelDue and Duet Web Control.

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

        Please run M208 to display the axis limits and report the results.

        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
        • Jacotheronundefined
          Jacotheron
          last edited by

          The M208 reports the following: Axis limits - X: 0.0 min, 310.0 max, Y: 0.0 min, 210.0 max, Z: 0.0 min, 210.0 max

          These limits are slightly more than what the printer physically can do, so that I can get the actual while jogging the printer to the maximums.

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

            That looks OK. Please post your complete config.g file and your homeall.g and homey.g files. Where is the Y endstop switch located?

            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
            • Kezatundefined
              Kezat
              last edited by

              If i remember correctly my default Homeall.g came with positive homing moves that i had to change to negative, could it be that you have the axis inverted and also have the homing backwards?

              1 Reply Last reply Reply Quote 1
              • Jacotheronundefined
                Jacotheron
                last edited by

                I found it: while looking through the code to paste, I checked the homey.g file, and noticed that for some reason, when moving in the Y direction, it is not negative the maximum. So it was like Kezat said, it homed backwards and was inverted.

                Undoing the invert fixed the issue.

                Thank you for the help.
                When starting this thread I knew it was something small and simple that just did not want to work, but it is getting late here.

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