--- tag: m0140 title: Set Bed Temperature brief: Set a new target bed temperature. author: thinkyhead group: thermal codes: [ M140 ] notes: 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 values: - tag: temp type: float examples: - pre: Set target temperature, no waiting code: M140 S80 --- Set a new target temperature for the heated bed and continue without waiting. The firmware manages heating in the background. Use [`M190`](/docs/gcode/M190.html) to wait for the bed to reach the target temperature.