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…

By cnccode · Updated
On this page
  1. What does M600 do?
  2. Parameters
  3. Example
  4. Tips from practice
  5. Related commands
  6. More print control commands
  7. Frequently asked questions
PropertyValue
CommandM600
FunctionFilament change
FirmwareMarlin
GroupPrint control
SyntaxM600 [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

ParameterMeaning
X YPark position
ZLift
UUnload length
LLoad length

Example

G-code
;LAYER:42
M600 ; change colour here

Tips 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.

More print control commands

CommandFunctionFirmware
M220Speed factorMarlin and Klipper
M412Filament runout sensorMarlin
M413Power-loss recoveryMarlin
M84Disable motors (M84 / M18)Marlin and Klipper
M400Finish movesMarlin and Klipper
M112Emergency stopMarlin and Klipper
M25Pause SD print (M25 / M24)Marlin
EXCLUDE_OBJECTCancel one objectKlipper
PAUSEPause, resume, cancelKlipper

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

Frequently asked questions

What does M600 do on a 3D printer?
M600 is 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 M600 is usually a macro that calls PAUSE.
Does M600 work in Klipper and Marlin?
M600 is a Marlin command. Klipper uses its own commands and printer.cfg settings for this task.
Was this page helpful?