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

    IDEX Toolchange Fan Control

    Scheduled Pinned Locked Moved
    General Discussion
    3
    10
    429
    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.
    • gringoundefined
      gringo
      last edited by

      Hello,
      I have a fan control problem on my IDEX Printer. In tfree0 and tfree1 I have add the command M106 S0 so that the Fans are switched off when the Tool is not used.
      In tpost0 and tpost1 there is M106 R2 to switch the Fan on again when the Tool is active.
      If the respective Tool is active, the Fan do not switch on.
      In Simplify3D I have set the Fans should run from the 3rd Layer.
      Why don't the fans Start?

      Thanks for your help

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

        Please post your config.g file. Which firmware version are you using?

        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
        • gringoundefined
          gringo
          last edited by gringo

          I‘m using 3.1.1
          Thais my config.g :

          ; General preferences
          G90 ; send absolute coordinates...
          M83 ; ...but relative extruder moves
          M550 P"Der Duale" ; set printer name

          ;-------------------------------- Network ----------------------------------------------------------
          M552 S1 ; enable network
          M586 P0 S1 ; enable HTTP
          M586 P1 S0 ; disable FTP
          M586 P2 S0 ; disable Telnet

          ;--------------------------------- Display PanelDue 7i ----------------------------------------------

          M575 P1 S1 B57600

          ;----------------------------------------- Drives ----------------------------------------------------
          M569 P0 S1 ; physical drive 0 goes backwards x
          M569 P1 S0 ; physical drive 1 goes backwards y
          M569 P3 S1 ; physical drive 3 goes forwards u
          M569 P2 S1 ; physical drive 2 goes forwards z links
          M569 P9 S0 ; physical drive 9 goes forwards z hinten rechts
          M569 P4 S1 ; physical drive 4 goes forwards z rechts
          M569 P5 S1 ; physical drive 5 goes backwards extruder links
          M569 P6 S1 ; physical drive 6 goes forwards extruder rechts

          M584 X0 Y1 Z2:9:4 U3 E5:6 ; set drive mapping
          M671 X-132:148:428 Y-25:385:-55 S5 ; Positionen der Trapezgewindespindel für das Bed Leveling
          M350 X16 U16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation
          M92 X80.00 U80.0 Y80.00 Z2133.33 E415.00:415.00 ; set steps per mm
          M566 X900.00 U900.00 Y900.00 Z12.00 E600.00:600.00 ; set maximum instantaneous speed changes (mm/min)
          M203 X12000.00 U12000.00 Y12000.00 Z600.00 E36000.00:36000.00 ; set maximum speeds (mm/min)
          M201 X1000.00 U1000.00 Y1000.00 Z250.00 E800.00:800.00 ; set accelerations (mm/s^2)
          M906 X1000 U1000 Y1000 Z1000 E800:800 I30 ; set motor currents (mA) and motor idle factor in per cent
          M84 S120 ; Set idle timeout

          ;------------------------------------------------- Axis Limits -------------------------------------------------
          ;M208 X-88 U0 Y-40 Z0 S1 ; set axis minima
          ;M208 X278 U368 Y295 Z280 S0 ; set axis maxima
          M208 X-88: 290 U0: 380 Y-25: 325 Z0: 270

          ;------------------------------------------------- Endstops -------------------------------------------------------
          M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop
          M574 U2 S1 P"e0stop" ; configure active-high endstop for low end on U via pin e0stop
          M574 Y2 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop
          ;M574 Z2:4 S1 P"zstop + e1stop" ; configure active-high endstop for low end on 2 Z Motoren via pin zstop + e1stop
          M574 Z0 S2 ; Z-Home mit Sonde

          ;-------------------------------------------------- Z-Probe --------------------------------------------------------------
          M558 P5 C"zprobe.in" H5 F150 T10000 ; disable Z probe but set dive height, probe speed and travel speed
          G31 P500 X0 Y25 Z0.8404
          M557 X0:280 Y20:290 S20 ; define mesh grid

          ;-------------------------------------------------- Heaters -----------------------------------------------------------------
          M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; 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 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
          M307 H0 A214.2 C887.4 D1.5 S1.00 V24.0 B0 ; PID Tuning
          M140 H0 ; map heated bed to heater 0
          M143 H0 S120 ; set temperature limit for heater 0 to 120C
          M308 S1 P"duex.e2temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp
          M950 H1 C"duex.e2heat" 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
          M307 H1 A606.0 C166.7 D3.6 S1.00 V24.1 B0 ; PID Tuning
          M308 S2 P"duex.e3temp" Y"thermistor" T100000 B4138 ; configure sensor 2 as thermistor on pin e1temp
          M950 H2 C"duex.e3heat" T2 ; create nozzle heater output on e1heat and map it to sensor 2
          ;M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
          M307 H2 A581.7 C168.9 D3.2 S1.00 V24.1 B0 ; PID Tuning

          ;---------------------------------------------------- Fans -------------------------------------------------------------------
          M950 F0 C"duex.fan4" Q500 ; create fan 0 on pin duex.fan3 and set its frequency
          M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
          M950 F1 C"duex.fan3" Q500 ; create fan 1 on pin duex.fan4 and set its frequency
          M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on
          M950 F2 C"duex.fan5" Q500 ; create fan 2 on pin duex.fan5 and set its frequency
          M106 P2 S0 H-1 ; set fan 2 value. Thermostatic control is turned off
          M950 F3 C"duex.fan6" Q500 ; create fan 3 on pin duex.fan6 and set its frequency
          M106 P3 S1 H2 T45 ; set fan 3 value. Thermostatic control is turned on

          ;----------------------------------------------------- Tools ---------------------------------------------------------------
          M563 P0 S"Tool 1 links" 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
          M563 P1 S"Tool 2 rechts" D1 H2 X3 F2 ; define tool 1
          G10 P1 U0 Y0.05 Z0 ; set tool 1 axis offsets
          G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C

          ; Custom settings are not defined

          1 Reply Last reply Reply Quote 0
          • gringoundefined
            gringo
            last edited by

            Any Idea?

            1 Reply Last reply Reply Quote 0
            • Phaedruxundefined
              Phaedrux Moderator
              last edited by

              Can you include your tool change files and a sample sliced gcode file?

              Z-Bot CoreXY Build | Thingiverse Profile

              1 Reply Last reply Reply Quote 0
              • gringoundefined
                gringo
                last edited by

                Here is the gode:
                Würfel ohne Toolchange Script.gcode

                tfree0:
                M83 ; relative Extruderbewegung
                G1 E-1.4 F3600 ; 2mm einfahren
                M106 S0 ; Schalten Sie den Drucklüfter aus P0
                G91 ; relative Achsbewegung
                ;G1 Z3 F500; bis 3mm
                G90 ; absolute Achsbewegung
                G1 Y-25 F12000 ; Y uf -25mm fahren
                G1 X-88 Y-25 F12000 ; Parken Sie den X-Wagen bei -88 mm

                tfree1:
                M83 ; relative Extruderbewegung
                G1 E-1.4 F3600 ; 2mm einfahren
                M106 S0 ; Schalten Sie unseren Drucklüfter aus P2
                G91 ; relative Achsbewegung
                ;G1 Z3 F500; bis 3mm
                G90 ; absolute Achsbewegung
                G1 Y-25 F12000 ; Y uf -25mm fahren
                G1 U371 F12000 ; Parken Sie den U-Wagen bei + 371 mm

                tpost0:
                M106 R2 ; Stellen Sie die Geschwindigkeit des Drucklüfters wieder her Lüfter P0
                M116 P0 ; Warten Sie, bis die Heizungen des Werkzeugs 0 die Betriebstemperatur erreicht haben
                M83 ; relative Extruderbewegung
                ;G1 E2 F3600 ; 2mm extrudieren
                G92 E0 ; zero the extruded distance
                G1 E15 F1000 ; prime the new extruder
                G1 F200 E15
                G92 E0
                G1 F5000 E-1

                G1 F20000 X-75
                G1 F20000 X-48
                G1 F20000 X-75
                G1 F20000 X-48
                G1 F20000 X-75
                G1 F20000 X-48

                tpost1:
                M106 R2 ; Stellen Sie die Geschwindigkeit des Drucklüfters wieder her Lüfter P2
                M116 P1 ; Warten Sie, bis die Heizungen des Werkzeugs 1 die Betriebstemperatur erreicht haben
                M83 ; relative Extruderbewegung
                ;G1 E2 F3600 ; 2mm extrudieren
                G92 E0 ; zero the extruded distance
                G1 E15 F1000 ; prime the new extruder
                G1 F200 E15
                G92 E0
                G1 F5000 E-1

                G1 F20000 X357
                G1 F20000 X328
                G1 F20000 X357
                G1 F20000 X328
                G1 F20000 X357
                G1 F20000 X328

                1 Reply Last reply Reply Quote 0
                • Phaedruxundefined
                  Phaedrux Moderator @gringo
                  last edited by

                  @gringo said in IDEX Toolchange Fan Control:

                  In tfree0 and tfree1 I have add the command M106 S0 so that the Fans are switched off when the Tool is not used.
                  In tpost0 and tpost1 there is M106 R2 to switch the Fan on again when the Tool is active.
                  If the respective Tool is active, the Fan do not switch on.

                  So what I think is happening is that you are turning the fan off and then asking it to resume to the last set speed, which was off, so it's staying off.

                  Does that make sense?

                  Rnnn Restore fan speed to the value it has when the print was paused (R1) or the last time the fan speed was set and no P parameter was provided (R2).

                  At least that's my reading of what R2 does.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  1 Reply Last reply Reply Quote 0
                  • gringoundefined
                    gringo
                    last edited by

                    I think so too.
                    But if I want the Fans off for the first 2Layers. How do I Adjust that?

                    1 Reply Last reply Reply Quote 0
                    • Phaedruxundefined
                      Phaedrux Moderator
                      last edited by

                      Can't you add a gcode process in s3d for that layer?

                      Z-Bot CoreXY Build | Thingiverse Profile

                      1 Reply Last reply Reply Quote 0
                      • gringoundefined
                        gringo
                        last edited by

                        I have now set a fan speed for Layers 1, 2 and 3 of 1%, 50% and 100% in S3D.
                        I let Tool 1 heat up first, so it works now.

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