M200 - Set Filament Diameter

motion Set the diameter for volumetric extrusion.


Set the filament’s current diameter and enable volumetric extrusion.

In volumetric extrusion mode the E axis specifies cubic mm instead of linear mm, and the firmware calculates how much length to extrude for the given volume based on the filament diameter.


M200 [D<diameter>] [L<volume>] [S<flag>] [T<index>]



Filament diameter


Set volumetric extruder limit (in mm3/sec). L0 disables the limit. (Requires VOLUMETRIC_EXTRUDER_LIMIT.)


0 to disable volumetric extrusion mode, otherwise volumetric is enabled.


Extruder index. If omitted, the currently active extruder will be used.


A common diameter close to 3mm:

M200 D2.85

1.75mm diameter with volumetric extrusion mode enabled

M200 S1 D1.75

1.75mm diameter with volumetric extrusion mode disabled

M200 S0 D1.75

Turn off volumetric extrusion

M200 D0
M200 D  ; ...also works
M200 S0 ; ...also works