3D printer G-code · Marlin
M600: Filament change (Marlin)
Filament change — Parks the head, unloads the filament and waits for the user to load the new one. Used for colour changes at a layer. Needs ADVANCED_PAUSE_FEATURE in Marlin. In Klipper…
On this page
| Property | Value |
|---|---|
| Command | M600 |
| Function | Filament change |
| Firmware | Marlin |
| Group | Print control |
| Syntax | M600 [X Y Z E L U] |
What does M600 do?
Parks the head, unloads the filament and waits for the user to load the new one. Used for colour changes at a layer. Needs ADVANCED_PAUSE_FEATURE in Marlin. In Klipper M600 is usually a macro that calls PAUSE.
Parameters
| Parameter | Meaning |
|---|---|
X Y | Park position |
Z | Lift |
U | Unload length |
L | Load length |
Example
;LAYER:42
M600 ; change colour hereTips from practice
- Slicers can insert M600 at a layer with "add colour change".
- Make the part warm enough: a long pause can let a part lift from the bed.
Marlin. Many Marlin commands only exist when the feature is enabled in the firmware build. If the printer answers "Unknown command", the feature is missing. Klipper does not understand most of these settings codes; it uses printer.cfg instead.
Related commands
More print control commands
| Command | Function | Firmware |
|---|---|---|
M220 | Speed factor | Marlin and Klipper |
M412 | Filament runout sensor | Marlin |
M413 | Power-loss recovery | Marlin |
M84 | Disable motors (M84 / M18) | Marlin and Klipper |
M400 | Finish moves | Marlin and Klipper |
M112 | Emergency stop | Marlin and Klipper |
M25 | Pause SD print (M25 / M24) | Marlin |
EXCLUDE_OBJECT | Cancel one object | Klipper |
PAUSE | Pause, resume, cancel | Klipper |
Test it before you print
Paste your start code or a whole file into the 3D printer simulator. It plans every move, shows the time and finds missing waits, cold extrusion and moves outside the bed.
Open the simulator