flexi-bot/docs/marlin/_gcode/M190.md
2023-09-05 20:38:49 +02:00

60 lines
1.4 KiB
Markdown

---
tag: m0190
title: Wait for Bed Temperature
brief: Wait for the bed to reach target temperature.
author: thinkyhead
contrib: shitcreek
group: thermal
codes: [ M190 ]
related: [ M140 ]
notes:
- This command may block the command queue. Enable `EMERGENCY_PARSER` so that hosts can break in using [`M108`](/docs/gcode/M108.html).
- Use [`M140`](/docs/gcode/M140.html) to set the bed temperature and proceed without waiting.
- Requires one (1) of the parameters listed below.
parameters:
-
tag: I
since: 2.0.6
optional: true
description: Material preset index. Overrides `S`.
values:
-
type: int
tag: index
-
tag: S
optional: true
description: Target temperature (wait only when heating).
values:
-
tag: temp
type: float
-
tag: R
optional: true
description: Target temperature (wait for cooling or heating).
values:
-
tag: temp
type: float
examples:
-
pre:
- Set target bed temperature and wait (if heating)
code:
- M190 S80
-
pre:
- Set target bed temperature and wait even if cooling
code:
- M190 R40
---
This command optionally sets a new target temperature for the heated bed and waits for the target temperature to be reached before proceeding. If the temperature is set with `S` then it waits *only when heating*.