Reading Heated Chamber Temperature with M141 does not work
-
Hi Community,
we want to read out the chamber temperature with the command M141 for a host, but it does not work.
For example the bed temperature reading with M141 works perfectly.
In DWC the Chamber Temperature is shown correctly, also in the object model.
Here are the Pics, the actual used firmware and the config:
; Heaters M308 S0 P"temp0" Y"thermistor" A"Druckbett" T100000 B4092 ; configure sensor 0 as thermistor on pin temp0 M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0 M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S120 ; set temperature limit for heater 0 to 120C M308 S1 P"temp1" Y"thermistor" A"Links" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin temp1 M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M308 S2 P"temp2" Y"thermistor" A"Rechts" T100000 B4725 C7.06e-8 ; configure sensor 2 as thermistor on pin temp2 M950 H2 C"out2" T2 ; create nozzle heater output on out2 and map it to sensor 2 M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit ;Chamber Temp M308 S3 P"temp3" Y"thermistor" A"Bauraum" T100000 B4725 C7.06e-8 ; Case temp 100k semtek M950 H3 C"1.out8" T3 ; create chamber heater output on e1heat and map it to sensor 3 M307 H3 B0 S1.00 ; disable bang-bang mode for the chamber heater and set PWM limit M141 P0 H3 ; map chamber to heater 3 M143 H3 S70 ; set temperature limit for heater 3 to 80C
Thank you in advance
Regards Christian (CR-3D)
-
Does the output change if the chamber heater is actually active that the time you check it?
-
@cr3d said in Reading Heated Chamber Temperature with M141 does not work:
M308 S3 P"temp3" Y"thermistor" A"Bauraum" T100000 B4725 C7.06e-8 ; Case temp 100k semtek
M950 H3 C"1.out8" T3 ; create chamber heater output on e1heat and map it to sensor 3This violates one of the limitations listed at https://duet3d.dozuki.com/Wiki/Duet_3_firmware_configuration_limitations.
-
Ok thank you! This was for testing -> i will place the heater to the mainboard and then it should work?
-
@cr3d said in Reading Heated Chamber Temperature with M141 does not work:
Ok thank you! This was for testing -> i will place the heater to the mainboard and then it should work?
Yes; or connect the thermistor to board 1.
-
@dc42 Thank you!
Short report:
I have added the Heater to Board 0 (mainboard) and now the M141 command works well!
; Heaters M308 S0 P"temp0" Y"thermistor" A"Druckbett" T100000 B4092 ; configure sensor 0 as thermistor on pin temp0 M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0 M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S120 ; set temperature limit for heater 0 to 120C M308 S1 P"temp1" Y"thermistor" A"Links" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin temp1 M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M308 S2 P"temp2" Y"thermistor" A"Rechts" T100000 B4725 C7.06e-8 ; configure sensor 2 as thermistor on pin temp2 M950 H2 C"out2" T2 ; create nozzle heater output on out2 and map it to sensor 2 M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit ;Chamber Temp M308 S3 P"temp3" Y"thermistor" A"Bauraum" T100000 B4725 C7.06e-8 ; Case temp 100k semtek M950 H3 C"out7" T3 ; create chamber heater output on e1heat and map it to sensor 3 M307 H3 B0 S1.00 ; disable bang-bang mode for the chamber heater and set PWM limit M141 P0 H3 ; map chamber to heater 3 M143 H3 S70 ; set temperature limit for heater 3 to 80C
Thank you for your help!