How to remap default fan



  • Just started to play with my shiny new Duex5. My power supply is 24V and my existing print cooling fan (fan0) is 12v which I was running via a 24 to 12v DC converter. I can now make use of the 12V jumper on the duex5 and connect the 12v print cooling fan to one of these outputs - say fan 3. How do I remap this to be the default fan? That is to say that my slicer (Slic3R) controls print cooling by putting M106 S(nnn) commands in the gcode file without a fan number so it defaults to fan 0 and I need to change the default to be fan 3.


  • administrators

    See http://reprap.org/wiki/G-code#M563:_Define_or_remove_a_tool. Fan mapping only happens when a tool is active.



  • Thanks David. So if the print cooling fan is fan 3 and I add F0:3 to all of my tool definitions, then M106 commands will control that fan, but only when any one of the tools is active (as would be the case during a print). Is that correct?


  • administrators

    Not quite, you need just F3.



  • And now I too found myself having similar problem.
    My case was short circuit that led to damaging fan 0 somehow (now it outputs 2.3v when set to 100% and 5.5v when set to 0%, some weird magic smoke was involved for sure).

    I found my solution in adding F0:2 parameter to M106 command in config.g file.
    So now my fan is connected to fan 2 connector and everything is working as it was before this accident.

    I officially thank deckingman for creating well-indexed and googlable topic and dc42 for providing
    ad documenting nice solution.
    Thank you guys, you are the best!



  • Is there a way to remap a fan to a heater output, so if I want to use E1 heater connected to a fan/water pump rather than the P1 fan output? I would want to be able to thermostatically control it as I currently do with the P1 fan output. I am just concerned my fan and water pump combo might be a little too much for the fan output.

    I could implement an external mosfet on P1 fan, but might be nice to know in case I need to do it later?


  • administrators

    @djdemond said in How to remap default fan:

    Is there a way to remap a fan to a heater output, so if I want to use E1 heater connected to a fan/water pump rather than the P1 fan output? I would want to be able to thermostatically control it as I currently do with the P1 fan output. I am just concerned my fan and water pump combo might be a little too much for the fan output.

    Currently no, but I plan to add this facility in a future firmware release, perhaps 2.02.



  • That would be good. I had my pump and fan stop working yesterday and presumed I might have overloaded the P1 fan output, but as usual just a loose connection.


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.