Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
extruder [2017/01/25 16:12] arthur |
extruder [2018/02/01 16:01] (current) 146.90.249.33 [G-code] |
||
---|---|---|---|
Line 5: | Line 5: | ||
All of the options currently supported by the Extruder module : | All of the options currently supported by the Extruder module : | ||
- | ||~ Option ||~ Example value ||~ Explanation || | + | ^ Option ^ Example value ^ Explanation ^ |
{{page>extruder-options}} | {{page>extruder-options}} | ||
Line 12: | Line 12: | ||
This is the new format which allows multiple extruders. The old format is deprecated. The old "one-extruder-only" configuration options will still be valid for backward compatibility, but it is recommended not to use them. | This is the new format which allows multiple extruders. The old format is deprecated. The old "one-extruder-only" configuration options will still be valid for backward compatibility, but it is recommended not to use them. | ||
- | For example where before you used {{extruder_steps_per_mm}} you must now use {{extruder.[[module-name]].steps_per_mm}}. | + | For example where before you used <kbd>extruder_steps_per_mm</kbd> you must now use <kbd>extruder.[[module-name]].steps_per_mm</kbd>. |
</callout> | </callout> | ||
Line 18: | Line 18: | ||
== G-code | == G-code | ||
- | Here are the G-code commands currently supported by the Extruder module :Â | + | Here are the G-code commands currently supported by the Extruder module : |
- | * {{G0}}/{{G1}} : Move to the given coordinates. The F parameter defines speed and is remembered by subsequent commands ( specified in millimetres/minute ) (command is modal) | + | * <kbd>G0</kbd>/<kbd>G1</kbd> : Move to the given coordinates. The F parameter defines speed and is remembered by subsequent commands ( specified in millimetres/minute ) (command is modal) |
- | * {{G10}} : Do firmware extruder retract | + | * <kbd>G10</kbd> : Do firmware extruder retract |
- | * {{G11}} : Do firmware extruder un-retract | + | * <kbd>G11</kbd> : Do firmware extruder un-retract |
- | * {{G90}} : Absolute mode ( default ) : passed coordinates will be considered absolute (command is modal) | + | * <kbd>G90</kbd> : Absolute mode ( default ) : passed coordinates will be considered absolute (command is modal) |
- | * {{G91}} : Relative mode : passed coordinates will be considered relative to the current point (command is modal ). Make sure you use {{G92 E0}} to reset the extruder position every layer. | + | * <kbd>G91</kbd> : Relative mode : passed coordinates will be considered relative to the current point (command is modal ). Make sure you use <kbd>G92 E0</kbd> to reset the extruder position every layer. |
- | * {{G92}} : Set current position to specified coordinates ( example : {{G92 E0}} ) | + | * <kbd>G92</kbd> : Set current position to specified coordinates ( example : <kbd>G92 E0</kbd> ) |
- | * {{M17}} : Turn the active stepper motor driver's off | + | * <kbd>M17</kbd> : Turn the active stepper motor driver's off |
- | * {{M18}} : Turn the active stepper motor driver's on | + | * <kbd>M18</kbd> : Turn the active stepper motor driver's on |
- | * {{M82}} : Set absolute mode for extruder only | + | * <kbd>M82</kbd> : Set absolute mode for extruder only |
- | * {{M83}} : Set relative mode for extruder only | + | * <kbd>M83</kbd> : Set relative mode for extruder only |
- | * {{M84}} : Turn the active stepper motor driver's on | + | * <kbd>M84</kbd> : Turn the active stepper motor driver's on |
- | * {{M92}} : Set this axis' steps per millimetre. For example {{M92 E100}} to set for the currently active Extruder, and {{M92 E100 P2}} to set for the second extruder. | + | * <kbd>M92</kbd> : Set this axis' steps per millimetre. For example <kbd>M92 E100</kbd> to set for the currently active Extruder, or <kbd>T1 M92 E100</kbd> to set for the second extruder. |
- | * {{M114}} : Displays XYZ position, as well as the E position of the currently active Extruder | + | * <kbd>M114</kbd> : Displays XYZ position, as well as the E position of the currently active Extruder |
- | * {{M200}} : Set E units for volumetric extrusion - D<filament diameter> set to 0 to disable volumetric extrusion, for example : {{M200 D3.0}} to set for the currently active Extruder, and {{M200 D3.0 P3}} to set for the third Extruder. | + | * <kbd>M200</kbd> : Set E units for volumetric extrusion - D<filament diameter> set to 0 to disable volumetric extrusion, for example : <kbd>M200 D3.0</kbd> to set for the currently active Extruder, and <kbd>M200 D3.0 P3</kbd> to set for the third Extruder. |
- | * {{M203}} : Set maximum rate for axis, set E for Extruder axis or V for volumetric extrusion limit, for example : {{M203 V10}} will limit extrusion moves to no faster than 10mm^3/s. {{M203 V0}} disables. | + | * <kbd>M203</kbd> : Set maximum rate for axis, set E for Extruder axis or V for volumetric extrusion limit, for example : <kbd>M203 V10</kbd> will limit extrusion moves to no faster than 10mm^3/s. <kbd>M203 V0</kbd> disables. |
- | * {{M204}} : Set acceleration in mm/sec^2, E<nnn> sets extruder only move acceleration, for example : {{M204 E500}}. P selects the extruder, uses the currently active extruder if omitted. | + | * <kbd>M204</kbd> : Set acceleration in mm/sec^2, E<nnn> sets extruder only move acceleration, for example : <kbd>M204 E500</kbd>. P selects the extruder, uses the currently active extruder if omitted. |
- | * {{M207}} : Set retract length S[[positive|mm]] F[[feedrate|mm/min]] Z[[additional|zlift/hop]] Q[[zlift|feedrate mm/min]], for example : {{M207 S4 F30 Z1}} | + | * <kbd>M207</kbd> : Set retract length S[[positive|mm]] F[[feedrate|mm/min]] Z[[additional|zlift/hop]] Q[[zlift|feedrate mm/min]], for example : <kbd>M207 S4 F30 Z1</kbd> |
- | * {{M208}} : Set retract recover length S[[positive|mm surplus to the M207 S*]] F[[feedrate|mm/min]], for example : {{M208 S0 F8}} | + | * <kbd>M208</kbd> : Set retract recover length S[[positive|mm surplus to the M207 S*]] F[[feedrate|mm/min]], for example : <kbd>M208 S0 F8</kbd> |
- | * {{M221}} : S<flow rate factor in percent> : Set flow rate factor override percentage for current extruder | + | * <kbd>M221</kbd> : S<flow rate factor in percent> : Set flow rate factor override percentage for current extruder |
- | * {{M500}} : Save volatile settings to an override file | + | * <kbd>M500</kbd> : Save volatile settings to an override file |
- | * {{M503}} : Display volatile settings | + | * <kbd>M503</kbd> : Display volatile settings |
- | === External ressources | + | <callout type="default" icon="true" title="Going further"> |
+ | If you want to learn more about this module, or are curious how it works, Smoothie is Open-Source and you can simply go look at the code, [[https://github.com/Smoothieware/Smoothieware/blob/edge/src/modules/tools/extruder/Extruder.cpp|here]]. | ||
+ | </callout> | ||
+ | |||
+ | === External resources | ||
- | [[html]] | + | <html> |
<iframe width="100%" height="720" src="https://www.youtube.com/embed/YUPfBJz3I6Y" frameborder="0" allowfullscreen></iframe> | <iframe width="100%" height="720" src="https://www.youtube.com/embed/YUPfBJz3I6Y" frameborder="0" allowfullscreen></iframe> | ||
- | [[/html]] | + | </html> |