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

    Duet Wifi 3 Z axis issue

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    15
    765
    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.
    • droftartsundefined
      droftarts administrators @sticks918
      last edited by

      @sticks918
      Add this line back in:

      M569 P4 S1                                     ; physical drive 4 goes forwards
      

      Otherwise, perhaps change the motor settings, particularly steps per mm on Z. I have dual Z on my printer, with only one motor attached to Z and E0. Here's my motor config, perhaps copy it and see if it works:

      M584 X0 Y1 Z2:3 E4                                 ; Set drive mapping
      
      ; Drives
      M569 P0 S1                                         ; physical drive 0 goes forwards
      M569 P1 S0                                         ; physical drive 1 goes backwards
      M569 P2 S1                                         ; physical drive 2 goes forwards
      M569 P3 S1                                         ; physical drive 3 goes forwards
      M569 P4 S0                                         ; physical drive 4 goes backwards
      M350 X16 Y16 Z16 E16 I1                            ; configure microstepping with interpolation
      M92 X80.00 Y80.00 Z800.00 E612.00                  ; set steps per mm
      M566 X900.00 Y900.00 Z12.00 E120.00                ; set maximum instantaneous speed changes (mm/min)
      M203 X6000.00 Y6000.00 Z600.00 E1200.00            ; set maximum speeds (mm/min)
      M201 X500.00 Y500.00 Z20.00 E250.00                ; set accelerations (mm/s^2)
      M906 X1000 Y1000 Z800 E1000 I30                    ; set motor currents (mA) and motor idle factor in per cent
      M84 S30                                            ; Set idle timeout
      

      Ian

      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

      1 Reply Last reply Reply Quote 0
      • sticks918undefined
        sticks918
        last edited by

        Will do. Can you tell me if your Z motors are 0.9 or 1.8 deg / step? Thank you!

        droftartsundefined 1 Reply Last reply Reply Quote 0
        • droftartsundefined
          droftarts administrators @sticks918
          last edited by

          @sticks918 1.8, but it shouldn’t matter for testing.

          Ian

          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

          1 Reply Last reply Reply Quote 0
          • appjawsundefined
            appjaws
            last edited by

            If you have 3 Z motors, it is better to connect each one to a driver connection, then you can have 3 Z motor bed leveling.
            Here is part of my config for my core XYUV machine
            ;Drives
            M584 X0:3 Y1:4 Z7:8:9 U10 V11 E2:5:6 ; Assign motors to axes
            M569 P0 S1 ; Drive 0 goes forwards X motor
            M569 P1 S1 ; Drive 1 goes backwards Y motor
            M569 P2 S0 ; Drive 2 goes backwards E1 extruder
            M569 P3 S1 ; Drive 3 goes forwards U motor
            M569 P4 S1 ; Drive 4 goes backwards V motor
            M569 P5 S0 ; Drive 5 goes backwards E2 extruder
            M569 P6 S0 ; Drive 6 goes backwards E3 extruder
            M569 P7 S1 ; Drive 7 goes forwards Z1 motor left
            M569 P8 S1 ; Drive 8 goes forwards Z2 motor rear
            M569 P9 S1 ; Drive 9 goes forwards Z3 motor right

            M671 X-40:156:340 Y120:338:120 ; Lead screw positions
            M350 X16 Y16 U16 V16 Z16 I1 ; Set XYUV 16 micro stepping with interpolation

            Hope that helps

            appjaws - Core XYUV Duet Ethernet Duex5
            firmware 3.5.0-rc.4 Web Interface 3.5.0-rc.4
            Ormerod 1-converted to laser engraver, Duet wifi
            OpenSCAD version 2024.03.18
            Simplify3D 5.1.2

            droftartsundefined 1 Reply Last reply Reply Quote 0
            • droftartsundefined
              droftarts administrators @appjaws
              last edited by

              @appjaws True, but then you need a Duex! I guess he's trying it out before getting one, or going to add a single driver, perhaps like https://duet3d.dozuki.com/Wiki/Using_external_stepper_motor_drivers#Section_Connecting_Pololu_style_drivers

              Ian

              Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

              1 Reply Last reply Reply Quote 0
              • sticks918undefined
                sticks918
                last edited by

                Appjaws and Ian are correct, I probably should be using a Duex but I wanted to get everything working as-is first and maybe upgrade to that later.

                But for now I'm about running out of things to try, I played with just about every motor setting: steps / mm, speed change, acceleration, and motor currents and cannot get any of these 1.8 deg motors to work on any driver except Z.

                The only other data point I can add is that if I boost the current (to say 2000 mA), the motor seems to move a bit closer to normal but I get a driver error saying there's a 'short-to-ground'. But only if it's above 1000 mA or so.

                Any last suggestions guys? Right now it seems my options are to either go down to two Z axis motors or buy 3 new E3D motors. Neither of those seem like great options... Appreciate the help so far though.

                1 Reply Last reply Reply Quote 0
                • sticks918undefined
                  sticks918
                  last edited by

                  The only other thing I can think of is that for all the settings I was changing, I usually was lowering the setting (except for current). Would raising them help? Can you reach a point where you're driving the motor too slowly and it doesn't work properly?

                  droftartsundefined 1 Reply Last reply Reply Quote 0
                  • appjawsundefined
                    appjaws
                    last edited by

                    I seem to remember in the distance past that I had motors integral with lead screws and they were twitching. I tried everything but could not get them to work. In the end I bought new motors and attached lead screws to them. They worked a treat, in fact I bought a third motor and changed my system to a 3 Z motor setup.
                    Have you tried your other motors, stand alone connected as Z?
                    these are my other motor settings.
                    M566 X1000 Y1000 U560 V560 Z60 E3000 ; Maximum jerk speeds mm/minute
                    M203 X12000 Y12000 U12000 V12000 Z100 E5000 ; Maximum speeds (mm/min)
                    M201 X1600 Y1600 U1000 V1000 Z30 E1500 ; Accelerations (mm/s^2)
                    M906 X1100 Y1100 U1100 V1100 Z1000 E950 ; Set motor currents (mA)

                    appjaws - Core XYUV Duet Ethernet Duex5
                    firmware 3.5.0-rc.4 Web Interface 3.5.0-rc.4
                    Ormerod 1-converted to laser engraver, Duet wifi
                    OpenSCAD version 2024.03.18
                    Simplify3D 5.1.2

                    1 Reply Last reply Reply Quote 0
                    • droftartsundefined
                      droftarts administrators @sticks918
                      last edited by

                      @sticks918 I'm wondering if your motors are wired incorrectly. Is the only setup that works is two motors plugged into the Z drive? This might be possible due to the series wiring of the 2 Z motor connectors (I can't quite work it out in my head), but could be driving the Z in parallel. Please check the phases of one of the other motors. The motor pins on the Duet are ordered 2B 2A 1A 1B, so it expects one wire pair to be connected to 2B and 2A, and the other coil pair connected to 1A and 1B. Check which wires are the coil/phase pair using a multimeter, or see https://duet3d.dozuki.com/Wiki/Choosing_and_connecting_stepper_motors#Section_Identifying_the_stepper_motor_phases

                      I think the other thing to try is to define all motors as X, then Y, then Z, to see if it's a driver problem, a config problem, or a motor problem. ie try:
                      M584 X0:1:2:3:4
                      Try moving the X axis, then try
                      M584 Y0:1:2:3:4
                      and so on.

                      Make sure you run either M564 S0 H0 or G92 X0 Y0 Z0 each time you restart, or motors won't be able to move anyway!

                      Ian

                      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                      1 Reply Last reply Reply Quote 0
                      • sticks918undefined
                        sticks918
                        last edited by

                        Hey guys,

                        I tired lowering and raising every setting under the sun but still no improvement. The only configuration that worked was 2 motors in series on the Z driver. Any single motor on any other driver did not work.

                        Since I need 3 of the same motor for Z, I switched them all out for E3D motors and they worked immediately. Shame I couldn't get my existing motors to work but that's okay. Thanks for the all the help though!

                        For anyone who stumbles across this, my motors were Tronxy sl42sth40-1684a-23 which are the standard issue from an upcycled Anet A8 (and probably other Anets).

                        droftartsundefined 1 Reply Last reply Reply Quote 0
                        • droftartsundefined
                          droftarts administrators @sticks918
                          last edited by

                          @sticks918 I can't see anything on this page https://3dprint.wiki/reprap/anet/a8/steppermotor that would stop the stepper motor working with Duet. I think it's the wiring in the plug that connects to the Duet. Can you take a picture of the motor and plug wiring? Did you try and work out the motor phases?

                          Ian

                          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

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