--- tag: m0200 title: Set Filament Diameter brief: Set the diameter for volumetric extrusion. author: thinkyhead group: motion codes: [ M200 ] notes: parameters: - tag: D optional: true description: Filament diameter values: - tag: diameter type: float - tag: L optional: true description: Set volumetric extruder limit (in mm3/sec). `L0` disables the limit. (Requires `VOLUMETRIC_EXTRUDER_LIMIT`.) values: - tag: volume type: float - tag: S optional: true description: 0 to disable volumetric extrusion mode, otherwise volumetric is enabled. values: - tag: flag type: bool - tag: T optional: true description: Extruder index. If omitted, the currently active extruder will be used. values: - tag: index type: int examples: - pre: 'A common diameter close to 3mm:' code: M200 D2.85 - pre: '1.75mm diameter with volumetric extrusion mode enabled' code: M200 S1 D1.75 - pre: '1.75mm diameter with volumetric extrusion mode disabled' code: M200 S0 D1.75 - pre: Turn off volumetric extrusion code: - M200 D0 - M200 D ; ...also works - M200 S0 ; ...also works --- 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.