RRF 3 Fan with virtual heater control not working

  • Hello everyone

    I just tried to use the virtual heaters 100,101,102 to control a fan (no. 0) as follows:

    M950 F0 C"duex.fan3+duex.fan4"
    M106 P0 T45 H100:101:102

    Unfortunately I get the error "Sensor number out of range". Is there a new way on how to utilise the mcu temp and driver temp for fans?

  • Moderator

    Did you define H100, 101 and 102 with M308? The way virtual heaters works has changed with RRF3:

    This code replaces M305 in RepRapFirmware 3. In earlier versions of RepRapFirmware, sensors only existed in combination with heaters, which necessitated the concept of a "virtual heater" to represent a sensor with no associated heater (e.g. MCU temperature sensor). RepRapFirmware 3 allows sensors to be defined independently of heaters. The association between heaters and sensors is defined using M950.

    See the examples in M308 for guidance.


Log in to reply