How to make repetier auto start Heatbed?

Hello!

I have tried modifying my configuration.h and upload it to my K8400 with these setting but it makes no different.
Repetier set it off on default, so I must manually set it on. How to make Repetier act as it does with the auto preheating extruder 1 when i press Start Print? I have also looked over all setting in Repetier and set a default value to 60 and set the LCD preheat PLA option for bed to 60.

// ############# Heated bed configuration ########################

#define HAVE_HEATED_BED 1
#define HEATED_BED_MAX_TEMP 120
#define SKIP_M190_IF_WITHIN 3
#define HEATED_BED_SENSOR_TYPE 1
#define HEATED_BED_SENSOR_PIN TEMP_1_PIN
#define HEATED_BED_HEATER_PIN HEATER_1_PIN
#define HEATED_BED_SET_INTERVAL 5000
#define HEATED_BED_HEAT_MANAGER 0
#define HEATED_BED_PID_INTEGRAL_DRIVE_MAX 255
#define HEATED_BED_PID_INTEGRAL_DRIVE_MIN 80
#define HEATED_BED_PID_PGAIN 196
#define HEATED_BED_PID_IGAIN 33
#define HEATED_BED_PID_DGAIN 290
#define HEATED_BED_PID_MAX 255
#define MIN_EXTRUDER_TEMP 150
#define MAXTEMP 235
#define MIN_DEFECT_TEMPERATURE -10
#define MAX_DEFECT_TEMPERATURE 290

Add this line in the start G-code :
{IF_BED}M190 S{BED}

And this one in the End G-code :
M140 S0 ; Disable heated bed

And don’t forget to set the temperature in Cura :

Thx raby! Worked great, had to remove the {IF_BED} and {BED} part tough.

Found the solution for how to use {IF_BED} and {BED}. :slight_smile: