It might very well be possible.
Are you using Marlin 1.1.9 or 2.0.X?
- For 1.1.9 - In file Marlin_main.cpp - at the very bottom of the file
Replace:
With:
- For 2.0.x - In file Marlin.cpp - at the very bottom of the file
Replace:
With:
What ever version of Marlin you are using.
- you might want to test with setting the limit to for example 50,
- and turn on your bed, to go higher than 50
And see if the PSU gets turned off when the temp reaches 50*C
I have not tested the suggested code, beyond making sure that it can compile, so I will be interested to hear if this code actually does what you are requesting.
Are you using Marlin 1.1.9 or 2.0.X?
- For 1.1.9 - In file Marlin_main.cpp - at the very bottom of the file
Replace:
idle(); }
With:
idle(); #if (HAS_POWER_SWITCH && HAS_HEATED_BED) if (thermalManager.degBed() >= 150) { PSU_OFF(); } #endif }
- For 2.0.x - In file Marlin.cpp - at the very bottom of the file
Replace:
idle(); } }
With:
idle(); #if (HAS_POWER_SWITCH && HAS_HEATED_BED) if (thermalManager.degBed() >= 150) { PSU_OFF(); } #endif } }
What ever version of Marlin you are using.
- you might want to test with setting the limit to for example 50,
- and turn on your bed, to go higher than 50
And see if the PSU gets turned off when the temp reaches 50*C
I have not tested the suggested code, beyond making sure that it can compile, so I will be interested to hear if this code actually does what you are requesting.