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

    1XD Closed Loop Servo Setup

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    8
    41
    2.7k
    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.
    • alankilianundefined
      alankilian @code7
      last edited by

      @code7 said in 1XD Closed Loop Servo Setup:

      Thanks for double checking. Everything is connected properly.
      With everything connected or disconnected I am still receiving the blinking green light with no errors. I'm going to try a simpler motor/driver for now and I may come back to the Leadshine system later

      If you want to send one motor driver and one motor to me I'll hook it up and getting working for you and send it back. No charge for postage or anything.

      I only have a Duet2, but getting it working on that system will certainly get it working on your system also.

      I've done this for other people in the past and have had success.

      I'm in Cambridge, MA so you can estimate postage.

      Let me know if you want to try this to get you a jumpstart on getting this working.

      SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

      1 Reply Last reply Reply Quote 0
      • code7undefined
        code7
        last edited by

        That's really kind @alankilian. I'll let you know if I decide to try this again.

        Delta Printer Using a Duet 2 Wifi v1.04c, FW3.4.0beta2, Duet WiFi sever 1.26, Duet Web Control 3.3.0

        alankilianundefined 2 Replies Last reply Reply Quote 0
        • alankilianundefined
          alankilian @code7
          last edited by alankilian

          @code7 OK, I've got your system setup on my bench.

          I can connect using the Leadshine software on a Windows-10 computer using a USB-to-RS232 and your cable and I can read values from the stepper driver and I can command motion and the motor turns.

          I also hooked up a pulse-generator and I can enable the stepper driver and the motor turns when I generate step signals.

          So...... I don't have a Duet-3 so I can't hook up the 1XD board you sent, but I'll hook up my Duet2 and see if I can get the motor to move using GCODE from the Duet2.

          SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

          1 Reply Last reply Reply Quote 1
          • alankilianundefined
            alankilian @code7
            last edited by

            @code7 I now have the Duet controlling the stepper motor through axis U driver 5 step/direction outputs.

            I'll go back through this thread and see what I have hooked up differently than you did.

            I really just hooked:

            • Hooked PUL+ to Duet2 Step
            • Hooked PUL- to Duet2 Ground
            • Hooked DIR+ to Duet2 Direction
            • Hooked DIR-- to Duet2 Ground
            • Hooked ENA to Leadshine ground
            • Hooked the COM+ to leadshine 24 Volts DC

            I'll read some more and get back to you.

            SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

            1 Reply Last reply Reply Quote 0
            • alankilianundefined
              alankilian @code7
              last edited by

              @code7 said in 1XD Closed Loop Servo Setup:

              With everything connected or disconnected I am still receiving the blinking green light with no errors.
              ...
              Leadshine contacted me and recommended the Differential Connection option wired as follows:

              03335e0b-d1fa-4a88-86a7-0830baa00198-image.png

              The blinking green light means the Leadshine motor driver is not enabled.
              The green light needs to be solid on when the driver is enabled.

              You absolutely must NOT connect EN+ to COM-IN since COM-IN is between 24 and 70 Volts! You might have dodged a smoke-event because you may not have had a common ground between the 1XD and the Leadshine power supply.

              I'll look in to how to hook up the enable properly and write again.

              SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

              code7undefined 1 Reply Last reply Reply Quote 0
              • cosengundefined
                coseng
                last edited by

                I know you may have different hardware, but I have 2 Clearpath SDSK servo/steppers running from Duet step and direction outputs and they are providing awesome acceleration, no vibration and near zero noise at any speed.

                They are a bit expensive and the specs are quite overkill, but they are highly recommended.

                Chris
                Cosentino Engineering

                code7undefined 1 Reply Last reply Reply Quote 0
                • code7undefined
                  code7 @alankilian
                  last edited by

                  @alankilian Thanks for the update. Is there any other straightforward way to test the LeadShine encoder on the Duet2 or would you need a Duet3?

                  Delta Printer Using a Duet 2 Wifi v1.04c, FW3.4.0beta2, Duet WiFi sever 1.26, Duet Web Control 3.3.0

                  alankilianundefined 1 Reply Last reply Reply Quote 0
                  • code7undefined
                    code7 @coseng
                    last edited by

                    @coseng said in 1XD Closed Loop Servo Setup:

                    They

                    Thanks - I'll keep this in mind for future projects.

                    Delta Printer Using a Duet 2 Wifi v1.04c, FW3.4.0beta2, Duet WiFi sever 1.26, Duet Web Control 3.3.0

                    1 Reply Last reply Reply Quote 0
                    • alankilianundefined
                      alankilian @code7
                      last edited by

                      @code7 Everything works perfectly using my Duet2.

                      I think you just had the enable signal hooked up incorrectly.

                      • Hook COM+ from the Leadshine to +5 Volts on the 1XD
                      • Hook DI3/ENA from the Leadshine to the enable output on the 1XD

                      After that, you should be ready to roll.

                      I'll ship everything back to you soon.

                      SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

                      code7undefined 1 Reply Last reply Reply Quote 1
                      • code7undefined
                        code7 @alankilian
                        last edited by

                        @alankilian I sure appreciate your help on this. Thanks

                        Delta Printer Using a Duet 2 Wifi v1.04c, FW3.4.0beta2, Duet WiFi sever 1.26, Duet Web Control 3.3.0

                        1 Reply Last reply Reply Quote 0
                        • StanRyabundefined StanRyab referenced this topic
                        • p_vnctundefined p_vnct referenced this topic
                        • First post
                          Last post
                        Unless otherwise noted, all forum content is licensed under CC-BY-SA