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

    Servo Direction

    Scheduled Pinned Locked Moved
    General Discussion
    2
    8
    364
    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.
    • dawgheartundefined
      dawgheart
      last edited by

      I have just setup a new servo on my duet wifi but it is turning anticlockwise. How do i get it to work in the clockwise direction?

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

        Do you mean an RC servo, or a servo motor controlling an axis?

        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
        • dawgheartundefined
          dawgheart
          last edited by

          RC Servo to be used for tool changing

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

            The S parameter in the M280 command determines the pulse width sent to the servo. How the servo interprets the pulse with depends on the servo manufacturer. So to get it to turn the other way, swap low S values for high values in your M280 commands.

            btw E3D used a servo originally in their tool changer. They ditched it in the production version because it didn't last for enough tool changes.

            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
            • dawgheartundefined
              dawgheart
              last edited by

              I set this up using:
              M307 H5 A-1 C-1 D-1
              M42 P5 I1 S1 F500.

              I connected it up to the PWM3 channel on the Duex5. When I send the M280 P5 S90 command, it moves anti clockwise.

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

                @dawgheart said in Servo Direction:

                When I send the M280 P5 S90 command, it moves anti clockwise.

                It's moving to the "S90" position from wherever it happens to be when you powered it on. Depending on the initial position, that could be clockwise or anticlockwise.

                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

                dawgheartundefined 1 Reply Last reply Reply Quote 0
                • dawgheartundefined
                  dawgheart
                  last edited by

                  The approach I am using is both a servo and a large N52 Magnet. Thought about using an electromagnet but my prototype was drawing too much power and getting very hot. The magnet is the main tool holder but I am just using the servo for stability.

                  1 Reply Last reply Reply Quote 0
                  • dawgheartundefined
                    dawgheart @dc42
                    last edited by

                    @dc42
                    OK..I will try a different approach. Thank you.

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