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

    3rd extruder issues

    Scheduled Pinned Locked Moved
    General Discussion
    3
    7
    441
    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.
    • bkbreymeundefined
      bkbreyme
      last edited by bkbreyme

      I have the Duet Wifi and a DUEX5 board. I am attempting to configure 3 extruders. At the moment, I only have one heater connected, as I am trying to get the extruders working correctly. i will work on the heaters after I have the extruders working. As such, I have set all extruders to use heater 0. I also have not set my offsets yet, as they have yet to be determined.

      I have a Cartesian printer, with dual independent Z axes, connected to the Z and E0 connectors on the Duet Wifi. I am using E1, E2, and E3 for the extruders, numbered Tool 0, Tool 1, and Tool 2

      The issue I am running into is as follows: Tools 0 and 1 work perfectly. Tool 2 will not turn. It just vibrates back and forth.

      I have verified my wiring, repeatedly. If I remap E3 on the DUEX5 to Tool 0 or Tool 1 in the firmware, making no wiring changes, the motor connected to E3 on the Duex5 works perfectly. If I remap E1 (on the Duet Wifi) or E2 (On the DUEX5) to be Tool 2, the problem moves to that connector.

      This suggests to me that I am missing something in the configuration, but I am unable to determine what it is. Knowing me, it is probably something simple that I have overlooked.

      This is my config.g file, minus the network section:

      G90 ; Send absolute coordinates...
      M83 ; ...but relative extruder moves
      M555 P2 ; Set firmware compatibility to look like Marlin

      [Network Section removed]

      ; Drives
      M584 X0 Y1 Z2:3 ; Set drives 2 and 3 (normally Z and extruder 0) to Z axis L and R. Extruders 0-2 are on connectors 4, 5, 6
      M671 X-55:130 Y235:130 S0.5 ; Z leadscrews are at (-55,130) and (235,130)
      M569 P0 S0 ; Drive 0 goes backwards
      M569 P1 S0 ; Drive 1 goes backwards
      M569 P2 S1 ; Drive 2 goes forwards
      M569 P3 S1 ; Drive 3 goes Forwards
      M569 P4 S1 ; Drive 4 goes Forwards
      M569 P5 S1 ; Drive 5 goes Forwards
      M569 P6 S1 ; Drive 6 goes Forwards
      M569 P7 S1 ; Drive 7 goes Forwards
      M350 X32 Y32 Z32:32 E32:32:32 I0 ; Configure microstepping without interpolation
      M92 X160 Y160 Z3200:3200 E847:847:847 ; Set steps per mm
      M566 X900 Y900 Z900:900 E3000:3000:3000 ; Set maximum instantaneous speed changes (mm/min)
      M203 X18000 Y18000 Z420:420 E3000:3000:3000 ; Set maximum speeds (mm/min)
      M201 X1000 Y1000 Z1500:1500 E2000:2000:2000 ; Set accelerations (mm/s^2)
      M906 X1000 Y1000 Z1000:1000 E1000:1000:1000 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 X200 Y260 Z200 S0 ; Set axis maxima

      ; Endstops
      M574 X1 Y1 S0 ; Set active low x, low y endstops

      ; Filament sensors
      ;M591 D0 P5 C3 R40:120 E3.0 ; Duet3D laser sensor for extruder drive 0 is connected to endstop input 3 (E0),
      ; tolerance 40 to 120%, 3mm comparison length
      ;M591 D0 ; display filament sensor parameters for extruder drive 0

      ; Z-Probe
      ;M574 Z1 S2 ; Set endstops controlled by probe
      M307 H7 A-1 C-1 D-1 ; Disable heater on PWM channel for BLTouch
      M558 P9 H10 F120 T6000 ; Set Z probe type to bltouch and the dive height + speeds
      G31 P25 X0 Y20 Z0.8 ; Set Z probe trigger value, offset and trigger height
      M557 X15:185 Y25:240 S20 ; Define mesh grid

      ; Heaters
      M307 H0 B0 S1.00 ; Disable bang-bang mode for the bed heater and set PWM limit
      M305 P0 B4725 C7.060000e-8 ; Set thermistor + ADC parameters for heater 0 (E3D Cartridge)
      ;M305 P0 T100000 B3435 C0 R4700 ; Set thermistor + ADC parameters for heater 0 (Screw thermistor)
      M143 H0 S120 ; Set temperature limit for heater 0 to 120C
      M305 P1 B4725 C7.060000e-8 ; Set thermistor + ADC parameters for heater 1 (E3D Cartridge)
      ;M305 P1 T100000 B4066 C0 R4700 ; Set thermistor + ADC parameters for heater 1 (Screw thermistor)
      M143 H1 S280 ; Set temperature limit for heater 1 to 280C

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

      M106 P4 S1 I0 F500 H-1 ; Set fan 4 value, PWM signal inversion and frequency. Thermostatic control is turned off
      M106 P5 S1 I0 F500 H-1 ; Set fan 5 value, PWM signal inversion and frequency. Thermostatic control is turned off
      M106 P6 S1 I0 F500 H-1 ; Set fan 6 value, PWM signal inversion and frequency. Thermostatic control is turned off
      M106 P7 S1 I0 F500 H-1 ; Set fan 7 value, PWM signal inversion and frequency. Thermostatic control is turned off
      M106 P8 T45 H1 ; Set fan value, thermostatic control is turned on, activating at 45C

      ; Tools
      M563 P0 D1 H1 F4 ; Define tool 0. Start with Extruder 1, as E0 is the right Z motor
      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 D2 H1 F4 ; Define tool 1
      G10 P1 X0 Y0 Z0 ; Set tool 1 axis offsets
      G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C
      M563 P2 D3 H1 F4 ; 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

      ; Automatic saving after power loss is not enabled

      ; Custom settings are not configured

      ; Miscellaneous
      T0 ; Select first tool

      deckingmanundefined 1 Reply Last reply Reply Quote 0
      • Scachiundefined
        Scachi
        last edited by

        I would try to set the M584 command to include the extruder drives too like mentioned in the example.
        This is just the example from the page, you need to adjust it to match your connections:
        https://duet3d.dozuki.com/Wiki/Gcode#Section_M584_Set_drive_mapping

        Example:
        M584 X0 Y1 Z2:3 E4:5:6 ; Driver 0 controls the X motor, 1 controls Y, 2 and 3 control Z motors, 4 5 and 6 control E motors

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

          @bkbreyme A couple of things.

          Firstly, remapping drives does not remove their old assignments so it's best to explicitly map the extruders as well as the axes motors. Therefore instead of M584 X0 Y1 Z2:3 ; use M584 X0 Y1 Z2:3 E4:5:6:7:8:9 ; Strictly speaking, if you aren't using drivers 8 and 9 you could leave those out of the M584 but it keeps things tidy.

          Secondly, in your tool definitions, the "D" parameter refers to extruder drive which is not the physical drive. Also the numbering starts with 0 not 1. So the first extruder drive will be D0 which, when you map it as shown above will be driver number 4. The first tool which is P0 should use D0, not D1. So instead of M563 P0 D1 H1 F4; use M563 P0 D0 H1 F4. And likewsie for the other tools. i.e use M563 P1 D1 H1 F4 and M563 P2 D2 H1 F4

          Edit. I was typing as you were so I missed your comment about M584, but yes you should.

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

          bkbreymeundefined 1 Reply Last reply Reply Quote 0
          • bkbreymeundefined
            bkbreyme @deckingman
            last edited by

            @deckingman said in 3rd extruder issues:

            E4:5:6:7:8:9

            That worked. I know I was overlooking something simple, in this case, the "D" parameter being logical and not physical. Thank you

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

              @bkbreyme said in 3rd extruder issues:

              @deckingman said in 3rd extruder issues:

              E4:5:6:7:8:9

              That worked. I know I was overlooking something simple, in this case, the "D" parameter being logical and not physical. Thank you

              Glad your are sorted now. BTW, the drive number thing has caught me out on two occasions which took me a while to realise my error. Wait until you try a five extruder mixing hot end ................

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

              bkbreymeundefined 1 Reply Last reply Reply Quote 0
              • bkbreymeundefined
                bkbreyme @deckingman
                last edited by

                Now that I know what to expect, I would not be caught by this. That does not mean I won't run into something else...

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

                  @bkbreyme said in 3rd extruder issues:

                  Now that I know what to expect, I would not be caught by this.

                  That's what I thought the first time. But I made the same mistake a couple of years later which had me scratching my head for half an hour or so.🙂

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

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