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

    Prusa I3 homeY problem

    Scheduled Pinned Locked Moved
    General Discussion
    3
    6
    740
    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.
    • dani3785undefined
      dani3785
      last edited by

      hi,
      i have the proble with my new duet for prusa I3, when i write G28 X the homing is correct, when writing G28 Y homing failed. on DWC X is marked 0 and Y is marked 300... why is?
      this is my config.g

      ...........
      ; Drives
      M569 P0 S0 ; Drive 0 goes back
      M569 P1 S1 ; Drive 1 goes forwards
      M569 P2 S1 ; Drive 2 goes forwards
      M569 P3 S1 ; Drive 3 goes forwards
      M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
      M92 X80 Y80 Z3200 E135 ; Set steps per mm
      M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
      M203 X6000 Y6000 Z180 E1200 ; Set maximum speeds (mm/min)
      M201 X1000 Y1000 Z250 E1000 ; Set accelerations (mm/s^2)
      M906 X800 Y1200 Z800 E1000 I30 ; Set motor currents (mA) and motor idle factor in per cent
      M84 S30 ; Set idle timeout

      ; Axis Limits
      M208 X0-5 Y-5 Z0 S1 ; Set axis minima
      M208 X215 Y300 Z210 S0 ; Set axis maxima

      ; Endstops
      M574 X1 Y2 Z1 S1 ; Set active high endstops
      ...............

      thanks for helping me
      sorry for my bad english

      1 Reply Last reply Reply Quote 0
      • nhofundefined
        nhof
        last edited by

        Dani,

        Could you provide more details on what you want the machine to do?

        It sounds like the machine is homing on Y correctly, as you have it set to home Y to the high end (Y=300) with the M574 Y2 command. After homing it is displaying Y=300 in DWC.

        If you want it to come back to Y0 after homing, you should add the movement command for this into the /sys/homey.g and /sys/homeall.g files.

        May need to look something like this:
        G1 Y310 F4000 S1 ; this will move Y to the end stop home position
        G1 Y0 F4000 ; after homing, this will move Y to 0 position

        Please tell us if this is what you want. If you are seeing other errors please also post your homey.g and homeall.g files.

        1 Reply Last reply Reply Quote 0
        • dani3785undefined
          dani3785
          last edited by

          when i send G28 Y the bed move to Y endstop but after homing the bed dont move to Y+, move only yet to Y-, to Y endstop.
          On DWC, after home Y, Y head positio is 300.

          this is my homeY.g

          G91 ; relative positioning
          G1 S1 Y-305 F1800 ; move quickly to Y axis endstop and stop there (first pass)
          G1 Y5 F600 ; go back a few mm
          G1 S1 Y-305 F360 ; move slowly to Y axis endstop once more (second pass)
          G90 ; absolute positioning

          thanks

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

            This command in config,g:

            M574 X1 Y2 Z1 S1 ; Set active high endstops

            says that the Y endstop is at the Y-max end of the axis (Y2). But these commands in homey.g:

            G1 S1 Y-305 F1800 ; move quickly to Y axis endstop and stop there (first pass)
            G1 Y5 F600 ; go back a few mm
            G1 S1 Y-305 F360 ; move slowly to Y axis endstop once more (second pass)

            are trying to home to minimum Y.

            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
            • nhofundefined
              nhof
              last edited by

              @dani3785

              To build on what David said: You say the machine is homing properly, but will not move in the positive direction, this indicates that the M574 command is incorrect, as it is telling the printer that it is at Y=300 when homed, rather than Y-0. Then when you try to move in +Y direction it will block the motion due to axis travel limits.

              Most likely you can fix the error by changing from:

              M574 X1 Y2 Z1 S1 ; Set active high endstops

              to:

              M574 X1 Y1 Z1 S1 ; Set active high endstops

              This will tell the system that it is at Y0 when it hits the Y home sensor.

              1 Reply Last reply Reply Quote 0
              • dani3785undefined
                dani3785
                last edited by

                thank you @dc42 and @nhof, problem solved.
                i have changed from
                ...M574 X1 Y2 Z1 S1 ; Set active high endstops
                to
                ...M574 X1 Y1 Z1 S1 ; Set active high endstops

                i'm really happy

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