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

    Wrong position after homing axes

    Scheduled Pinned Locked Moved
    General Discussion
    3
    54
    3.8k
    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.
    • CoolM8undefined
      CoolM8
      last edited by

      This does not help. As I've already said, it is working correctly while printing, homing etc. The strange movement seems to come from the firmware. When i switch M350 X31 to M350 X16, it behave the same except, the x position is more off after homing that before.

      homeall (all these steps work as excepted):
      ; Relative positioning
      G91

      ; Lift Z
      G1 Z5 F6000

      ; Course home X and Y
      G1 X-210 Y-210 F1800 S1

      ; Move away from the endstops
      G1 X5 Y5 F6000

      ; Fine home X and Y
      G1 X-210 Y-210 F360 S1

      ; Absolute positioning
      G90

      ; Go to first bed probe point and home Z
      G1 X0 Y15 F1800
      G30

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

        @coolm8 said in Wrong position after homing axes:

        M558 P1 ;X1 Y0 Z1 H5 F120 T5000 Set Z probe type to unmodulated, the axes for which it is used and the probe + travel speeds

        there is a ; in the middle of this command

        G31 P500 X0 Y0 Z0.35 Set Z probe trigger value, offset and trigger height

        your probe does not have an x and y offset?

        you obviously need to change the steps/mm when you change the microstepping.
        try
        M350 X16 Y16 Z16 E16 I1 ; Configure microstepping without interpolation
        M92 X78.7402 Y78.7402 Z1066.6666 E832 ; Set steps per mm

        M201 X2500 Y2500 Z100 E250 ; Set accelerations (mm/s^2)

        try reducing the acceleration and see if the noise disappears.
        set it to something small like 500 for x and y

        1 Reply Last reply Reply Quote 0
        • CoolM8undefined
          CoolM8
          last edited by

          @veti said in Wrong position after homing axes:

          X78.7402

          The ; means that i commit out these settings. In the documentation of the duet IR/Probe stands to set it to MP558 P1.

          All other changes do not make any difference. Since this strange sound is coming only from one single movement (the one that comes directly after homing and before moving to the home position). It cannot have anything to do with the configuration. Homing X or Y by it self works all fine and moving the print head after that too. I can print all fine, it only bugs me that the prints are always offset in the x axis.

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

            @coolm8 said in Wrong position after homing axes:

            duet IR/Probe

            there is no way that you are using this probe and not having an offset.

            1 Reply Last reply Reply Quote 0
            • CoolM8undefined
              CoolM8
              last edited by

              I did add the offset in X of 40 so now i have:
              M558 P1
              G31 P500 X40 Y0 Z0.35

              But still no difference.

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

                execute your homeall manually (entering each statement in the console). which one of the commands is producing the noise.

                1 Reply Last reply Reply Quote 0
                • CoolM8undefined
                  CoolM8
                  last edited by

                  Ok, did not think about that.
                  It is the following command. G30
                  Strange thing is that if I remove that from homeall.g, it does not probe the bed, but it still has this strange movement in Y and then goes to wrong home position.

                  So homeall.g looks like this now and i can execute every step manualyl without issue:
                  ; Relative positioning
                  G91

                  ; Lift Z
                  G1 Z5 F6000

                  ; Course home X and Y
                  G1 X-210 Y-210 F1800 S1

                  ; Move away from the endstops
                  G1 X5 Y5 F6000

                  ; Fine home X and Y
                  G1 X-210 Y-210 F360 S1

                  ; Absolute positioning
                  G90

                  ; Go to first bed probe point and home Z
                  G1 X0 Y15 F1800

                  Phaedruxundefined 2 Replies Last reply Reply Quote 0
                  • Vetiundefined
                    Veti
                    last edited by

                    G30 determines z=0 by moving the bed up until it triggers the probe.
                    maybe the bed is touching the hotend before the probe triggers. that could make some noise.

                    does the strange movement happen when you execute G1 X0 Y15 F1800 ?

                    1 Reply Last reply Reply Quote 0
                    • CoolM8undefined
                      CoolM8
                      last edited by CoolM8

                      No, the bed is not touching the sensor. homez.g does also contain the command G30. If i removed from there i get the error 'homing Z failed'.
                      After all axes are hommed i can execute G30 without any issue.

                      So for me it seems like this is the issue:
                      homing X and Y puts the printhead at front left corner of the printer, stopped by endstops at Xmin and Ymin. Then i can move the printhead just fine with manual commands.
                      As soon as G30 gets executed the firmware thinks the print area is about X40 Y0, so the initial movement of G30 from X0 Y0 to X0 Y15 makes this strange motor noise. After it has done the probing an the printhead moves to X40 Y0 and resets the coordinates to X0 Y0. From then on G30 does exactly the same movements as before without any strange noise and smoothly running motors.

                      Somehow I believe the printer thinks moving from real X0 Y0 to X0 Y15 is an impossible move (the motors sound quit like when the run in to force and cannot move any further), but it still executes it.

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

                        hmm your config seems to be missing the
                        M574 Z1 S2 ; set endstops controlled by probe

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

                          @coolm8 said in Wrong position after homing axes:

                          Somehow I believe the printer thinks moving from real X0 Y0 to X0 Y15 is an impossible move (the motors sound quit like when the run in to force and cannot move any further), but it still executes it.

                          find out where its grinding on. the endstops?

                          1 Reply Last reply Reply Quote 0
                          • CoolM8undefined
                            CoolM8
                            last edited by

                            It is not grinding anywhere. It makes the move correctly just the sound is weird.

                            This is not a mechanical issue, it is only software side.
                            It only happens wile probing, i can make exactly the same move just fine before the Z-axis is homed (i cannot do it afterwards because the software does not allow me to go negativ on the X axis).

                            I alread had the following:
                            M574 X1 Y1 Z1 S0

                            changing to the following did not bring any changes:
                            M574 X1 Y1 S0
                            M574 Z1 S2

                            Why is G30 affecting the X and Y axes anyway?
                            Might it be that i have the Duet Wifi 1 but running recently updated Version:
                            Firmware Electronics: Duet WiFi 1.0 or 1.01
                            Firmware Version: 2.03 (2019-06-13b2)
                            WiFi Server Version: 1.23
                            Web Interface Version: 1.22.6

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

                              @coolm8 said in Wrong position after homing axes:

                              M558

                              its not but it might be picking up your X1 in M558 command

                              try replacing the entire line with
                              M558 P1 H5 F120 T6000 ; set Z probe type to unmodulated and the dive height + speeds

                              1 Reply Last reply Reply Quote 0
                              • CoolM8undefined
                                CoolM8
                                last edited by

                                @veti said in Wrong position after homing axes:

                                M558 P1 H5 F120 T6000

                                This still has no effect on this behavior.
                                To be exact, the X offset after homing is 58mm. When execute an emergency stop after homing Z, I can move the X-axis to -58 until the endstop triggers. I then can manually go forward 204mm until I reach the end of the other side of the X axis (from -58 to 164). This shows that the motors and the stepping is set up correctly.

                                I have taken a video of the steps from Z-Axis homing. The strange movement beginns at 1:00 minute into the video. See: https://youtu.be/9m7Y-PwS-pI

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

                                  the video is private

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

                                    @coolm8 said in Wrong position after homing axes:

                                    M564 H0

                                    can you remove this? this should not be in a normal config.

                                    also the normal place for the M208 command is after the M84. This should not be a problem for your config i think, but on certain commands the order is important.

                                    1 Reply Last reply Reply Quote 0
                                    • CoolM8undefined
                                      CoolM8
                                      last edited by CoolM8

                                      If I remove M554 H0 I cannot home any axis anymore. No matter what i choose homeall, home X, ... I get this error: G0/G1: insufficient axes homed

                                      I fixed the video and it should now be accessible:
                                      https://youtu.be/9m7Y-PwS-pI

                                      1 Reply Last reply Reply Quote 0
                                      • Phaedruxundefined
                                        Phaedrux Moderator @CoolM8
                                        last edited by

                                        @coolm8 said in Wrong position after homing axes:

                                        If I remove M554 H0 I cannot home any axis anymore. No matter what i choose homeall, home X, ... I get this error: G0/G1: insufficient axes homed

                                        This is because of this

                                        @coolm8 said in Wrong position after homing axes:

                                        ; Lift Z
                                        G1 Z5 F6000

                                        You need to add S2 to that G1 Z move so that it can move without being homed first.

                                        Z-Bot CoreXY Build | Thingiverse Profile

                                        1 Reply Last reply Reply Quote 0
                                        • CoolM8undefined
                                          CoolM8
                                          last edited by

                                          This is not what I'm looking for. I do not need to disable manual movement before homing and i do not need to overwrite that with manual commnands to move. All i want is G30 to work properly and not do to that strange additional movement that you can see in the video.

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

                                            Can you send G31 P1 in the gcode console? I suspect that the offset may not be applied correctly.

                                            Have you verified that the steps per mm is correct so that 10mm of requested movement equals 10mm of actual movement?

                                            @coolm8 said in Wrong position after homing axes:

                                            This is not what I'm looking for. I do not need to disable manual movement before homing and i do not need to overwrite that with manual commnands to move.

                                            You can do as you wish, I'm merely explaining what's happening. Please keep in mind that we are only trying to volunteer our time to help you solve your problem. If you would prefer, I can stop trying to assist.

                                            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