Issue with Heater 1 Predicted Maximum Temperature Warning
-
@droftarts
Ok.
So this will not affect the printing or the machine?
modal parameters means PID parameter? -
@R006 said in Issue with Heater 1 Predicted Maximum Temperature Warning:
So this will not affect the printing or the machine?
No, it's just a warning to say if you set it to a high temperature, while turning off limits such as M143 and M570, or the heater suffers from thermal runaway (possibly if there's a wiring fault), things are going to get very hot!
Ian
-
@droftarts
okay,
Is there any way to re-solved this (like electronic end)? -
@R006 Can you post the exact error message? I misread your first post, where you said:
Heater 1 has reached a predicted ...
The usual error message is something like:
Warning: Heater 1 predicted maximum temperature at full power is 589°C
Obviously these are two quite different things. You should only get the message at startup. As far as I'm aware there's no way to disable it. It's just a warning. The only way to avoid it is to fit a lower power heater, and retune the heater.
Ian
-
@droftarts
Warning: Heater 1 predicted maximum temperature at full power is 589°C
okay -
The warning is telling you what temperature it calculates as the maximum that could be reached in a failure condition where power was stuck on. It's up to you do mitigate that with a thermal fuse that could physically cut power to the heater when a temperature has been reached. They usually only cost a few cents and are used in everyday appliances that have heaters like kettles or toasters.
-
thank you for the clarification. I will try for fuse, before that I have couple of questions more:
- If this warning appears, then it must appear every time for that machine or heater , right ?
- Is it possible to reduce "S" value in M307, so that it never uses 100% PWM & may not cause this effect?
note: My concerns is to remove this warning, so that client does not mis interpret this as a problem with the extruder heating.
-
@R006 said in Issue with Heater 1 Predicted Maximum Temperature Warning:
- If this warning appears, then it must appear every time for that machine or heater , right ?
As far as I know, there's no way to remove the warning message. However, it only shows at startup, and as it is a warning, it will disappear after 5 seconds. And you will only see it on the PanelDue or in DWC if you are already connected.
- Is it possible to reduce "S" value in M307, so that it never uses 100% PWM & may not cause this effect?
That may remove the warning (though I'm not sure it will), but then your heater will take a lot longer to heat up, as it is using less power. It also doesn't protect you from a MOSFET or wiring failure, where the hot end would receive 100% power, and hit the temperature predicted.
The only real way around this is to fit a less powerful heater. But then, again, it will take longer to heat up.
Ian
-
@droftarts
Okay,
I have two machine with same heater. but this warning message appears only in one machine. heater watt is 50.
So can i do something with its resistor value. -
@R006 If you get a warning that a heater could potentially reach a dangerous temperature, then the safest way to address this is to use a less powerful heater. Then if say a MOSFET failed, the heater would get hot, but not dangerously so.
-
@R006 Are both machines running the same firmware version? Check in config.g what the M307 command is for each heater; they are probably different. If you have M501 in config.g, also check config-override.g for M307.
The code for the warning is here: https://github.com/Duet3D/RepRapFirmware/blob/1f1ce4c1adbce5bc32e141a1940c697b71e02c22/src/Heating/Heater.cpp#L237
The firmware makes a prediction, based on M307 parameters, what the highest temperature is. If this is higher than the maximum heater temperature (set by M143) - ambient temperature, then multiplied by 1.5 plus 50, you get the warning.
Ian
-
@droftarts
Thank you.
After changing the 50W heater to a 40W heater, the warning no longer appears on one machine, but it should still be showing on the other machine. Now, I want to add a comment about this in RRF 3.4b3, but I am encountering multiple errors.Building file: ../src/GPIO/GpOutPort.cpp
Building file: ../src/GCodes/GCodeBuffer/BinaryParser.cpp
Invoking: Cross G++ Compiler
Invoking: Cross G++ Compiler
arm-none-eabi-g++ -std=gnu++17 -D__SAME70Q20B__ -DRTOS -DDUET3_V06 -D_XOPEN_SOURCE -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src\SAM4S_4E_E70" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src\SAM4S_4E_E70\asf\common\utils" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src\SAM4S_4E_E70\asf\sam\utils\cmsis\same70\include" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src\SAM4S_4E_E70\SAME70" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src\SAM4S_4E_E70\asf" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src\SAM4S_4E_E70\asf\sam\utils" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src\SAM4S_4E_E70\asf\sam\utils\preprocessor" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src\SAM4S_4E_E70\asf\sam\utils\header_files" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src\SAM4S_4E_E70\asf\sam\drivers" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\RepRapFirmware\src" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\RepRapFirmware\src\Hardware\SAME70" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\RepRapFirmware\src\Networking" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\RepRapFirmware\src\Networking\LwipEthernet\Lwip" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\RepRapFirmware\src\Networking\LwipEthernet\Lwip\src\include" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\FreeRTOS\src\include" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\FreeRTOS\src\portable\GCC\ARM_CM7\r0p1" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\RRFLibraries\src" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CANlib\src" -O2 -Wall -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -mno-unaligned-access -ffunction-sections -fdata-sections -fno-threadsafe-statics -fno-rtti -fexceptions -nostdlib -Wundef -Wdouble-promotion -Werror=return-type -Wsuggest-override -fsingle-precision-constant "-Wa,-ahl=GpOutPort.s" -fstack-usage -MMD -MP -MF"src/GPIO/GpOutPort.d" -MT"src/GPIO/GpOutPort.o" -o "src/GPIO/GpOutPort.o" "../src/GPIO/GpOutPort.cpp"
arm-none-eabi-g++ -std=gnu++17 -D__SAME70Q20B__ -DRTOS -DDUET3_V06 -D_XOPEN_SOURCE -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src\SAM4S_4E_E70" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src\SAM4S_4E_E70\asf\common\utils" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src\SAM4S_4E_E70\asf\sam\utils\cmsis\same70\include" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src\SAM4S_4E_E70\SAME70" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src\SAM4S_4E_E70\asf" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src\SAM4S_4E_E70\asf\sam\utils" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src\SAM4S_4E_E70\asf\sam\utils\preprocessor" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src\SAM4S_4E_E70\asf\sam\utils\header_files" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src\SAM4S_4E_E70\asf\sam\drivers" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\RepRapFirmware\src" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\RepRapFirmware\src\Hardware\SAME70" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\RepRapFirmware\src\Networking" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\RepRapFirmware\src\Networking\LwipEthernet\Lwip" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\RepRapFirmware\src\Networking\LwipEthernet\Lwip\src\include" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\FreeRTOS\src\include" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\FreeRTOS\src\portable\GCC\ARM_CM7\r0p1" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\RRFLibraries\src" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CANlib\src" -O2 -Wall -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -mno-unaligned-access -ffunction-sections -fdata-sections -fno-threadsafe-statics -fno-rtti -fexceptions -nostdlib -Wundef -Wdouble-promotion -Werror=return-type -Wsuggest-override -fsingle-precision-constant "-Wa,-ahl=BinaryParser.s" -fstack-usage -MMD -MP -MF"src/GCodes/GCodeBuffer/BinaryParser.d" -MT"src/GCodes/GCodeBuffer/BinaryParser.o" -o "src/GCodes/GCodeBuffer/BinaryParser.o" "../src/GCodes/GCodeBuffer/BinaryParser.cpp"
../src/Hardware/ExceptionHandlers.cpp: In function 'void SoftwareReset(SoftwareResetReason, const uint32_t*)':
../src/Hardware/ExceptionHandlers.cpp:86:9: error: 'ResetProcessor' was not declared in this scope
Finished building: ../src/Hardware/I2C.cpp
86 | ResetProcessor();
| ^~~~~~~~~~~~~~
../src/Hardware/ExceptionHandlers.cpp: In function 'void OutOfMemoryHandler()':
../src/Hardware/ExceptionHandlers.cpp:92:57: error: 'GetStackPointer' was not declared in this scope
92 | SoftwareReset(SoftwareResetReason::outOfMemory, GetStackPointer());
| ^~~~~~~~~~~~~~~
../src/Hardware/ExceptionHandlers.cpp: In function 'void Terminate()':
../src/Hardware/ExceptionHandlers.cpp:286:61: error: 'GetStackPointer' was not declared in this scope
286 | SoftwareReset(SoftwareResetReason::terminateCalled, GetStackPointer());
| ^~~~~~~~~~~~~~~../src/Hardware/ExceptionHandlers.cpp: In function 'void __cxa_pure_virtual()':
../src/Hardware/ExceptionHandlers.cpp:296:66: error: 'GetStackPointer' was not declared in this scope
296 | SoftwareReset(SoftwareResetReason::pureOrDeletedVirtual, GetStackPointer());
| ^~~~~~~~~~~~~~~
../src/Hardware/ExceptionHandlers.cpp: In function 'void __cxa_deleted_virtual()':
../src/Hardware/ExceptionHandlers.cpp:301:66: error: 'GetStackPointer' was not declared in this scope
301 | SoftwareReset(SoftwareResetReason::pureOrDeletedVirtual, GetStackPointer());
| ^~~~~~~~~~~~~~~
Building file: ../src/GCodes/GCodeBuffer/ExpressionParser.cpp
../src/Hardware/ExceptionHandlers.cpp: In function 'void OutOfMemoryHandler()':
../src/Hardware/ExceptionHandlers.cpp:93:1: warning: 'noreturn' function does return
93 | }
| ^
../src/Hardware/ExceptionHandlers.cpp: In function 'void Terminate()':
../src/Hardware/ExceptionHandlers.cpp:287:1: warning: 'noreturn' function does return
287 | }
| ^
../src/Hardware/ExceptionHandlers.cpp: In function 'void __cxa_pure_virtual()':
../src/Hardware/ExceptionHandlers.cpp:297:1: warning: 'noreturn' function does return
297 | }
| ^
../src/Hardware/ExceptionHandlers.cpp: In function 'void cxa_deleted_virtual()':
../src/Hardware/ExceptionHandlers.cpp:302:1: warning: 'noreturn' function does return
302 | }
| ^
Invoking: Cross G++ Compiler
make[1]: *** [src/Hardware/subdir.mk:33: src/Hardware/ExceptionHandlers.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Finished building: ../src/Hardware/NonVolatileMemory.cpp
arm-none-eabi-g++ -std=gnu++17 -D__SAME70Q20B -DRTOS -DDUET3_V06 -D_XOPEN_SOURCE -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src\SAM4S_4E_E70" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src\SAM4S_4E_E70\asf\common\utils" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src\SAM4S_4E_E70\asf\sam\utils\cmsis\same70\include" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src\SAM4S_4E_E70\SAME70" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src\SAM4S_4E_E70\asf" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src\SAM4S_4E_E70\asf\sam\utils" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src\SAM4S_4E_E70\asf\sam\utils\preprocessor" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src\SAM4S_4E_E70\asf\sam\utils\header_files" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CoreN2G\src\SAM4S_4E_E70\asf\sam\drivers" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\RepRapFirmware\src" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\RepRapFirmware\src\Hardware\SAME70" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\RepRapFirmware\src\Networking" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\RepRapFirmware\src\Networking\LwipEthernet\Lwip" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\RepRapFirmware\src\Networking\LwipEthernet\Lwip\src\include" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\FreeRTOS\src\include" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\FreeRTOS\src\portable\GCC\ARM_CM7\r0p1" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\RRFLibraries\src" -I"C:\Users\rishita.butala\eclipse-workspace\Firmware_updatedM109\CANlib\src" -O2 -Wall -c -mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard -mno-unaligned-access -ffunction-sections -fdata-sections -fno-threadsafe-statics -fno-rtti -fexceptions -nostdlib -Wundef -Wdouble-promotion -Werror=return-type -Wsuggest-override -fsingle-precision-constant "-Wa,-ahl=ExpressionParser.s" -fstack-usage -MMD -MP -MF"src/GCodes/GCodeBuffer/ExpressionParser.d" -MT"src/GCodes/GCodeBuffer/ExpressionParser.o" -o "src/GCodes/GCodeBuffer/ExpressionParser.o" "../src/GCodes/GCodeBuffer/ExpressionParser.cpp"Finished building: ../src/Hardware/IoPorts.cpp
Finished building: ../src/Hardware/SoftwareReset.cpp
Finished building: ../src/GPIO/GpInPort.cpp
Finished building: ../src/GPIO/GpOutPort.cpp
Finished building: ../src/GCodes/GCodeBuffer/BinaryParser.cpp
Finished building: ../src/GCodes/GCodeBuffer/ExpressionParser.cpp
make: *** [makefile:98: all] Error 2
"make -j8 all" terminated with exit code 2. Build might be incomplete.10:55:51 Build Failed. 8 errors, 8 warnings. (took 46s.991ms)
-
@R006 said in Issue with Heater 1 Predicted Maximum Temperature Warning:
Now, I want to add a comment about this in RRF 3.4b3, but I am encountering multiple errors.
Best to start a new thread about your build errors.