Problem configuring fan 7
deckingman last edited by
I have a lot of additional fans running thermostatically but fan 7 (Duex5) runs continuously. Relevant parts of config.g as follows:
M305 P103 X2 H"Duet\Duex" T100000 B4725 R4700; Set thermistor + ADC parameters for heater 2 - this is used to measure stepper chip temperature on Duet
M305 P104 X3 H"Z Stepper" T100000 B3950 R4700; Set thermistor + ADC parameters for heater 3 - this is used to measure stepper chip temperature on Duex5
M305 P105 X4 H"LeftLowerXYStepper" T100000 B3950 R4700; Set thermistor + ADC parameters for heater 4 - this is used to measure left XY stepper temperature
M305 P106 X5 H"RightLowerXYStepper" T100000 B3950 R4700; Set thermistor + ADC parameters for heater 5 - this is used to measure right XY stepper temperature
M305 P107 X6 H"LeftUpperXYStepper" T100000 B3950 R4700; Set thermistor + ADC parameters for heater 6- this is used to measure right XY stepper temperature
M305 P108 X7 H"RightUpperXYStepper" T100000 B3950 R4700; Set thermistor + ADC parameters for heater 7 - this is used to measure right XY stepper temperature
M106 P2 S255 I0 F500 H103 T45; Set fan 2 value (Duet and Duex fans), PWM signal inversion and frequency. Thermostatic control is turned on (P106 virtual)
M106 P3 S255 I0 F500 H104 T45; Set fan 3 (Z Stepper fan) to work thermostatically on P104 virtual temp
M106 P4 S255 I0 F500 H105 T40; Set fan 4 (Left XY stepper fan) to work thermostatically on P105 virtual temp
M106 P5 S255 I0 F500 H106 T40; Set fan 5 (Right XY stepper fan) to work thermostatically on P106 virtual temp
M106 P6 S255 I0 F500 H107 T40; Set fan 6 (Left Upper XY stepper fan) to work thermostatically on P107 virtual temp
M106 P7 S255 I0 F500 H108 T40; Set fan 7 (Right XY stepper fan) to work thermostatically on P108 virtual temp
I can't see anything amiss in the above but maybe someone else can spot something that I couldn't. All the other fans work fine, it's just fan 8 that runs continuously. The virtual temperature on DWC reports around 25 degC - the same as all the others so the fan shouldn't start to run until it hits 40 deg C.
I think it's firmware bug. The bit field for heaters monitored is only 16 bits wide, which handles the 8 real heaters on a Duet + DueX5 + only 8 virtual heaters. So virtual heater 108 is 1 too many. I'll fix it in the next beta.
The current firmware supports only 10 virtual heaters, of which 3 are predefined unless you choose to redefine them. Do you think you are likely to need more than 10?
EDIT: I've put a new build of DuetEthernetFirmware at https://dl.dropboxusercontent.com/u/19369680/DuetEthernetFirmware.bin, hopfully this fixes it. This is completely untested because I don't have a working Duet Ethernet at present, however the changes from 1.19beta11 are minor.
deckingman last edited by
Yes that has fixed it.
Ref needing more than 10 - I can't off hand think that I would need more than 10 virtual heaters. I currently use 5 for the 5 individual drive motors that I want to cool to stop the plastic mounts distorting, and 1 for the Duet/Duex which makes 6. I can think of one other possibility and that would be if I need to cool the 5 steppers on the extruder carriage. They are pretty close together and share the same plastic mount. However, compared to the XY motors, they are low current and not doing anything like the work that the main motors do in shifting 4 kgs of mass around. If that was an issue, I've run out of fan connectors in any case and have already had to double up the fans cooling the Duet/Duex by connecting them to a single thermistor/fan connector combination. So I'd say that for now, 10 virtual heaters is enough and more would require more hardware fan connectors (which of course may not be needed either but who knows what the future holds?).
I guess it's fair to say that I'm only using this number of virtual heaters/fans because I can, and if they weren't available, I'd live without them or find some other work around.