Quantcast
Channel: Reprap Forum - Repetier
Viewing all articles
Browse latest Browse all 1321

M190 wait for cool bed (no replies)

$
0
0
Trying to use some servos and gcodes to auto eject my prints after they're done printing. I've read alot of posts about M190 waiting for bed temp whether the desired temp needs heating or cooling however it doesnt seem to wait for cooling. Going through Commands.cpp I was able to change this line

while(heatedBedController.currentTemperatureC + 0.5 < heatedBedController.targetTemperatureC && heatedBedController.targetTemperatureC > 25.0)

to this

while((heatedBedController.currentTemperatureC + 0.5 < heatedBedController.targetTemperatureC || heatedBedController.currentTemperatureC - 0.5 > heatedBedController.targetTemperatureC) && heatedBedController.targetTemperatureC > 25.0)

now it waits for the bed to cool also. Not sure if this will have undesired consequences though. Will update if I run into problems.

The LCD will read Heating Bed while its waiting to cool. But I can live with that instead of messing with the UI code.

Viewing all articles
Browse latest Browse all 1321

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>