How to configure filament and everythig file you me needed



  • Hi there. My printer is self-made and I am currently in the process of setting up. I installed a double extruder with one hot end. I think the necessary adjustments in the Filament section are missing. What should there be.



  • @agz90 My understanding is that the filaments section of DWC are only valid if you have exactly one extruder per tool. So with a 2 in 1 out mixing hot end, just ignore it.



  • Thanks, but I have 2 extruders and 1 hot end of Lerdge 2in1 V.2 and I want to change the threads when printing.


  • Moderator

    See here for how to use the tfree, tpre and tpost macros to control tool changing: https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCartesianPrinter#Section_Tool_change_files

    You'll need to set up your slicer to be able to change tools, by sending T0 and T1 commands.

    Ian



  • @agz90 said in How to configure filament and everythig file you me needed:

    Lerdge 2in1 V.2

    I'm not familiar with that particular hot end but it looks like it's a simple 2 input mixing hot end. In which case, the usual way to deal with that is to define two tools like so.
    M563 P0 S"Filament 1" D0:1 H1
    M563 P1 S"Filament 2" D0:1 H1

    This will create 2 tools, each of which uses both extruders but the same heater. I've used names "Filament 1" and "Filament 2" but you can use whatever names you like. Then you set up mixing ratios like so.

    M567 P0 E1.00:0.00 ; Set mixing ratios for tool 0
    M567 P0 E0.00:1.00 ; Set mixing ratios for tool 1

    To load or unload filament, you can make either tool active but select the appropriate drive button on the web interface.

    You can also define further tools to give a combination of filaments. e.g.
    M563 P2 S"Combined" D0:1 H1
    M567 P2 E0.50:0.50 ; Set mixing ratios for tool 2

    This will create a 3rd tool which uses 50% of each filament.

    If you do it this way, there is no need to use tool change macros when printing (although you might want to do a small purge) because all filaments are loaded at all times. To switch between them, you simply use a "Tn" command.

    You'll need to use firmware retraction because both filaments will need to be retracted at the same time, regardless of which one is moving forward. You set that up using M207 then configure your slicer to use firmware retraction and it will insert G10 and G11 commands in the appropriate places i the gcode file.



  • Thanks droftarts my configuration file is:
    ; tfree0.g
    ; called when tool 0 is freed

    M83 ; relative extruder movement
    G1 E-45 F3600 ; retract 55mm
    M106 S0 ; turn off our print cooling fan
    G91 ; relative axis movement
    G1 Z5 F500 ; up 5mm
    G90 ; absolute axis movement
    G1 S2 X10 F6000 ; park the X carriage at 10mm

    ; tfree1.g
    ; called when tool 1 is freed

    M83 ; relative extruder movement
    G1 E-45 F3600 ; retract 55mm
    M106 S0 ; turn off our print cooling fan
    G91 ; relative axis movement
    G1 Z5 F500 ; up 5mm
    G90 ; absolute axis movement
    G1 S2 X10 F6000 ; park the X carriage at 10mm

    ; tpost0.g
    ; called after tool 0 has been selected

    M106 R2 ; restore print cooling fan speed
    M116 P0 ; wait for tool 0 heaters to reach operating temperature
    M83 ; relative extruder movement
    G1 E45 F3600 ; extrude 45mm

    ; tpost1.g
    ; called after tool 1 has been selected

    M106 R2 ; restore print cooling fan speed
    M116 P1 ; wait for tool 1 heaters to reach operating temperature
    M83 ; relative extruder movement
    G1 E45 F3600 ; extrude 45mm

    ; tpre0.g
    ; called before tool 0 is selected

    ; tpre1.g
    ; called before tool 1 is selected

    when I select Tool 1, it loads the filament but then does not extrude where I may be wrong.
    Sorry I'm new to this endeavor, but it's interesting and I want to get ahead.
    Thanks in advance.



  • Dear deckingman my configuration of tools in config.g is:

    ; Tools
    M563 P0 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
    M568 P0 S1 ; Enable mixing for tool 0
    M567 P0 E1:0 ; Set mixing ratios for tool 0 (100%,0%)
    M563 P1 D1 H1 F0 ; 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
    M568 P1 S1 ; Enable mixing for tool 1
    M567 P1 E0:1 ; Set mixing ratios for tool 1 (0%,100%)

    but problem is that the filaments could not be simultaneously fed, one of them had to be pulled out about 45 mm and then the other was loaded. They go into a cone tube and then into the nozzle.



  • @agz90 In that case it's not a mixing hot end so you can only use one or other of the filaments. Your tool definitions are OK because they only use one extruder but you can't use mixing because M567 P0 E1:0 refers to two extruders. So you need to remove all the M567 and M568 commands.



  • Thanks deckingman, I understand, but how to drive a 2 extruder by loading the thread, I do not understand why it does not extrude, where it may go wrong.



  • @agz90 I don't use the tool change macros so I can only guess. But my guess would be that tpost is used after a tool is finished with. So maybe you need to put both the retract and extrude commands in tpre. So tpre0 would retract extruder 1 by 45mm, wait for that move to finish (use M400 to be sure), then extrude 45mm using extruder 0. Then tpre1 would retract 45mm using extruder 0, wait for that move to finish, then extrude 45mm using extruder 1.



  • Thank you, thank you very much for telling me how to write it, in the above posts I wrote what my files contain.


Log in to reply