3D printer G-code · Marlin and Klipper
M190: Set bed temperature and wait (Marlin & Klipper)
Set bed temperature and wait — Sets the bed temperature and waits until it is reached. A bed that reaches its set point is not yet hot through: thick beds and magnetic sheets need some extra minutes…
On this page
| Property | Value |
|---|---|
| Command | M190 |
| Function | Set bed temperature and wait |
| Firmware | Marlin and Klipper |
| Group | Temperature |
| Syntax | M190 S<°C> or M190 R<°C> |
What does M190 do?
Sets the bed temperature and waits until it is reached. A bed that reaches its set point is not yet hot through: thick beds and magnetic sheets need some extra minutes before the mesh is measured.
Parameters
| Parameter | Meaning |
|---|---|
S | Wait only for heating |
R | Wait for heating and cooling |
Example
M190 S60
G4 S120 ; let the plate soak for 2 minutesTips from practice
- Measure the bed mesh only after the bed is fully warm: a bed bends when it heats up.
The command works in Marlin and Klipper. Options can differ: Klipper accepts fewer parameters for some M-codes and ignores codes it does not know with an "Unknown command" error.
Related commands
More temperature commands
| Command | Function | Firmware |
|---|---|---|
M104 | Set hotend temperature (no wait) | Marlin and Klipper |
M109 | Set hotend temperature and wait | Marlin and Klipper |
M140 | Set bed temperature (no wait) | Marlin and Klipper |
M141 | Set chamber temperature | Marlin |
M303 | PID autotune | Marlin |
M301 | Set hotend PID values | Marlin |
M304 | Set bed PID values | Marlin |
PID_CALIBRATE | PID tuning (Klipper) | Klipper |
TEMPERATURE_WAIT | Wait for a temperature range | Klipper |
SET_HEATER_TEMPERATURE | Set a heater | Klipper |
Test it before you print
Paste your start code or a whole file into the 3D printer simulator. It plans every move, shows the time and finds missing waits, cold extrusion and moves outside the bed.
Open the simulator