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

    DuetWiFiFirmware minor release 1.15c

    Scheduled Pinned Locked Moved
    Firmware installation
    11
    79
    12.2k
    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.
    • deckingmanundefined
      deckingman
      last edited by

      @guywinslow

      Hi. There are a couple of things I don't understand in your config.g. You've set axis directions (M569) for E0 and E1 therefore I'm assuming from that, that you have 2 extruders. Is that correct? Earlier on you've set the motor currents (M906) for 5 extruders but that won't matter if you are only using 2 of them. Later on you've set steps per mm (M92) for X,Y,Z and E, indicating that you only have one extruder. If you have 2 then you would normally have something like E420:420 instead of just E420. I'm not sure how the firmware would react if you only define steps/mm for one extruder but try to use two.

      Then you have defined 5 tools, each with their own extruder (D0 to D4) but sharing the same heater indicating that in fact you do have 5 extruders, in which case you ought to set steps/mm for all 5. Then for each of the 5 tools, you have an X offset of 20 which means that the nozzles are all 20mm off set in X but the Y and Z offsets are all the same. This would mean that you would have a single nozzle with 5 filament inputs but in that case, you wouldn't need to have an X offset. For tool definitions where there are multiple nozzles, usually one tool would have zero offsets and the others would be offset from that tool.

      Can you let us know how many extruders and how many hot ends (nozzles) you have and if the hot ends share the same heater? If you have multiple nozzles, what are the physical distances between them?

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

      1 Reply Last reply Reply Quote 0
      • guywinslowundefined
        guywinslow
        last edited by

        Sorry, this was original a copy from the old Duet. Specs:

        Extrudes: 2
        Hot ends: 1

        I indeed fead different Filaments into one hotend (2 feeds). the Tool head offset is do to the fact my x carage was supposed to use two hotends, but i only have on. and its easier to work on in the position its in.

        hear is a Cleaned up version, i will run a test print using:
        ; Configuration file for RepRap Ormerod
        ; RepRapPro Ltd
        ;
        M111 S0 ; Debug on
        M550 PTricolour Mendel WIFI
        M551 Pgdww1620
        M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xEA ; Set the MAC address
        M552 S1 ; Enable WiFi

        M555 P2 ; Set output to look like Marlin
        M906 X800 Y1000 Z800 E800:800 ; Motor currents (mA)

        M305 P0 R4700 T10000 B3988 ; set bed thermistor parameters
        M307 H0 A128.4 C424.4 D2.4 B0
        M307 H1 A762.7 C99.7 D5.5 B0

        M574 X0 S1 ; Set endstop configuration
        M574 Y2 S0 ; Set endstop configuration
        M574 Z0 S1 ; Set endstop configuration

        M569 P0 S0 ; Set X Axis Direction
        M569 P1 S1 ; Set Y Axis Direction
        M569 P2 S0 ; Set Z Axis Direction
        M569 P3 S0 ; Set E0 Axis Direction
        M569 P4 S0 ; Set E1 Axis Direction

        M558 P1 X1 Y0 Z1 ; Set Z probe type
        G21 ; Work in mm
        M92 X100.25 Y100.25 Z4001.50 E420.00:420.00 ; Set axis steps per unit
        M570 S180 ; Set heater timeout
        ;
        M563 P0 D0 H1 ; Create tool 0 = Color 1
        M563 P1 D1 H1 ; Create tool 1 = Color 2
        M563 P2 D2 H1 ; Create tool 2 = Color 3
        M563 P3 D3 H1 ; Create tool 3 = Color 4
        M563 P4 D4 H1 ; Create tool 4 = Temperature for this tool should be Set Low
        G10 P0 X20.0 Y0.0 Z0.0 S0 R0 ; Set tool 0 operating and standby temperatures
        G10 P1 X20.0 Y0.0 Z0.0 S0 R0 ; Set tool 1 operating and standby temperatures
        G10 P2 X20.0 Y0.0 Z0.0 S0 R0 ; Set tool 2 operating and standby temperatures
        G31 P500 Z0.65 ; Set the probe height and threshold PLA = 0.65, ABS = 0.75
        T4
        ;
        M201 X800 Y800 Z15 E1000:1000 ; acceleration tweaks for improved finish
        M203 X15000 Y15000 Z150 E3600:3600 ; speed tweaks for improved finish
        ;
        M208 X200 Y200 Z120 ; set axis max travel
        M208 X0.0 Y0.0 Z0.0 S1 ; set axis minimum (adjust to make X=0 the edge of the bed)

        1 Reply Last reply Reply Quote 0
        • guywinslowundefined
          guywinslow
          last edited by

          Just ran test print with the last config i posted. Still have the extra Extrusion when the extruder starts the next shell line. note i am just printing one layer with this test prints, and in this case i am just printing two complete lines around the part. the passing it to look at the print.

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

            I still don't understand you tool definitions. Tool0 (P0) is fine using the first extruder (D0) as is Tool1 (P1) which uses the second extruder (D1) but then you have a third tool (P2) using the third extruder (D2) which doesn't exist. It's the same for your fourth and fifth tools - the extruder doesn't exist. After that, you have a T4 command to select the 5th tool (T0 being he first) but there is physically no 5th extruder associated with it.

            Assuming that you hot end is capable of mixing, then you need to define the tools accordingly. Something like this

            M563 P0 D0:1 H1 ; Define tool 0 to use both extruders
            G10 P0 X20 Y0 ; Set tool 0 axis offsets
            G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C
            M568 P0 S1 ; Enable mixing for tool 0
            M567 P0 E1:0 ; Set mixing ratios for tool 0 to use 100% of the first extruder
            M563 P1 D0:1 H1 ; Define tool 1 to use both extruders
            G10 P1 X20 Y0 ; Set tool 1 axis offsets
            G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C
            M568 P1 S1 ; Enable mixing for tool 1
            M567 P1 E0:1 ; Set mixing ratios for tool 1 to use 100% of the second extruder
            M563 P2 D0:1 H1 ; Define tool 2
            G10 P2 X20 Y0 ; Set tool 2 axis offsets
            G10 P2 R0 S0 ; Set initial tool 2 active and standby temperatures to 0C
            M568 P2 S1 ; Enable mixing for tool 2
            M567 P2 E0.5:0.5 ; Set mixing ratios for tool 2 to use 50% of both extruders (or whatever mixing ratio you want)

            Then repeat the settings for P2 to define the other tools with different mixing ratios.

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

            1 Reply Last reply Reply Quote 0
            • guywinslowundefined
              guywinslow
              last edited by

              My hotend dos not a mixer. its a Standerd Quick-set hotend. dont have any interest in a Mixer.

              1 Reply Last reply Reply Quote 0
              • guywinslowundefined
                guywinslow
                last edited by

                Forgive me for being cureas, but how is this going to fix my issue with the motors being drive on when they are not supposed to be. I mean this gcode is that same as i used on the Old Duet. So should it not print the same or maybe beater? I can see issues with the Controller not doing well with bad configuration, but that is fixed right?

                So fixing the Config.g is a Good place to start. but non of the changes i have made, has solved this issue. Do you guys want me to run a File with a Specific gcode in it? For Debugging?

                I mean i can configure it into thinking its got a Mixing hotend, but I don't have a mixing hotend to test it with.

                1 Reply Last reply Reply Quote 0
                • guywinslowundefined
                  guywinslow
                  last edited by

                  Should i be configuring the Step mode on the Stepper motor drivers? if so what would be the equivalent to the default mode in the Duet?

                  1 Reply Last reply Reply Quote 0
                  • guywinslowundefined
                    guywinslow
                    last edited by

                    Sorry old Duet, Example: M909 X3 Y5 Z2 E3

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

                      Sorry, but I'm just trying to help. I just don't understand how your printer is configured. You said

                      Quote….......
                      Extrudes: 2
                      Hot ends: 1

                      I indeed fead different Filaments into one hotend (2 feeds).
                      ...........end of quote.

                      From that I assumed that it was a mixing hot end. Now you say that it's not. So I'm not sure what you mean. Do you have two extruders but only use them one at a time?

                      In your config.g you have tools defined to use 5 extruders, 3 of which which don't exist and you have a T4 command which selects one of these tools. I have no idea how the firmware would react to that but it is clearly something that needs correcting.

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

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

                        ReRap firmware doesn't use M909. Use M350 instead. I believe the default is 16x microstepping with interpolation.

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

                        1 Reply Last reply Reply Quote 0
                        • guywinslowundefined
                          guywinslow
                          last edited by

                          Correct, i use one extruder at a time. I have a Jig that feeds the filament from 4 extruders into one mounted in the middle of my boden tub

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

                            Now you are saying that you have 4 (or 5 ) extruders when previously you said 2. I have no idea how you can be driving them all when the Duet WiFi on it's own only supports 2 extruders. Sorry but I'm going to have to give up with this.

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

                            1 Reply Last reply Reply Quote 0
                            • T3P3Tonyundefined
                              T3P3Tony administrators
                              last edited by

                              Guy, how is the jig operated? Do you have 4 seperate extruder motors and 1 hotend or 1 extruder motor and the input is somehow switched?

                              www.duet3d.com

                              1 Reply Last reply Reply Quote 0
                              • guywinslowundefined
                                guywinslow
                                last edited by

                                4 separate extruder motors and 1 hotend. Its just a train track for the boden tubes. the jig is not connected to any electronics. just maniacal. no moving parts. Any one can print it

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

                                  @guywinslow:

                                  4 separate extruder motors and 1 hotend. Its just a train track for the boden tubes. the jig is not connected to any electronics. just maniacal. no moving parts. Any one can print it

                                  OK, but the Duet WiFi only has 2 extruder drive outputs, so how are you driving the other 2 extruder motors?

                                  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
                                  • guywinslowundefined
                                    guywinslow
                                    last edited by

                                    not right now, wating for the new expansive board

                                    1 Reply Last reply Reply Quote 0
                                    • guywinslowundefined
                                      guywinslow
                                      last edited by

                                      Sorry Expansion board

                                      1 Reply Last reply Reply Quote 0
                                      • guywinslowundefined
                                        guywinslow
                                        last edited by

                                        Got [dc42/RepRapFirmware] M572 Loosing steps in XY email, was able to reproduce on my printer, but it made my over extrusion on line changes worse. Hop info helps

                                        1 Reply Last reply Reply Quote 0
                                        • guywinslowundefined
                                          guywinslow
                                          last edited by

                                          OK, i put new E firmware in. and Still had the same problem. So i put this into the Config.g file:

                                          M572 D0 S0.00 ; Set extruder 0 pressure advance
                                          M572 D1 S0.00 ; Set extruder 1 pressure advance

                                          problem is not as bad. in fact just a little bit of Extrusion error now when the program moves to the beginning of the next line

                                          1 Reply Last reply Reply Quote 0
                                          • guywinslowundefined
                                            guywinslow
                                            last edited by

                                            Ok, got it to work, this is what i ended up with for a Configuration:

                                            ; Configuration file for RepRap Ormerod
                                            ; RepRapPro Ltd
                                            ;
                                            M111 S0 ; Debug on
                                            M550 PTricolour Mendel WIFI
                                            M551 Pgdww1620
                                            M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xEA ; Set the MAC address
                                            M552 S1 ; Enable WiFi

                                            M555 P2 ; Set output to look like Marlin
                                            M575 P1 B57600 S1 ; Comms parameters for PanelDue
                                            M906 X800 Y1000 Z800 E800:800 ; Motor currents (mA)

                                            M305 P0 R4700 T10000 B3988 ; set bed thermistor parameters
                                            M307 H0 A117.7 C395.8 D1.8 B0
                                            M307 H1 A759.1 C95.9 D5.8 B0

                                            M574 X0 S1 ; Set endstop configuration
                                            M574 Y2 S0 ; Set endstop configuration
                                            M574 Z0 S1 ; Set endstop configuration

                                            M569 P0 S0 ; Set X Axis Direction
                                            M569 P1 S1 ; Set Y Axis Direction
                                            M569 P2 S0 ; Set Z Axis Direction
                                            M569 P3 S0 ; Set E0 Axis Direction
                                            M569 P4 S0 ; Set E1 Axis Direction

                                            M558 P1 X1 Y0 Z1 ; Set Z probe type
                                            M92 X100.25 Y100.25 Z4001.50 E420.00:420.00 ; Set axis steps per unit
                                            M570 S180 ; Set heater timeout
                                            M667 S0 ; set Cartesian mode

                                            M350 X16 Y16 Z16 E16:16 I01 ; Set microstepping mode

                                            M563 P0 D0 H1 ; Create tool 0 = Color 1
                                            M563 P1 D1 H1 ; Create tool 1 = Color 2
                                            M563 P2 D2 H1 ; Create tool 2 = Color 3

                                            G10 P0 X20.0 Y0.0 Z0.0 S0 R0 ; Set tool 0 operating and standby temperatures
                                            G10 P1 X20.0 Y0.0 Z0.0 S0 R0 ; Set tool 1 operating and standby temperatures
                                            G10 P2 X20.0 Y0.0 Z0.0 S0 R0 ; Set tool 2 operating and standby temperatures

                                            M106 P2 T45 H1 ; Fan control, Thermostatic on Heater H1

                                            M572 D0 S0.00 ; Set extruder 0 pressure advance
                                            M572 D1 S0.00 ; Set extruder 1 pressure advance

                                            ;M566 X600 Y600 Z5 E10 ; Set allowable instantaneous speed change

                                            M201 X800 Y800 Z15 E1000:1000 ; acceleration tweaks for improved finish
                                            M203 X15000 Y15000 Z150 E3600:3600 ; speed tweaks for improved finish
                                            ;
                                            M208 X200 Y200 Z120 ; set axis max travel
                                            M208 X0.0 Y0.0 Z0.0 S1 ; set axis minimum (adjust to make X=0 the edge of the bed)

                                            G21 ; Work in millimetres
                                            G90 ; Send absolute coordinates…
                                            M83 ; relative extruder moves

                                            G31 P500 Z1.30 ; Set the probe height and threshold PLA = 0.65, ABS = 0.75
                                            T2
                                            M500 ;Store setting in EEPROM

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