---
tag: m0282
title: Detach Servo
brief: Detach a servo until its next move
author: thinkyhead

group: servos
since: 2.0.9.2
requires: SERVO_DETACH_GCODE

codes: [ M282 ]
related: [ M280, M281 ]

parameters:

- tag: P
  optional: false
  description: Index of the servo to detach.
  values:
  - tag: index
    type: int

example:
- pre: Detach servo at index 1
  code: M282 P1

---

Detach a servo, which turns off its power. The servo will be attached (powered up) before its next move.
