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

    Need help diagnosing bad stepper output signal on Duet 3

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    19
    642
    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.
    • Noahundefined
      Noah
      last edited by

      This stands out to me a little... I have no clue what any of it means. I just notice irregularities on driver 5 compared to the others

      Driver 0: position 10480, standstill, reads 23950, writes 4 timeouts 0, SG min/max 0/149
      Driver 1: position -6160, standstill, reads 23950, writes 4 timeouts 0, SG min/max 0/163
      Driver 2: position 50304, ok, reads 23950, writes 4 timeouts 0, SG min/max 0/111
      Driver 3: position 0, ok, reads 23950, writes 4 timeouts 0, SG min/max 0/111
      Driver 4: position 0, ok, reads 23950, writes 4 timeouts 0, SG min/max 0/112
      Driver 5: position 0, standstill, reads 23954, writes 0 timeouts 0, SG min/max not available

      1 Reply Last reply Reply Quote 0
      • Rushmere3Dundefined
        Rushmere3D @Noah
        last edited by

        @Noah

        The first thing that stands out is you have defined multiple E factors in your config but you only have one Extruder, I think you meant to set multiple Z factors.

        Ie

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

        Follow my adventures in 3D Printing, laser cutting and electronics. https://linktr.ee/Rushmere3D

        1 Reply Last reply Reply Quote 1
        • Phaedruxundefined
          Phaedrux Moderator @Noah
          last edited by

          @Noah said in Need help diagnosing bad stepper output signal on Duet 3:

          M350 X16 Y16 Z16 E16:16:16 I1 ; configure microstepping with interpolation
          M92 X160.00 Y160.00 Z1600.00 E1600.00:1600.00:873.00 ; set steps per mm
          M566 X1200.00 Y1200.00 Z30.00 E30.00:30.00:1800.00 ; set maximum instantaneous speed changes (mm/min)
          M203 X18000.00 Y18000.00 Z1800.00 E1800.00:1800.00:3000.00 ; set maximum speeds (mm/min)
          M201 X1600.00 Y1600.00 Z100.00 E100.00:100.00:2000.00 ; set accelerations (mm/s^2)
          M906 X1200 Y1200 Z800 E800:800:950 I30 ; set motor currents (mA) and motor idle factor in per cent

          Can you remove the multiple E values from this section? You only have a single extruder, so there should only be a single E value.

          Z-Bot CoreXY Build | Thingiverse Profile

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

            Can you send M98 P"config.g" and report the results?

            Z-Bot CoreXY Build | Thingiverse Profile

            Noahundefined 1 Reply Last reply Reply Quote 0
            • Noahundefined
              Noah
              last edited by

              The rrf config tool originally gave me that setup
              When I manually moved things from
              M350 X16 Y16 Z16 E16:16:16 I1 to M350 X16 Y16 Z16:16:16 E16 I1
              and so on for all the motor settings the bed would no longer home and the printer wouldn't function so I had to switch everything back

              Phaedruxundefined 1 Reply Last reply Reply Quote 0
              • Noahundefined
                Noah @Phaedrux
                last edited by

                @Phaedrux said in Need help diagnosing bad stepper output signal on Duet 3:

                P"config.g"

                M98 P"config.g"
                Error: in file macro line 21: M350: array too long, max length = 1
                Error: in file macro line 22: M92: array too long, max length = 1
                Error: in file macro line 23: M566: array too long, max length = 1
                Error: in file macro line 24: M203: array too long, max length = 1
                Error: in file macro line 25: M201: array too long, max length = 1
                Error: in file macro line 26: M906: array too long, max length = 1
                Warning: Macro file config-override.g not found

                1 Reply Last reply Reply Quote 0
                • Noahundefined
                  Noah
                  last edited by Noah

                  I just tried putting back these settings

                  ; Drives
                  M569 P0.0 S1 ; physical drive 0.0 goes forwards
                  M569 P0.1 S1 ; physical drive 0.1 goes forwards
                  M569 P0.2 S1 ; physical drive 0.2 goes forwards
                  M569 P0.3 S1 ; physical drive 0.3 goes forwards
                  M569 P0.4 S1 ; physical drive 0.4 goes forwards
                  M569 P0.5 S1 ; physical drive 0.5 goes forwards
                  M584 X0.0 Y0.1 Z0.2:0.3:0.4 E0.5
                  M671 X-30.109:146.1:322.309 Y-10.413:317.797:-10.413 S50
                  M350 X16 Y16 Z16 E16:16:16 I1
                  M92 X160.00 Y160.00 Z1600.00:1600.00:1600.00 E873.00
                  M566 X1200.00 Y1200.00 Z30.00:30.00:30.00 E1800.00
                  M203 X18000.00 Y18000.00 Z1800.00:1800.00:1800.00 E3000.00
                  M201 X1600.00 Y1600.00 Z100.00:100.00:100.00 E2000.00
                  M906 X1200 Y1200 Z800:800:800 E950 I30
                  M84 S30

                  Same result again. The triple Z bed no longer homes or responds to G32

                  Rushmere3Dundefined 1 Reply Last reply Reply Quote 0
                  • Rushmere3Dundefined
                    Rushmere3D @Noah
                    last edited by

                    @Noah

                    If you run M98 P"config.g" again and it gives the same result as before, I think it's because you have multiple factors when you don't need them. If you tell the firmware the Z is 0.2:0.3:0.4 it knows to use one setting for all 3 steppers.

                    Follow my adventures in 3D Printing, laser cutting and electronics. https://linktr.ee/Rushmere3D

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

                      @Noah said in Need help diagnosing bad stepper output signal on Duet 3:

                      M350 X16 Y16 Z16 E16:16:16 I1 to M350 X16 Y16 Z16:16:16 E16 I1

                      The Z axis only needs a single entry as well. It's only when you have multiple extruder axis that each axis needs to be defined. The other axis with multiple motors all use the same settings since they aren't independent.

                      So remove the multiple Z values as well.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      1 Reply Last reply Reply Quote 1
                      • Phaedruxundefined
                        Phaedrux Moderator @Rushmere3D
                        last edited by

                        @Rushmere3D JYNX again!

                        Z-Bot CoreXY Build | Thingiverse Profile

                        Rushmere3Dundefined 1 Reply Last reply Reply Quote 0
                        • Rushmere3Dundefined
                          Rushmere3D @Phaedrux
                          last edited by

                          @Phaedrux haha

                          Follow my adventures in 3D Printing, laser cutting and electronics. https://linktr.ee/Rushmere3D

                          1 Reply Last reply Reply Quote 0
                          • Noahundefined
                            Noah
                            last edited by

                            ok, haha
                            thank you so much for dealing with the noob over here. I corrected all of the lines after m671 to show only one value for X,Y,Z,E
                            I was just copying what the RRF config tool gave me for the multiple E motors since it did not have any option to add extra Z motors.
                            Z homing and G32 working perfect again, and I only have one data point for motor 5 now
                            Fingers crossed.

                            Phaedruxundefined 1 Reply Last reply Reply Quote 0
                            • Noahundefined
                              Noah
                              last edited by

                              as soon as the hotend heats up and it will let me send extrude and retract commands, I'll let you know if the ext motor is behaving any differently now

                              1 Reply Last reply Reply Quote 0
                              • Noahundefined
                                Noah
                                last edited by

                                Hahahaha Phaedrux & Rushmere You guy are amazing!!!
                                wish I had asked a little sooner for someone to review my code... I really caused myself a couple of days of grief over here... I have good motor function on all motors now.
                                Now, I am off to tune my extrusion steps and try a print!|

                                Thank You both soooooo much

                                Noah

                                1 Reply Last reply Reply Quote 0
                                • Noahundefined
                                  Noah
                                  last edited by Noah

                                  Proper config for others refernce

                                  ; Drives
                                  M569 P0.0 S1 ; physical drive 0.0 goes forwards
                                  M569 P0.1 S1 ; physical drive 0.1 goes forwards
                                  M569 P0.2 S1 ; physical drive 0.2 goes forwards
                                  M569 P0.3 S1 ; physical drive 0.3 goes forwards
                                  M569 P0.4 S1 ; physical drive 0.4 goes forwards
                                  M569 P0.5 S1 ; physical drive 0.5 goes forwards
                                  M584 X0.0 Y0.1 Z0.2:0.3:0.4 E0.5
                                  M671 X-30.109:146.1:322.309 Y-10.413:317.797:-10.413 S50
                                  M350 X16 Y16 Z16 E16 I1
                                  M92 X160.00 Y160.00 Z1600.00 E873.00
                                  M566 X1200.00 Y1200.00 Z30.00 E1800.00
                                  M203 X18000.00 Y18000.00 Z1800.00 E3000.00
                                  M201 X1600.00 Y1600.00 Z100.00 E2000.00
                                  M906 X1200 Y1200 Z800 E950 I30
                                  M84 S30

                                  1 Reply Last reply Reply Quote 1
                                  • Phaedruxundefined
                                    Phaedrux Moderator @Noah
                                    last edited by

                                    Glad you got it sorted.

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    1 Reply Last reply Reply Quote 0
                                    • Noahundefined
                                      Noah
                                      last edited by

                                      I still do have the
                                      Error: in file macro line 21: M350: array too long, max length = 1

                                      but only for the M350 line

                                      That's strange... what doesn't it like about my M350 X16 Y16 Z16 E16 I1

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

                                        Please upload your actual config.g file

                                        Z-Bot CoreXY Build | Thingiverse Profile

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