---
tag: m0912
title: Clear TMC OT Pre-Warn
brief: Clear overtemperature pre-warn condition flag
author: thinkyhead

group: control
requires: TMC2130|TMC2208|TMC2209|TMC2660, MONITOR_DRIVER_STATUS

codes: [ M912 ]
related: [ M911 ]

notes: Requires at least one TMC stepper driver with SPI or UART connection.

parameters:

- tag: I
  optional: true
  since: 1.1.9
  description: Stepper number to set. If omitted, all specified axes.
  values:
  - tag: 0
    description: Both.
  - tag: 1
    description: Base (X, Y, Z) steppers.
  - tag: 2
    description: Second (X2, Y2, Z2) steppers.
  - tag: 3
    description: Third (Z3) steppers.

- tag: X
  type: int
  optional: true
  description: Clear `X` and/or `X2` stepper driver Over Temperature Pre-warn flag.

- tag: Y
  type: int
  optional: true
  description: Clear `Y` and/or `Y2` stepper driver Over Temperature Pre-warn flag.

- tag: Z
  type: int
  optional: true
  description: Clear `Z` and/or `Z2`  and/or `Z3` stepper driver Over Temperature Pre-warn flag.

- tag: E
  type: int
  optional: true
  description: Clear all or one `E` stepper driver Over Temperature Pre-warn flag.
  values:
  - tag: "-"
    description: All E.
  - tag: 0-4
    description: E index.

examples:
- code:
  - M912     ; clear all
  - M912 X   ; clear X and X2
  - M912 X1  ; clear X1 only
  - M912 X2  ; clear X2 only
  - M912 X E ; clear X, X2, and all E
  - M912 E1  ; clear E1 only

---

Clear the stepper driver overtemperature pre-warn condition flag.
