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

Duet 3 motor wiring?

Scheduled Pinned Locked Moved
Duet Hardware and wiring
6
19
792
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.
  • undefined
    Garfield
    last edited by 17 Feb 2020, 01:26

    You need to know the pitch of your leadscrew / ballscrews (if that's what your Z axis is) and also the degree steps of your stepper.

    Then go here >> Look here for leadscrew driven systems steps per mm

    1 Reply Last reply Reply Quote 0
    • undefined
      Government_Bacon
      last edited by 17 Feb 2020, 01:28

      its 400 steps i know that one side works fine the the other skips steps

      1 Reply Last reply Reply Quote 0
      • undefined
        Garfield
        last edited by 17 Feb 2020, 01:31

        I do hope that the steppers are the same - can't be different on the Z as I don't think you can set different values for each Z stepper.

        400 seems very low - is this a leadscrew system ? - where did 400 come from ?

        1 Reply Last reply Reply Quote 0
        • undefined
          jens55
          last edited by 17 Feb 2020, 01:46

          400 is standard on Creality CR10 varieties

          1 Reply Last reply Reply Quote 0
          • undefined
            Government_Bacon
            last edited by 17 Feb 2020, 01:47

            both motors are 1.8 degree

            1 Reply Last reply Reply Quote 0
            • undefined
              Garfield
              last edited by 17 Feb 2020, 01:54

              400 may be standard on CR10's with whatever controller they use - 1/4 microstep ?

              On 1/16th microsteps a typical 2mm pitch leadscrew is more like 1600 steps, the 400 only applies to the Creality controller (that I confess I know naff all about). The big G seems to indicate that the CR10 uses TR8x2 - so 2 mm pitch leadscrews.

              at 1.8 degrees per step with the standard Duet 16 microsteps as per the OP's gcode

              M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation

              That's 1600 steps per mm ....

              undefined 1 Reply Last reply 17 Feb 2020, 02:29 Reply Quote 0
              • undefined
                jens55
                last edited by jens55 17 Feb 2020, 02:12

                These are the relevant lines of my config.g

                M92 X80.20 Y80.15 Z406.00:406.00 E415:415 ; Set steps per mm

                M350 X16 Y16 Z16:16 E16:16 I1 ; Configure microstepping with interpolation

                Edit: Extruders are BMG clones (reduction gear)

                1 Reply Last reply Reply Quote 0
                • undefined
                  Government_Bacon
                  last edited by Government_Bacon 17 Feb 2020, 02:19

                  so i plugged in a different motor and the problem went away. all is working

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    infiniteloop @Garfield
                    last edited by infiniteloop 17 Feb 2020, 02:29

                    @Garfield said in Duet 3 motor wiring?:

                    400 may be standard on CR10's with whatever controller they use

                    400 is standard with 1.8° full steps (for the CR-10), so @jens55 is right. For 0.9° steppers, take 800.

                    But, you are not wrong either: it all depends on the sequence of M92 / M350 in the config.g. If you define the steps/mm first (M92) and configure microstepping (M350) after that, RRF wants the full steps in M92 - just as @jens55 posted it above.

                    @Government_Bacon has done it just the other way round, so, in his M92, he must multiply the full steps by his microstepping value, which, according to his config, should be 400*16 = 6400.

                    This is documented here, in the Examples section of M350.

                    EDIT: I should better read the documentation I cite: with M92, the steps/mm default to 16 microsteps, not full steps. So, the CR-10 with a 1.8° stepper for Z, needs 400 1/16 steps per mm. If microstepping is changed to 1/128 by M350 before setting the steps/mm with M92, these will be 400 * 128 / 16 = 3200.

                    undefined 1 Reply Last reply 17 Feb 2020, 02:51 Reply Quote 0
                    • undefined
                      Government_Bacon @infiniteloop
                      last edited by 17 Feb 2020, 02:51

                      @infiniteloop i set it to 6400 and it is very wrong

                      undefined 1 Reply Last reply 17 Feb 2020, 03:25 Reply Quote 0
                      • undefined
                        infiniteloop @Government_Bacon
                        last edited by 17 Feb 2020, 03:25

                        @Government_Bacon

                        i set it to 6400 and it is very wrong

                        My bad. Reading the link carefully, it states something different: The 400 steps/mm are valid for a default of 16 microsteps, not for full steps as I blindly assumed. So, as long as you stay with 16 microsteps (which is recommended for Duet2), the sequence of M92 and M350 doesn’t matter. Sorry for the confusion.

                        undefined 1 Reply Last reply 17 Feb 2020, 03:45 Reply Quote 0
                        • undefined
                          Government_Bacon @infiniteloop
                          last edited by 17 Feb 2020, 03:45

                          @infiniteloop its all good. i checked it just to make sure i had my steps right

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