Chamber Temperature Monitoring
-
Was following the directions on "Enclosed chamber temperature monitoring"
They showed
"M305 S"Chamber temp" P103 T100000 B3988 C0 R2200 X1 ; Case temp 100k semtek on E0 thermistor input."
and showed the Chamber Temp in + Extras
also showed
"R2200 is wrong for the Duet WiFi. You can leave out the R parameter from the M305 command, then it will use the default value."We are trying to get the Chamber Temperature as shown above
I used
"M305 S"Chamber temp" P5 T100000 B3988 C0 X1 ; Case temp on E4 thermistor input."
I left out the R because we are running the Duet2 wifi. We are running the Duet2 wifi and Duex 5 and i'm connected to E4 thermistor 5 on the Duex 5
I'm not showing the Chamber heat in the +Extras as shown on the other topic
Duet WiFi 1.02 or later + DueX5 Firmware Version:2.05 (2019-12-13b1)
Any help would be much appreciated -
Do you have a chamber heater, or just a thermistor?
- If you have a heater connected to E4 heater output, just leave out the X1 parameter in the M305 command
- If you have just a thermistor, use P103 and X5 in the M305 command
-
Worked Perfect, Thank You
-
We are now connecting a relay to E4 to run a relay for chamber heater so do I change the thermistor from
"M305 S"Chamber temp" P103 T100000 B3988 C0 X5"
to
"M305 S"Chamber temp" P5 T100000 B3988 C0"
and use
"M141 H5" ; Heater H5 is the Chamber Heater
"M305 P103 T100000 B3950" ; heater 4 is monitored by a 100K thermistor with
B=3950
to turn the chamber heater on?
The dash board will show it turning on but the LED on the duex5 E4 does not turn on -
So I See what the problem was, we had the same code in twice but now working with
;E4:
"M141 H5" ; Heater H4 is the Chamber Heater
"M143 H5 S100" ; Set max chamber temp to 100c
"M305 S"Chamber temp" P5 T100000 B3988 C0" ; heater 5 is monitored by a 100K
thermistor with B=3988
"M307 H5" ; report the process parameters for heater 5The only problem we have now is
Error: Heating fault on heater 5, temperature rising much more slowly than the expected 1.8°C/secare we missing something, or need to do the PID calibration for our M307 command?
Thank You -
Alright, everything seems to be working except M500?
7:42:59 AM M500
Warning: No M501 command was executed in config.g
7:40:49 AM Auto tune heater 5 completed in 1137 sec
Use M307 H5 to see the result, or M500 to save the result in config-override.g
7:33:05 AM Auto tune phase 3, peak temperature was 55.2
7:33:02 AM Auto tune phase 2, heater off
7:21:57 AM Auto tune phase 1, heater on
7:21:52 AM M303 H5 S55
Auto tuning heater 5 using target temperature 55.0°C and PWM 1.00 - do not leave printer unattendedDoes this mean the M500 didn't save and I need to do something else?
-
@Sculpt-Fabricator it's saved.
Just add M501 at the end of your config.g
-
That fixed that issue but I still have a heater fault after doing calibration, I calibrated to 50 and after everything was done, I tried just running to 45 and getting the rising to slowly fault?
9:24:07 AM
Error: Heating fault on heater 5, temperature rising much more slowly than the expected 0.4°C/sec
9:23:51 AM
M141 S45
9:23:45 AM
M141 P0 S0
9:21:34 AM
Connection established!
9:21:16 AM
Disconnected.
9:20:42 AM
M307 H5
Heater 5 model: gain 340.0, time constant 140.0, dead time 5.5, max PWM 1.00, calibration voltage 0.0, mode PID, inverted no, frequency default
Computed PID parameters for setpoint change: P13.4, I0.482, D51.4
Computed PID parameters for load change: P13.4
9:20:09 AM
M500
9:18:38 AM
Auto tune phase 3, peak temperature was 50.6
9:18:28 AM
Auto tune phase 2, heater off
9:16:35 AM
Auto tune phase 1, heater on
9:16:30 AM
M303 H5 S50
Auto tuning heater 5 using target temperature 50.0°C and PWM 1.00 - do not leave printer unattended -
Alright after a lot of trial and error I have figured out what my problem was in case anyone else runs into it this seems to be working
;E4:
M141 H5 ; Heater H4 is the Chamber Heater
M143 H5 S100 ; Set max chamber temp to 100c
M305 S"Chamber temp" P5 T100000 B3988 C0 ; heater 5 is monitored by a 100K
thermistor with B=3988
;M307 H5 ; report the process parameters for heater 5