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…

By cnccode · Updated
On this page
  1. What does M190 do?
  2. Parameters
  3. Example
  4. Tips from practice
  5. Related commands
  6. More temperature commands
  7. Frequently asked questions
PropertyValue
CommandM190
FunctionSet bed temperature and wait
FirmwareMarlin and Klipper
GroupTemperature
SyntaxM190 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

ParameterMeaning
SWait only for heating
RWait for heating and cooling

Example

G-code
M190 S60
G4 S120 ; let the plate soak for 2 minutes

Tips 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.

More temperature commands

CommandFunctionFirmware
M104Set hotend temperature (no wait)Marlin and Klipper
M109Set hotend temperature and waitMarlin and Klipper
M140Set bed temperature (no wait)Marlin and Klipper
M141Set chamber temperatureMarlin
M303PID autotuneMarlin
M301Set hotend PID valuesMarlin
M304Set bed PID valuesMarlin
PID_CALIBRATEPID tuning (Klipper)Klipper
TEMPERATURE_WAITWait for a temperature rangeKlipper
SET_HEATER_TEMPERATURESet a heaterKlipper

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

Frequently asked questions

What does M190 do on a 3D printer?
M190 is 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 before the mesh is measured.
Does M190 work in Klipper and Marlin?
Yes, both firmwares understand M190.
Was this page helpful?