Welcome to mirror list, hosted at ThFree Co, Russian Federation.

M200.md « _gcode - github.com/MarlinFirmware/MarlinDocumentation.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 83af20bc358d3c8ec7ab89504396d7d8ffaa01af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
---
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 mm<sup>3</sup>/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.