Remapped fan issues.



  • Versions of things:

    • Duet 2 WiFi H/W v1.03 F/W:Duet 2 WiFi/Ethernet 2.04RC1 (2019-07-14b1)
    • Duet WiFi Server Version: 1.23
    • DueX5 (H/W V0.9a)
    • Duet Web Control 2.0.0-RC6

    **Problem: **

    My fan is supposed to be remapped to fan 2. It has worked in the past.

    Executing

    M106 P2 Sxxx
    

    Switches the fan on and off depending on the S value

    However

    M106 Sxxx
    

    does nothing, which is a problem with my slicer.

    Aat some point it appears to have stopped working (2.03 appeared not to work either)

    M563 P0 and M106 P2 reports

    16/07/2019, 10:22:34: M563 P0: Tool 0 - name: E3Dv6 Gold; drives: 0; heaters (active/standby temps): 1 (-273.1/-273.1); xmap: X; ymap: Y; fans: 2; status: off
    16/07/2019, 10:25:48: M106 P2: Fan 2 (Part) pin: F2, frequency: 250Hz, speed: 100%, min: 10%, max: 100%, blip: 0.10, inverted: no
    

    What am I doing something wrong here please? 🙂



  • (removed text version of config.g)



  • (removed text config-user.g)





  • @cheeseandham

    When you try M106 (without any parameters) did you select Tool0 first? And does the slicer also put a "T0" at the start of the gcode file?

    Just thinking that if the fan gets mapped to a tool then that might only happen when a tool is active. In fact thinking about, it would have to work that way because you could have multiple tools, each with a different physical fan but they would all have to work as the part fan. So it could only switch fans by making the tool active otherwise the fan mapping for non-active tools would interfere.



  • @deckingman
    I just swore out loud there. I could've sworn I'd tested that.
    I'm an idiot. Thank you.

    SOLVED



  • (Just so there is no misunderstanding, I'm swearing at myself for being so utterly stupid, and I really appreciate your reply and assistance @deckingman 😄 )



  • @cheeseandham Don't be hard on yourself - we all make mistakes. ("To err is human" - Alexander Pope).

    Glad your problem is solved.


Log in to reply