Welcome! Log In Create A New Profile

Advanced

SD-card Job Finished and Bed Temperature

Posted by MPower 
SD-card Job Finished and Bed Temperature
June 23, 2013 10:01AM
Is there a Marlin configuration setting for turning off the heated bed after finishing a SD-card job? The code seems to have a temperature shutdown, but autotempShutdown() seems to take care of the hotend only, not the bed included.
void autotempShutdown(){
 #ifdef AUTOTEMP
 if(autotemp_enabled)
 {
  autotemp_enabled=false;
  if(degTargetHotend(active_extruder)>autotemp_min)
    setTargetHotend(0,active_extruder);
 }
 #endif
}

I could add an extra line for the heated bed, but I wanted to make sure it is not implemented already by a setting I overlooked.

LE: I am already using the SD_FINISHED_RELEASECOMMAND to perform a command, so I would need another placeholder for the bed temperature shutdown.

Edited 1 time(s). Last edit at 06/23/2013 10:03AM by MPower.
Re: SD-card Job Finished and Bed Temperature
June 23, 2013 11:06AM
What's wrong with M140 S0 at the end of the gcode?


[www.hydraraptor.blogspot.com]
Re: SD-card Job Finished and Bed Temperature
June 23, 2013 11:26AM
Nothing wrong, I just expected the firmware to already have this "turn off heated bed" function implemented, just like it turns your hotend off. It doesn't make much sense to turn off the hotend only but leave the heated bed on until the operator returns to the printer, whenever that is. Hence, I expected the firmware to handle it.
Re: SD-card Job Finished and Bed Temperature
June 23, 2013 02:52PM
TBH, I never expect the firmware to do anything of its own accord. I have always used gcode to make it do exactly what I want when I want.


[www.hydraraptor.blogspot.com]
Sorry, only registered users may post in this forum.

Click here to login