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

    Duex5 Extruders not working

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    duex5
    3
    8
    828
    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.
    • Travis Hainsworthundefined
      Travis Hainsworth
      last edited by

      I have a duex5 attached to a Duet Wifi with firmware 2.00 and cannot get the stepper motors of the extruders to work. Currently the paneldue displays the thermistor readings appropriately for thermistor 1 and 2 of the Duex5, which leads me to believe that the Duex5 is wired correctly. To control the motors I try the following code:

      From config:
      M569 P5 S1 ; Drive 5 (includes x,y, and z motors) in reverse

      M305 P3 T100000 B4138 C0 R4700 ; Set heater values (naming does not include x, y, and z motors but does include the bed)
      M143 H3 S280 ; Set temperature limit (again excluding x, y, and z but including the bed)

      M563 P2 D2 H3 ; Define tool 2
      G10 P2 X0 Y0 Z0 ; Set tool 2 axis offsets
      G10 P2 R0 S0 ; Set initial tool 2 active and standby temperatures to 0C

      M302 P1; Allow cold extrudes

      In a terminal:
      T2
      G1 E20

      I don't have access to the web interface, but when running these commands from a terminal hooked up through USB I get an "ok" response. I have also verified that I have the stepper pairs wired appropriately and have verified that the stepper works by plugging it into the Duet and following the same code input but for Tool 1. Does anyone have any suggestions on where I might be going wrong? Thank you in advance for your time!

      deckingmanundefined 1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by

        Do you have VIN power connected to the DueX5, via its VIN connector? With just the ribbon cable connected, the thermistors will work but not the heaterts, motors or fans.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • deckingmanundefined
          deckingman @Travis Hainsworth
          last edited by

          @travis-hainsworth It sounds like you haven't mapped the drives to the extruders with M584. It will probably be easier to help if you can post your entire config.g, along with an explanation of which motors are connect to which drives on both the Duet and Duex 5.

          Ian
          https://somei3deas.wordpress.com/
          https://www.youtube.com/@deckingman

          1 Reply Last reply Reply Quote 0
          • Travis Hainsworthundefined
            Travis Hainsworth
            last edited by Travis Hainsworth

            Thanks for the replies @dc42 and @deckingman! I have the duex5 powered with 24v from the power supply through the blocks labeled "12v-24v Input" from this overview page. @deckingman you are correct, I have not utilized M584. Why is M584 necessary for using the Duex5 but not necessary for the Duet, and where in config should it go (before M569, before M563, or after M563)? Thanks again for your help!

            Here is my entire config.g file:

            ; Configuration file for Duet WiFi (firmware version 1.20 or newer)
            ; executed by the firmware on start-up
            ;
            ; generated by RepRapFirmware Configuration Tool on Mon Jul 02 2018 13:33:01 GMT-0600 (Mountain Daylight Time)

            ; General preferences
            G90 ; Send absolute coordinates...
            M83 ; ...but relative extruder moves

            ; Network
            M550 PMy printer ; Set machine name
            M540 PDE:AD:BE:EF:CA:FE ; MAC address
            ;M587 S"UCB Wireless" P"" ; Configure access point. You can delete this line once connected
            M552 S1 ; Enable network
            M586 P0 S1 ; Enable HTTP
            M586 P1 S0 ; Disable FTP
            M586 P2 S0 ; Disable Telnet

            ; Drives
            M569 P0 S1 ; Drive 0 goes forwards - X
            M569 P1 S1 ; Drive 1 goes forwards - Y
            M569 P2 S0 ; Drive 2 goes backwards - Z
            M569 P3 S1 ; Drive 3 goes forwards E1
            M569 P4 S1 ; Drive 4 in reverse - E2
            M569 P5 S1 ; Drive 5 in reverse - R2
            M569 P6 S1

            M350 X16 Y16 Z16 E16:16:16:16:16:16:16 ; Configure microstepping with interpolation
            M92 X80.35 Y79.84 Z1591 E420:84:420:420:420:420:420 ; Set steps per mm
            M566 X900 Y900 Z12 E120:120:120:120:120:120:120 ; Set maximum instantaneous speed changes (mm/min)
            M203 X6000 Y6000 Z180 E1200:1200:1200:1200:1200:1200:1200 ; Set maximum speeds (mm/min)
            M201 X1000 Y500 Z500 E250:250:250:250:250:250:250 ; Set accelerations (mm/s^2)
            M906 X800 Y800 Z800 E800:2000:800:800:800:800:800 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 X370 Y250 Z300 S0 ; Set axis maxima

            ; Endstops
            M574 X1 S0 ; Set active low endstops
            M574 Y1 S0

            ; Z-Probe
            M574 Z1 S3 ; Set endstops controlled by probe
            M307 H7 A-1 C-1 D-1 ; Disable heater on PWM channel for BLTouch
            M558 P9 H5 F120 T6000 ; Set Z probe type to bltouch and the dive height + speeds
            G31 P25 X48 Y15 Z1 ; Set Z probe trigger value, offset and trigger height
            M557 X15:355 Y15:235 S20 ; Define mesh grid

            ; Heaters
            M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
            M143 H0 S120 ; Set temperature limit for heater 0 to 120C
            M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
            M143 H1 S280 ; Set temperature limit for heater 1 to 280C
            M305 P2 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 2
            M143 H2 S280 ; Set temperature limit for heater 2 to 280C
            M305 P3 T100000 B4138 C0 R4700 ;
            M143 H3 S280 ;
            M305 P4 T100000 B4138 C0 R4700 ;
            M143 H4 S280 ;

            ; Fans
            M106 P0 S0.3 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
            M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
            M106 P2 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on

            ; Tools
            M563 P0 D0 H1 ; Define tool 0 (E1)
            G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
            G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C

            M563 P1 D1 H2 ; Define tool 1 (E2)
            G10 P1 X-31.5 Y14.2 Z0 ; Set tool 1 axis offsets
            G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C

            M563 P2 D2 H3 ; Define tool 2 (R2)
            G10 P2 X0 Y0 Z0 ; Set tool 1 axis offsets
            G10 P2 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C

            M563 P3 D3 H4 ; Define tool 3 (R3)
            G10 P3 X0 Y0 Z0 ; Set tool 1 axis offsets
            G10 P3 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C

            M302 P1 ; Allows cold extrudes

            ; Automatic saving after power loss is not enabled

            ; Custom settings are not configured

            EDIT: To fully answer your question @deckingman drive 0 controls the x-axis, drive 1 controls the y-axis, drive 2 controls the z-axis, drive 3 controls the first extruder, drive 4 controls the second extruder, and drive 5 is connected to a stepper motor which raises and lowers the second extruder and is the only one connected to the duex5. I have activated multiple drivers on the duex5 and plugged this stepper into them to ensure that the stepper driver on drive 5 is not faulty. Thanks again for your feedback!

            1 Reply Last reply Reply Quote 0
            • dc42undefined
              dc42 administrators
              last edited by

              Check that the firmware knows that the DueX is present, by sending M115 and looking at the returned electronics description.

              Duet WiFi hardware designer and firmware engineer
              Please do not ask me for Duet support via PM or email, use the forum
              http://www.escher3d.com, https://miscsolutions.wordpress.com

              1 Reply Last reply Reply Quote 0
              • Travis Hainsworthundefined
                Travis Hainsworth
                last edited by

                The Duex5 is not being recognized. I have:

                WiFi/Ethernet FIRMWARE_VERSION: 2.0(RTOS)
                ELECTRONICS: Duet WiFi 1.02 or later
                FIRMWARE_DATE: 2018-06-05b3

                1 Reply Last reply Reply Quote 0
                • dc42undefined
                  dc42 administrators
                  last edited by

                  It looks like either the ribbon cable is not connected, or the ribbon cable is faulty, or the DueX is faulty (it's possible but unlikely that the Duet is faulty). If you are sure that the ribbon cable is connected correctly, and you are using the ribbon cable that was supplied with the DueX, please ask your supplier to replace the DueX and the cable.

                  Duet WiFi hardware designer and firmware engineer
                  Please do not ask me for Duet support via PM or email, use the forum
                  http://www.escher3d.com, https://miscsolutions.wordpress.com

                  1 Reply Last reply Reply Quote 0
                  • Travis Hainsworthundefined
                    Travis Hainsworth
                    last edited by

                    Thank you @dc42. I will contact duet3d and try to get a replacement.

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