Trzeba dodać plik konfiguracyjny daemon.g i w nim wpisać warunek:
Kod: Zaznacz cały
if heat.heaters[3].active > 0
M106 P2 S255
else
M106 P2 S0
Działa trochę z opóźnieniem jakieś 1 s ale o to chodziło.
Wróć do „Grzana komora 230V + nawiew 24V - DUET 2”
Kod: Zaznacz cały
if heat.heaters[3].active > 0
M106 P2 S255
else
M106 P2 S0
[/quote]
Kod: Zaznacz cały
M308 S3 P"duex.e2temp" Y"thermistor" T100000 B4092 ; configure sensor 3 as thermistor on pin duex.e2temp
M950 H3 C"duex.e2heat" T3 ; create chamber heater output on duex.e2heat and map it to sensor 3
M307 H3 R0.05 B0 S1.00 ; enable bang-bang mode for the chamber heater and set PWM limit
M141 H3 ; map chamber to heater 3
M143 H3 S80 ; set temperature limit for heater 3 to 80C
Kod: Zaznacz cały
M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency
M106 P2 S1 H-1 ; set fan 2 value. Thermostatic control is turned off