Control Fan 0 & Fan 1 with Simplify 3d



  • How do I set me fan to control by simplify 3d, I don't want it to come on @45 deg, This is for an IDEX system.

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

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

    M563 P1 D1 H2 X3 ; Define tool 1
    G10 P1 X0 Y0 U0 Z0 ; Set tool 1 axis offsets
    G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C

    M563 P2 D0:1 H1:2 X0:3 ; Define tool 2 Ditto Printing
    G10 P2 X100 Y0 U-100 Z0 ; Set tool 2 axis Ditto Printing offsets
    G10 P2 R0 S0 ; Set initial tool 2 active and standby temperatures to 0C
    M567 P2 E1:1 ; Set mix rtio 100% on both extruders



  • I'm not familiar with Simplify3D, but to allow those fans in your example M106 to be controlled would require changing H1 and H2 to H-1 and removing T45 to disable thermostatic control.

    https://duet3d.dozuki.com/Wiki/GCode#Section_M106_Fan_On



  • @karim said in Control Fan 0 & Fan 1 with Simplify 3d:

    M106 P0 S0 I0 F500 H1 T45 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P1 S1 I0 F500 H2 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on

    This would work with Cura too. I Just got simplify 3d.
    M106 P0 S0 I0 F500 H-1
    M106 P1 S1 I0 F500 H-1



  • That will allow those fans to be manually controlled, but I'm not familiar with how to get the slicer to address the fans individually.



  • M106 P0 S0 I0 F500 H-1
    M106 P1 S1 I0 F500 H-1

    This above works for Fan 0, but turns on Fan 1 to 100% when print starts.



  • @karim Change the S1 to S0. That's the speed.

    M106: Fan On
    Parameters

    Pnnn Fan number (optional, defaults to 0)
    Snnn Fan speed (0 to 255 or 0.0 to 1.0))



  • Is this something I should look into setting up. I was reading this.

    Allocating fans to tools
    Most slicers do not yet support having multiple separate print cooling fans so they simply send M106 Snnn, rather than allowing the choice of which fan is allocated to which hotend.

    To solve this, other fan channels can be mapped to fan 0 when a specific tool is selected for example:

    M563 P0 D0 H1 ; tool 0 uses extruder 0, heater 1 (and fan 0)
    M563 P1 D1 H2 F1 ; tool 1 uses extruder 1, heater 2 and fan 1
    M563 P2 D2 H2 F2 ; tool 2 uses extruder 2, heater 2 and fan 2
    After this whenever tool 0 is selected, sending M106 Snnn will control fan 0. With tool 1, fan 1 and tool 2 fan 2.



  • Yes you could map both fans to the same channel. They would then be controlled the same by the slicer for part cooling. This may or may not be what you want with IDEX though.



  • Yea I am still try to figure out the IDEX system. I want it to work like BCN sigma. I need to design the Purge bucket.


  • administrators

    On an IDEX system you would normally use the F parameter in your M563 commands to specify which fan is the print cooling fan when that tool is in use. Then a M106 command with no P parameter will be routed to that fan. When no tool is active, it will be routed to fan 0.



  • Sorry But I don't quit get what you are saying. This is what I have now.

    ; Fans
    M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off

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

    M563 P1 D1 H2 X3 ; Define tool 1
    G10 P1 X0 Y0 U0 Z0 ; Set tool 1 axis offsets
    G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C

    M563 P2 D0:1 H1:2 X0:3 ; Define tool 2 Ditto Printing
    G10 P2 X100 Y0 U-100 Z0 ; Set tool 2 axis Ditto Printing offsets
    G10 P2 R0 S0 ; Set initial tool 2 active and standby temperatures to 0C
    M567 P2 E1:1 ; Set mix rtio 100% on both extruders



  • What David is saying is if you define fan with your tool,( in your example M563 P1 D1 H2 F1 X3), then duering printing when tool 1 is activated, slicer fan contoll code (M106) will controll fan 1 instead of default fan 0.



  • Thanks guys, working right now. Doing some test prints.


Log in to reply