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

    calculate the positions of switch, low and high

    Scheduled Pinned Locked Moved
    General Discussion
    5
    32
    1.5k
    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.
    • chris4undefined
      chris4
      last edited by

      @Danal said in calculate the positions of switch, low and high:

      negative moves toward = low"

      Thanks so much for the explanation.
      G code M564 H0 G91 G1 F1000 X-10, nothing happens but if you do X positive, 10 moved to the right.
      With a little more experiment , maybe I understand how it works.
      but thanks for the help-

      Danalundefined 1 Reply Last reply Reply Quote 0
      • Danalundefined
        Danal @chris4
        last edited by Danal

        @chris4 said in calculate the positions of switch, low and high:

        10 moved to the right.

        Was that toward or away from the switch?

        Delta / Kossel printer fanatic

        chris4undefined 1 Reply Last reply Reply Quote 0
        • A Former User?
          A Former User
          last edited by

          @chris4 said in calculate the positions of switch, low and high:

          G code M564 H0 G91 G1 F1000 X-10, nothing happens but if you do X positive, 10 moved to the right.

          The first part of -10 nothting happens is expected ; unless you set x > 0 or allow it to move outside the axis minima it will not move below 0.

          The second part is correct, +10 should move to the right in a Cartesian coordinate system. The last part of the puzzle is to determine if the switch is on the far left (M574 X1) or far right (M574 X2).

          1 Reply Last reply Reply Quote 0
          • chris4undefined
            chris4
            last edited by

            @bearer said in calculate the positions of switch, low and high:

            The first part of -10 nothting happens is expected ; unless you set x > 0 or allow it to move outside the axis minima it will not move below 0.
            The second part is correct, +10 should move to the right in a Cartesian coordinate system. The last part of the puzzle is to determine if the switch is on the far left (M574 X1) or far right (M574 X2).

            The switch is on the far left (M574 X1)
            and now works properly with home all.
            step motor goes towards the switch on the left press and x step motor stops. I continue with the calibration now, it will be a challenge for a senior, who is a bit sluggish.
            PS motion on stepmotor forward and backward is determined by low end and high end, or anything else, or not at all. My clever puzzle that I have to solve

            A Former User? Danalundefined 2 Replies Last reply Reply Quote 0
            • chris4undefined
              chris4 @Danal
              last edited by

              @Danal said in calculate the positions of switch, low and high:

              Was that toward or away from the switch?

              10 mowed to the right
              -10 to the left
              Thanks.

              Danalundefined 1 Reply Last reply Reply Quote 0
              • A Former User?
                A Former User @chris4
                last edited by A Former User

                @chris4 said in calculate the positions of switch, low and high:

                PS motion on stepmotor forward and backward is determined by low end and high end, or anything else, or not at all. My clever puzzle that I have to solve

                is that a question for y?

                if you have a printer like in the pictures where the bed moves, the confusing part may be that you're not interested in the movement of the bed, but rather the position of the nozzle on the bed. so a positive Y movement should move the bed towards the front, but the nozzles relative position would be towards the back of the bed.

                so the y switch at the back of the printer would trigger when the nozzle is at the front of the bed, meaning low end.

                (i.e. its the nozzle and coordinate system that determine motor direction, and then you set the end stop location after the motor direction is having the desired effect on the nozzle position)

                1 Reply Last reply Reply Quote 0
                • chris4undefined
                  chris4
                  last edited by

                  That explains some of what I couldn't. Thanks

                  1 Reply Last reply Reply Quote 0
                  • Danalundefined
                    Danal @chris4
                    last edited by

                    @chris4 said in calculate the positions of switch, low and high:

                    The switch is on the far left (M574 X1)
                    and now works properly with home all.

                    @chris4 said in calculate the positions of switch, low and high:

                    -10 to the left

                    Fantastic! Combining these two answers, the negative move moved TOWARD the switch. That means the switch is on the LOW END.

                    That means your M574 for this switch should specify X1 S1

                    Yay! Progress!

                    Delta / Kossel printer fanatic

                    1 Reply Last reply Reply Quote 1
                    • Danalundefined
                      Danal @chris4
                      last edited by Danal

                      @chris4 said in calculate the positions of switch, low and high:

                      PS motion on stepmotor forward and backward is determined by low end and high end, or anything else, or not at all. My clever puzzle that I have to solve

                      You don't really care how the motor turns. You care how the carriage moves. As we determined in the prior post, -10 moves TOWARD the switch, so the switch is LOW END.

                      And... another answer to a question I think you were asking: If you ever need a carriage to move opposite how it is moving, say when commissioning a new printer, the command is:

                      M569: Set motor driver direction,
                      Pnnn Motor driver number
                      Snnn Direction of movement of the motor(s) attached to this driver: 0 = backwards, 1 = forwards (default 1)

                      Delta / Kossel printer fanatic

                      1 Reply Last reply Reply Quote 0
                      • chris4undefined
                        chris4
                        last edited by

                        Thanks so much.

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