---
tag: m0600
title: Filament Change
brief: Automatically change filament
author: clexpert, petrzjunior
contrib: thinkyhead

group: filament
since: 1.1.0
requires: ADVANCED_PAUSE_FEATURE

codes: [ M600 ]
related: [ M603, M701, M702 ]

notes:
- Requires `ADVANCED_PAUSE_FEATURE`.
- The settings for this command can be found in `Configuration_adv.h`. At this time [`M600`](/docs/gcode/M600.html) requires an LCD controller.

parameters:

- tag: T
  optional: true
  description: Target extruder
  values:
  - tag: index
    type: int

- tag: E
  optional: true
  description: Retract before moving to change position (negative, default `PAUSE_PARK_RETRACT_LENGTH`)
  values:
  - tag: pos
    type: float

- tag: U
  optional: true
  description: Amount of retraction for unload (negative)
  values:
  - tag: pos
    type: float

- tag: L
  optional: true
  description: Load length, longer for bowden (positive)
  values:
  - tag: pos
    type: float

- tag: X
  optional: true
  description: X position for filament change
  values:
  - tag: pos
    type: float

- tag: Y
  optional: true
  description: Y position for filament change
  values:
  - tag: pos
    type: float

- tag: Z
  optional: true
  description: Z relative lift for filament change position
  values:
  - tag: pos
    type: float

- tag: B
  optional: true
  description: Number of beeps to alert user of filament change (default `FILAMENT_CHANGE_ALERT_BEEPS`)
  values:
  - tag: beeps
    type: int

- tag: R
  optional: true
  description: "Resume temperature. (AUTOTEMP: the min auto-temperature.)"
  values:
  - tag: temp
    type: int

examples:

- pre: With no parameters [`M600`](/docs/gcode/M600.html) uses your configured settings.
  code: M600 ; execute filament change

- pre: 'To set the change position:'
  code: M600 X10 Y15 Z5 ; Do filament change at X:10, Y:15 and Z:+5 from current

---

The [`M600`](/docs/gcode/M600.html) command initiates the filament change procedure. The basic procedure will move the print head away from the print, eject the filament, wait for new filament to be inserted and the user to confirm, load and prime the filament, and continue with the print. [`M600`](/docs/gcode/M600.html) may be initiated automatically if a filament runout sensor is installed.
