Welcome! Log In Create A New Profile

Advanced

How Do I Enable the M140 Heating Bed Option?

Posted by chiques 
How Do I Enable the M140 Heating Bed Option?
December 22, 2018 11:41PM
I am using Marlin 1.1.9. I am trying to heat my bad using the 'M140 S60' command but it's not working. When I enter this in Pronterface I get:
Setting bed temperature to 60.000000 degrees Celsius.
echo:Unknown command: "M140 S60.0"

Does anyone know how to enable this in the firmware?
Re: How Do I Enable the M140 Heating Bed Option?
December 23, 2018 01:41AM
HAS_HEATED_BED has to be defined

this is true when HAS_TEMP_BED && HAS_HEATER_BED is defined

HAS_TEMP_BED is true when HAS_TEMP_ADC_BED
HAS_HEATER_BED is true is PIN_EXISTS(HEATER_BED)

So

Either you have not defined a pin for your heated bed, or you have not defined a pin for your bed thermistor
Re: How Do I Enable the M140 Heating Bed Option?
December 23, 2018 01:08PM
Quote
Dust
HAS_HEATED_BED has to be defined

this is true when HAS_TEMP_BED && HAS_HEATER_BED is defined

HAS_TEMP_BED is true when HAS_TEMP_ADC_BED
HAS_HEATER_BED is true is PIN_EXISTS(HEATER_BED)

So

Either you have not defined a pin for your heated bed, or you have not defined a pin for your bed thermistor

Hello Dust,
None of these variables are in my current Configuration.h or Configuration_adv.h files. Do I just add them?
Re: How Do I Enable the M140 Heating Bed Option?
December 23, 2018 01:15PM
Quote
chiques
Quote
Dust
HAS_HEATED_BED has to be defined

this is true when HAS_TEMP_BED && HAS_HEATER_BED is defined

HAS_TEMP_BED is true when HAS_TEMP_ADC_BED
HAS_HEATER_BED is true is PIN_EXISTS(HEATER_BED)

So

Either you have not defined a pin for your heated bed, or you have not defined a pin for your bed thermistor

Hello Dust,
None of these variables are in my current Configuration.h or Configuration_adv.h files. Do I just add them?

Disregard my question. I found the problem.

#define TEMP_SENSOR_BED 0
is set to '0'

Once I set it to '1' it enabled the LCD icon and the error no longer exists.

Thanks for the hint!
Sorry, only registered users may post in this forum.

Click here to login