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

Z-Motors don't drive powered by external stepper driver

Scheduled Pinned Locked Moved
Duet Hardware and wiring
3
11
472
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
    Inno 3D
    last edited by 7 Mar 2021, 12:37

    Hello,

    I have a Problem with my 4 Z-Motors. They aren't moving, if I would like to home my printer.

    The Z-motors are connected at external stepper driver. They were powered by one 48V 13A power supply.
    Motors: 4 x Nema 23 1.8A
    External stepper driver: 4 x leadshine dm556

    The ampere of the one external stepper driver was changed while the system was running. It was changed to 4 ampere.

    I changed the motor after I saw, that the motor was damaged and changed the ampere to 1.5.

    But after that none of the 4 Motors will drive again.

    The external stepper driver are connected to the Duet Expansion Breakout Board.

    The Power supply is working normally. Same with the external stepper driver. The green led is on.

    I also changed the Duet Expansion Breakout Board, because I thougt, that the Board is damaged.

    But that wasn't the problem.

    config.g

    ; Configuration file for Duet WiFi (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.2.2 on Sun Feb 14 2021 12:30:01 GMT+0100 (Mitteleuropäische Normalzeit)
    
    ; General preferences
    G90                                                                  ; send absolute coordinates...
    M83                                                                  ; ...but relative extruder moves
    M550 P"Inno V1"                                                      ; set printer name
    
    ; Network
    M551 P"Inno3D"                                                       ; set password
    M552 S1                                                              ; enable network
    M586 P0 S1                                                           ; enable HTTP
    M586 P1 S0                                                           ; disable FTP
    M586 P2 S0                                                           ; disable Telnet
    
    ; Drives
    M569 P0 S1                                                           ; physical drive 0 goes forwards
    M569 P1 S1                                                           ; physical drive 1 goes forwards
    M569 P5 T2.5:2.5:5:5 S1                                                           ; physical drive 5 goes forwards
    M569 P3 S1                                                           ; physical drive 3 goes forwards
    M569 P4 S1                                                           ; physical drive 4 goes forwards
    M569 P6 T2.5:2.5:5:5 S1                                                           ; physical drive 6 goes forwards
    M569 P7 T2.5:2.5:5:5 S1                                                           ; physical drive 7 goes forwards
    M569 P8 T2.5:2.5:5:5 S1                                                           ; physical drive 8 goes forwards
    M584 X0 Y1:4 Z5:6:7:8 E3                                             ; set drive mapping
    M350 X64 Y128:128 Z1:1:1:1 I0                                    ; configure microstepping without interpolation
    M350 E16 I1                                                          ; configure microstepping with interpolation
    M92 X286.72 Y204.80:204.80 Z576.00:576.00:576.00:576.00 E420.00      ; set steps per mm
    M566 X900.00 Y900.00:900.00 Z12.00:12.00:12.00:12.00 E120.00         ; set maximum instantaneous speed changes (mm/min)
    M203 X6000.00 Y6000.00:6000.00 Z180.00:180.00:180.00:180.00 E1200.00 ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00:500.00 Z20.00:20.00:20.00:20.00 E250.00         ; set accelerations (mm/s^2)
    M906 X1800 Y1800:1800 Z800:800:800:800 E800 I30                      ; set motor currents (mA) and motor idle factor in per cent
    M84 S30                                                              ; Set idle timeout
    
    ; Axis Limits
    M208 X0 Y0 Z0 S1                                                     ; set axis minima
    M208 X1280 Y2150 Z1500 S0                                            ; set axis maxima
    
    ; Endstops
    M574 X1 S1 P"!xstop"                                                 ; configure active-high endstop for low end on X via pin !xstop
    M574 Y2 S1 P"!ystop"                                                 ; configure active-high endstop for high end on Y via pin !ystop
    M574 Z1 S2                                                           ; configure Z-probe endstop for low end on Z
    
    ; Z-Probe
    M950 S0 C"duex.pwm5"                                                 ; create servo pin 0 for BLTouch
    M558 P9 C"^zprobe.in" H5 F120 T6000                                  ; set Z probe type to bltouch and the dive height + speeds
    G31 P500 X0 Y0 Z2.5                                                  ; set Z probe trigger value, offset and trigger height
    M557 X15:1265 Y15:2135 S20                                           ; define mesh grid
    
    ; Heaters
    M308 S0 P"bedtemp" Y"thermistor" T100000 B4725 C7.06e-8              ; configure sensor 0 as thermistor on pin bedtemp
    M950 H0 C"bedheat" T0                                                ; create bed heater output on bedheat and map it to sensor 0
    M307 H0 B1 S1.00                                                     ; enable bang-bang mode for the bed heater and set PWM limit
    M140 H0                                                              ; map heated bed to heater 0
    M143 H0 S120                                                         ; set temperature limit for heater 0 to 120C
    M308 S1 P"spi.cs1" Y"rtd-max31865"                                   ; configure sensor 1 as thermocouple via CS pin spi.cs1
    M950 H1 C"e0heat" T1                                                 ; create nozzle heater output on e0heat and map it to sensor 1
    M307 H1 B0 S1.00                                                     ; disable bang-bang mode for heater  and set PWM limit
    M143 H1 S490                                                         ; set temperature limit for heater 1 to 490C
    
    ; Fans
    M950 F0 C"fan0" Q500                                                 ; create fan 0 on pin fan0 and set its frequency
    M106 P0 S0 H-1                                                       ; set fan 0 value. Thermostatic control is turned off
    
    ; Tools
    M563 P0 S"Extruder" D0 H1 F0                                         ; define tool 0
    G10 P0 X0 Y0 Z0                                                      ; set tool 0 axis offsets
    G10 P0 R0 S0                                                         ; set initial tool 0 active and standby temperatures to 0C
    
    ; Custom settings are not defined
    
    ; Miscellaneous
    M575 P1 S1 B57600                                                    ; enable support for PanelDue
    M911 S21 R22 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000"                   ; set voltage thresholds and actions to run on power loss
    

    Do you have an Idea what's working wrong?

    Many thanks for your help!

    1 Reply Last reply Reply Quote 0
    • undefined
      fcwilt
      last edited by 7 Mar 2021, 13:06

      Hi,

      I see a few things that I believe need fixing.

      As I recall the Duet 2 WiFi does not support any values other than 16 in M350.

      And you don't include external drives there either.

      So I think you need to change it to M350 X16 Y16 I1

      Again as I recall when you have drive mapping like Y1:4 or Z5:6:7:8 you only using single values in M92, M566, M203, M201, M906.

      And you don't include external drivers in M906.

      So I think you would use the following:

      M92  X286.72   Y204.80   Z576.00  E420.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  Z180.00  E1200.00 ; set maximum speeds (mm/min)
      M201 X500.00   Y500.00   Z20.00   E250.00  ; set accelerations (mm/s^2)
      M906 X1800     Y1800              E800 I30    
      

      At least that is how my configuration is setup and the external drives work.


      The only other change you might want to try is the T values in the M569 commands.

      The values suggested to me were T2:2:10:10 since I had no specifications for my external drivers.

      If you have the specs and you know your current values are correct of course you should leave them as they are.

      Frederick

      Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

      1 Reply Last reply Reply Quote 0
      • undefined
        Inno 3D
        last edited by 7 Mar 2021, 13:33

        Hi Frederick,

        Thanks for your help.

        I changed the M92, M566, M203, M201, M906 to single values, as you said.

        But the Z-Motors are still not running.

        Do you have another Idea?

        Many Thanks!
        Lars

        undefined 1 Reply Last reply 7 Mar 2021, 13:41 Reply Quote 0
        • undefined
          fcwilt @Inno 3D
          last edited by 7 Mar 2021, 13:41

          @Inno-3D said in Z-Motors don't drive powered by external stepper driver:

          Hi Frederick,

          Thanks for your help.

          I changed the M92, M566, M203, M201, M906 to single values, as you said.

          But the Z-Motors are still not running.

          Do you have another Idea?

          Many Thanks!
          Lars

          I just noticed the printer dimensions - that is huge!

          Anyway have the Z steppers ever worked?

          Frederick

          Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

          1 Reply Last reply Reply Quote 0
          • undefined
            Inno 3D
            last edited by 7 Mar 2021, 16:44

            Yes before the ampere of the one external stepper driver was changed while the system was running. It was changed to 4 ampere.

            I changed the motor after I saw, that the motor was damaged and changed the ampere to 1.5.

            But after that none of the 4 Motors will drive again.

            Thanks
            Lars

            undefined 1 Reply Last reply 7 Mar 2021, 17:03 Reply Quote 0
            • undefined
              fcwilt @Inno 3D
              last edited by 7 Mar 2021, 17:03

              @Inno-3D said in Z-Motors don't drive powered by external stepper driver:

              Yes before the ampere of the one external stepper driver was changed while the system was running. It was changed to 4 ampere.

              I changed the motor after I saw, that the motor was damaged and changed the ampere to 1.5.

              But after that none of the 4 Motors will drive again.

              Thanks
              Lars

              On my external driver I have to set the active state of the Enable input to match the active state of the Enable output from the Duet.

              Perhaps that setting in your driver has changed?

              Frederick

              Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

              undefined 1 Reply Last reply 8 Mar 2021, 18:34 Reply Quote 0
              • undefined
                Inno 3D @fcwilt
                last edited by 8 Mar 2021, 18:34

                I haven't this setting. I can only change the ampere and the microstepping.

                Thanks
                Lars

                undefined 1 Reply Last reply 8 Mar 2021, 18:39 Reply Quote 0
                • undefined
                  fcwilt @Inno 3D
                  last edited by 8 Mar 2021, 18:39

                  @Inno-3D said in Z-Motors don't drive powered by external stepper driver:

                  I haven't this setting. I can only change the ampere and the microstepping.

                  Thanks
                  Lars

                  So you are not using the enable inputs on the driver?

                  Frederick

                  Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    Inno 3D
                    last edited by Inno 3D 16 Mar 2021, 19:40

                    I'm sorry that I haven't answered.

                    Of course I'm using the enable inputs. That was my fault. Can I check there, if they work?

                    Lars

                    undefined 1 Reply Last reply 16 Mar 2021, 20:08 Reply Quote 0
                    • undefined
                      fcwilt @Inno 3D
                      last edited by 16 Mar 2021, 20:08

                      @Inno-3D said in Z-Motors don't drive powered by external stepper driver:

                      I'm sorry that I haven't answered.

                      Of course I'm using the enable inputs. That was my fault. Can I check there, if they work?

                      Lars

                      The examples given in the driver docs show connecting the controller (the Duet) to the driver via Open Collector outputs and Open Emitter outputs.

                      The docs also mention a logic high as being 4 to 5 volts.

                      The Duet breakout board provides 3.6 volt differential signals.

                      If the driver docs are accurate the 3.6 volt signals from the breakout board are not going to provide the needed voltage for a driver logic one.

                      How do you have the drivers wired to the breakout board?

                      Frederick

                      Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        peterartechno
                        last edited by 17 Mar 2021, 15:32

                        @Inno-3D

                        I use Leadshine D808 stepper drivers and I had a problem of the pulselength of my signals. They required to be a minimum of 5.0 us. Right now you have M569 P* T2.5:2.5:5:5, you could try that. It also recommends that in the manual of your stepper driver: https://www.damencnc.com/userdata/file/1750-1_DM556_datasheet.pdf

                        When using external stepper drivers, the M305 does not do anything since you use the dipswitches on your driver.

                        what is your wiring setup, do you have power-sourcing or sinking? I have all my + pins (EN+, DIR+, PUL+) powered on 5V, where I use the - pins for pulses.

                        Did you check the fuses on your board?

                        I would really like to see a picture of your printer if possible! I have one of X900 Y1400 Z400 and thought that was already massive!

                        I also use the expansion breakout board and that gives me 3.3V but using the 5V setup as previously explained, I can change the difference in voltage which makes a switch.

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