Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    changing endstop side(min or max)doesnt change homing direction

    Firmware installation
    4
    10
    129
    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.
    • jcwild
      jcwild last edited by jcwild

      This is a corexy machine running duet maestro and rrf3 and changing the line:M574 Y2 S1 to M574 Y1 S1 and the y axis moves the same direction when i try to home(the wrong direction) Ive got the other endtsop working perfectly

      jay_s_uk 1 Reply Last reply Reply Quote 0
      • jay_s_uk
        jay_s_uk @jcwild last edited by

        @jcwild changing the endstop position doesn't change the homing direction, it just tells the firmware to use the minimum or maximum axis limits when it's triggered.
        You either need to adjust the homing file for that axis or adjust the motor mapping/directions to move in the right direction

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        jcwild 1 Reply Last reply Reply Quote 0
        • jcwild
          jcwild @jay_s_uk last edited by

          @jay_s_uk wow ummm ok. now i feel like i have no idea what im doing again. i just swapped motor connectors to get both axis going the correct directions and now the y endstop stopped triggering.

          jay_s_uk fcwilt 2 Replies Last reply Reply Quote 0
          • jay_s_uk
            jay_s_uk @jcwild last edited by

            @jcwild best check your wiring, run M98 P"config.g" to make sure you don't have any issues and use M119 to check the trigger status

            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

            1 Reply Last reply Reply Quote 0
            • fcwilt
              fcwilt @jcwild last edited by

              @jcwild said in changing endstop side(min or max)doesnt change homing direction:

              @jay_s_uk wow ummm ok. now i feel like i have no idea what im doing again. i just swapped motor connectors to get both axis going the correct directions and now the y endstop stopped triggering.

              Changing the motor connections changed the physical direction of movement but it didn't alter the logical direction of movement.

              The homing movement needs to be towards the endstop sensor and the endstop configuration has to match the location of the endstop sensor, either at the low end of the axis or the high end.

              Please copy-and-past your config.g file and your various homing files using the </> tag, one tag per file.

              Frederick

              Printers: A FT-5 with the 713 upgrade bits. A custom MarkForged style. A small Utilmaker style and a CoreXY from kits. Various hotends. Using Duets (2 and 3) running 3.4.1

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

                Take a look at this guide for setting up your corexy, particularly the motor tests to determine if they are connected correctly and turning the right directions.

                https://docs.duet3d.com/en/User_manual/Machine_configuration/Configuration_coreXY

                Once you have that solved you can configure the endstop positions with M574 Y1 low end of travel, M574 Y2 high end of travel, for example.

                Then your homing files need to move in the positive or negative direction to move towards the endstops.

                Z-Bot CoreXY Build | Thingiverse Profile

                jcwild 1 Reply Last reply Reply Quote 1
                • jcwild
                  jcwild @Phaedrux last edited by

                  @phaedrux ok so I input this: G91 G1 H2 X10 F3000
                  and printhead moves X- and Y- ok, so i change M569 P0 S0 to S1 in the config. save and reset and so i input the G91 G1 H2 X10 F3000 and it again move negative in both directions, and thats all the guide says to do.

                  Inputting: G91 G1 H2 Y10 F3000 and it moves X- and Y+ and again changing M569 P1 S0 to S1 in the config changes nothing when inputting this command again.

                  fcwilt 1 Reply Last reply Reply Quote 0
                  • fcwilt
                    fcwilt @jcwild last edited by fcwilt

                    @jcwild said in changing endstop side(min or max)doesnt change homing direction:

                    @phaedrux ok so I input this: G91 G1 H2 X10 F3000
                    and printhead moves X- and Y- ok, so i change M569 P0 S0 to S1 in the config. save and reset and so i input the G91 G1 H2 X10 F3000 and it again move negative in both directions, and thats all the guide says to do.

                    Inputting: G91 G1 H2 Y10 F3000 and it moves X- and Y+ and again changing M569 P1 S0 to S1 in the config changes nothing when inputting this command again.

                    I never found changing M569 to work for my CoreXY.

                    What I did to get mine to work was change M669.

                    As I understand it M669 K1 is equivalent to

                    M669 X1:1:0 Y1:-1:0 Z0:0:1
                    

                    On my printer I had to use

                    M669 X-1:1:0 Y-1:-1:0 Z0:0:1
                    

                    The first two values for X and Y are, I believe, always going to be 1 or -1.

                    So I just changed one value at a time, then reset and tested, until everything moved correctly.

                    Notice that I ended up changing the first X value from 1 to -1 and the first Y value from 1 to -1.

                    I never bothered to take the time to understand what each value does. If I had I probably wouldn't have needed to use trial-and-error.

                    Frederick

                    Printers: A FT-5 with the 713 upgrade bits. A custom MarkForged style. A small Utilmaker style and a CoreXY from kits. Various hotends. Using Duets (2 and 3) running 3.4.1

                    jcwild 1 Reply Last reply Reply Quote 1
                    • jcwild
                      jcwild last edited by

                      @fcwilt this is getting me somewhere! using your m669 line (after decoding the emoji conversion) got the x axis working the right way round and the y axis going reverse

                      1 Reply Last reply Reply Quote 0
                      • jcwild
                        jcwild @fcwilt last edited by jcwild

                        @fcwilt Got it! changed Y-1👎0 to Y 1:1:0 and that did it. so im pretty sure what it corresponds to are the 3 motion motors, normally called x y and z and the 1, -1 and 0 are which direction the stepper motor should turn, 1 for forwards ,-1 for backwards and 0 for none. Thanks for the help

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