M106 questions on p1 and p2



  • RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 2.0(RTOS) ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2018-06-05b3

    When I plug my print cooling fan into P0, it doesn't respond to
    m106 P0 S255 (or s1).
    When I plug that fan into one of the 'always on' connections, it does turn (correct direction)

    The Hot end fan (p1) will turn on with m106 P1 s255 i1 (or s1)

    This is the fans section of my config.g:
    ; Fans
    M106 P0 S255 B5 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S255 B5 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    (I do see the 'burst' of 5 seconds on p1)

    Both fans are two wire.

    The Duet is a pretty recent purchase and I am still working my way through it. I have a e3d v6 hot end (but not with the original fan, should be similar though)

    Chip Kigar



  • In your config.g file, try changing your M106 commands to M106 P0 S0 I0 F500 H-1; and M106 P1 S0 I0 F500 H-1;

    https://reprap.org/wiki/G-code

    That wiki is a great source for learning about how to properly configure your printer



  • @z97froehlich said in M106 questions on p1 and p2:

    M106 P1 S0 I0 F500 H-1

    Odd... p2 worked but never p0.. I'll leave this as unsolved for a day or two. No a big deal, but puzzling.



  • Have you checked wiring.... I think ball bearing fans don't turn if they are unvertwd


  • administrators

    @ckigar, if M106 P0 H-1 S1 doesn't get the fan spinning when connected to Fan 0, but the same fan does work on the Fan 1 and Fan 2 outputs when you use P1 and P2 in the M106 command, then the Fan 0 output is faulty and you should ask your supplier to replace the Duet.


Log in to reply