---
tag: m0302
title: Cold Extrude
brief: Set minimum extrusion temperature, allow cold extrusion.
author: thinkyhead

group: thermal
requires: PREVENT_COLD_EXTRUSION

codes: [ M302 ]

notes: Requires `PREVENT_COLD_EXTRUSION`.

parameters:

- tag: S
  optional: true
  description: Minimum temperature for safe extrusion
  values:
  - tag: temp
    type: float

- tag: P
  optional: true
  description: Flag to allow extrusion at any temperature
  values:
  - type: bool

examples:

- pre: Some common uses...
  code:
  - M302         ; report current cold extrusion state
  - M302 P0      ; enable cold extrusion checking
  - M302 P1      ; disable cold extrusion checking
  - M302 S0      ; always allow extrusion (disable checking)
  - M302 S170    ; only allow extrusion above 170
  - M302 S170 P1 ; set min extrude temp to 170 but leave disabled

---

Set the minimum extrusion temperature, potentially allowing E movement at temperatures below the melting point of the material.
