Browse Source

Replace M905 with unique code M900

Scott Lahteine 8 years ago
parent
commit
a00ae4790a
23 changed files with 91 additions and 49 deletions
  1. 4
    2
      Marlin/Configuration_adv.h
  2. 4
    4
      Marlin/Marlin_main.cpp
  3. 3
    3
      Marlin/configuration_store.cpp
  4. 4
    2
      Marlin/example_configurations/Cartesio/Configuration_adv.h
  5. 4
    2
      Marlin/example_configurations/Felix/Configuration_adv.h
  6. 4
    2
      Marlin/example_configurations/Hephestos/Configuration_adv.h
  7. 4
    2
      Marlin/example_configurations/Hephestos_2/Configuration_adv.h
  8. 4
    2
      Marlin/example_configurations/K8200/Configuration_adv.h
  9. 4
    2
      Marlin/example_configurations/K8400/Configuration_adv.h
  10. 4
    2
      Marlin/example_configurations/RigidBot/Configuration_adv.h
  11. 4
    2
      Marlin/example_configurations/SCARA/Configuration_adv.h
  12. 4
    2
      Marlin/example_configurations/TAZ4/Configuration_adv.h
  13. 4
    2
      Marlin/example_configurations/TinyBoy2/Configuration_adv.h
  14. 4
    2
      Marlin/example_configurations/WITBOX/Configuration_adv.h
  15. 4
    2
      Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration_adv.h
  16. 4
    2
      Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration_adv.h
  17. 4
    2
      Marlin/example_configurations/delta/generic/Configuration_adv.h
  18. 4
    2
      Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h
  19. 4
    2
      Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h
  20. 4
    2
      Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h
  21. 4
    2
      Marlin/example_configurations/makibox/Configuration_adv.h
  22. 4
    2
      Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h
  23. 4
    2
      Marlin/example_configurations/wt150/Configuration_adv.h

+ 4
- 2
Marlin/Configuration_adv.h View File

633
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
633
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
634
    * if the slicer is using variable widths or layer heights within one print!
634
    * if the slicer is using variable widths or layer heights within one print!
635
    *
635
    *
636
-   * This option sets the default E:D ratio at startup. Use `M905` to override this value.
636
+   * This option sets the default E:D ratio at startup. Use `M900` to override this value.
637
    *
637
    *
638
-   * Example: `M905 W0.4 H0.2 D1.75`, where:
638
+   * Example: `M900 W0.4 H0.2 D1.75`, where:
639
    *   - W is the extrusion width in mm
639
    *   - W is the extrusion width in mm
640
    *   - H is the layer height in mm
640
    *   - H is the layer height in mm
641
    *   - D is the filament diameter in mm
641
    *   - D is the filament diameter in mm
642
    *
642
    *
643
+   * Example: `M900 R0.0458` to set the ratio directly.
644
+   *
643
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
645
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
644
    *
646
    *
645
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.
647
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.

+ 4
- 4
Marlin/Marlin_main.cpp View File

8797
 
8797
 
8798
 #if ENABLED(LIN_ADVANCE)
8798
 #if ENABLED(LIN_ADVANCE)
8799
   /**
8799
   /**
8800
-   * M905: Set and/or Get advance K factor and WH/D ratio
8800
+   * M900: Set and/or Get advance K factor and WH/D ratio
8801
    *
8801
    *
8802
    *  K<factor>                  Set advance K factor
8802
    *  K<factor>                  Set advance K factor
8803
    *  R<ratio>                   Set ratio directly (overrides WH/D)
8803
    *  R<ratio>                   Set ratio directly (overrides WH/D)
8804
    *  W<width> H<height> D<diam> Set ratio from WH/D
8804
    *  W<width> H<height> D<diam> Set ratio from WH/D
8805
    */
8805
    */
8806
-  inline void gcode_M905() {
8806
+  inline void gcode_M900() {
8807
     stepper.synchronize();
8807
     stepper.synchronize();
8808
 
8808
 
8809
     const float newK = code_seen('K') ? code_value_float() : -1;
8809
     const float newK = code_seen('K') ? code_value_float() : -1;
10264
       #endif // DUAL_X_CARRIAGE
10264
       #endif // DUAL_X_CARRIAGE
10265
 
10265
 
10266
       #if ENABLED(LIN_ADVANCE)
10266
       #if ENABLED(LIN_ADVANCE)
10267
-        case 905: // M905: Set advance K factor.
10268
-          gcode_M905();
10267
+        case 900: // M900: Set advance K factor.
10268
+          gcode_M900();
10269
           break;
10269
           break;
10270
       #endif
10270
       #endif
10271
 
10271
 

+ 3
- 3
Marlin/configuration_store.cpp View File

150
  *  576  M906 E4   stepperE4 current                (uint16_t)
150
  *  576  M906 E4   stepperE4 current                (uint16_t)
151
  *
151
  *
152
  * LIN_ADVANCE:                                     8 bytes
152
  * LIN_ADVANCE:                                     8 bytes
153
- *  580  M905 K    extruder_advance_k               (float)
154
- *  584  M905 WHD  advance_ed_ratio                 (float)
153
+ *  580  M900 K    extruder_advance_k               (float)
154
+ *  584  M900 WHD  advance_ed_ratio                 (float)
155
  *
155
  *
156
  *  588                                Minimum end-point
156
  *  588                                Minimum end-point
157
  * 1909 (588 + 36 + 9 + 288 + 988)     Maximum end-point
157
  * 1909 (588 + 36 + 9 + 288 + 988)     Maximum end-point
1665
         SERIAL_ECHOLNPGM("Linear Advance:");
1665
         SERIAL_ECHOLNPGM("Linear Advance:");
1666
       }
1666
       }
1667
       CONFIG_ECHO_START;
1667
       CONFIG_ECHO_START;
1668
-      SERIAL_ECHOPAIR("  M905 K", planner.get_extruder_advance_k());
1668
+      SERIAL_ECHOPAIR("  M900 K", planner.get_extruder_advance_k());
1669
       SERIAL_ECHOLNPAIR(" R", planner.get_advance_ed_ratio());
1669
       SERIAL_ECHOLNPAIR(" R", planner.get_advance_ed_ratio());
1670
     #endif
1670
     #endif
1671
   }
1671
   }

+ 4
- 2
Marlin/example_configurations/Cartesio/Configuration_adv.h View File

630
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
630
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
631
    * if the slicer is using variable widths or layer heights within one print!
631
    * if the slicer is using variable widths or layer heights within one print!
632
    *
632
    *
633
-   * This option sets the default E:D ratio at startup. Use `M905` to override this value.
633
+   * This option sets the default E:D ratio at startup. Use `M900` to override this value.
634
    *
634
    *
635
-   * Example: `M905 W0.4 H0.2 D1.75`, where:
635
+   * Example: `M900 W0.4 H0.2 D1.75`, where:
636
    *   - W is the extrusion width in mm
636
    *   - W is the extrusion width in mm
637
    *   - H is the layer height in mm
637
    *   - H is the layer height in mm
638
    *   - D is the filament diameter in mm
638
    *   - D is the filament diameter in mm
639
    *
639
    *
640
+   * Example: `M900 R0.0458` to set the ratio directly.
641
+   *
640
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
642
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
641
    *
643
    *
642
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.
644
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.

+ 4
- 2
Marlin/example_configurations/Felix/Configuration_adv.h View File

630
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
630
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
631
    * if the slicer is using variable widths or layer heights within one print!
631
    * if the slicer is using variable widths or layer heights within one print!
632
    *
632
    *
633
-   * This option sets the default E:D ratio at startup. Use `M905` to override this value.
633
+   * This option sets the default E:D ratio at startup. Use `M900` to override this value.
634
    *
634
    *
635
-   * Example: `M905 W0.4 H0.2 D1.75`, where:
635
+   * Example: `M900 W0.4 H0.2 D1.75`, where:
636
    *   - W is the extrusion width in mm
636
    *   - W is the extrusion width in mm
637
    *   - H is the layer height in mm
637
    *   - H is the layer height in mm
638
    *   - D is the filament diameter in mm
638
    *   - D is the filament diameter in mm
639
    *
639
    *
640
+   * Example: `M900 R0.0458` to set the ratio directly.
641
+   *
640
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
642
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
641
    *
643
    *
642
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.
644
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.

+ 4
- 2
Marlin/example_configurations/Hephestos/Configuration_adv.h View File

630
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
630
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
631
    * if the slicer is using variable widths or layer heights within one print!
631
    * if the slicer is using variable widths or layer heights within one print!
632
    *
632
    *
633
-   * This option sets the default E:D ratio at startup. Use `M905` to override this value.
633
+   * This option sets the default E:D ratio at startup. Use `M900` to override this value.
634
    *
634
    *
635
-   * Example: `M905 W0.4 H0.2 D1.75`, where:
635
+   * Example: `M900 W0.4 H0.2 D1.75`, where:
636
    *   - W is the extrusion width in mm
636
    *   - W is the extrusion width in mm
637
    *   - H is the layer height in mm
637
    *   - H is the layer height in mm
638
    *   - D is the filament diameter in mm
638
    *   - D is the filament diameter in mm
639
    *
639
    *
640
+   * Example: `M900 R0.0458` to set the ratio directly.
641
+   *
640
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
642
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
641
    *
643
    *
642
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.
644
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.

+ 4
- 2
Marlin/example_configurations/Hephestos_2/Configuration_adv.h View File

614
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
614
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
615
    * if the slicer is using variable widths or layer heights within one print!
615
    * if the slicer is using variable widths or layer heights within one print!
616
    *
616
    *
617
-   * This option sets the default E:D ratio at startup. Use `M905` to override this value.
617
+   * This option sets the default E:D ratio at startup. Use `M900` to override this value.
618
    *
618
    *
619
-   * Example: `M905 W0.4 H0.2 D1.75`, where:
619
+   * Example: `M900 W0.4 H0.2 D1.75`, where:
620
    *   - W is the extrusion width in mm
620
    *   - W is the extrusion width in mm
621
    *   - H is the layer height in mm
621
    *   - H is the layer height in mm
622
    *   - D is the filament diameter in mm
622
    *   - D is the filament diameter in mm
623
    *
623
    *
624
+   * Example: `M900 R0.0458` to set the ratio directly.
625
+   *
624
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
626
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
625
    *
627
    *
626
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.
628
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.

+ 4
- 2
Marlin/example_configurations/K8200/Configuration_adv.h View File

643
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
643
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
644
    * if the slicer is using variable widths or layer heights within one print!
644
    * if the slicer is using variable widths or layer heights within one print!
645
    *
645
    *
646
-   * This option sets the default E:D ratio at startup. Use `M905` to override this value.
646
+   * This option sets the default E:D ratio at startup. Use `M900` to override this value.
647
    *
647
    *
648
-   * Example: `M905 W0.4 H0.2 D1.75`, where:
648
+   * Example: `M900 W0.4 H0.2 D1.75`, where:
649
    *   - W is the extrusion width in mm
649
    *   - W is the extrusion width in mm
650
    *   - H is the layer height in mm
650
    *   - H is the layer height in mm
651
    *   - D is the filament diameter in mm
651
    *   - D is the filament diameter in mm
652
    *
652
    *
653
+   * Example: `M900 R0.0458` to set the ratio directly.
654
+   *
653
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
655
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
654
    *
656
    *
655
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.
657
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.

+ 4
- 2
Marlin/example_configurations/K8400/Configuration_adv.h View File

630
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
630
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
631
    * if the slicer is using variable widths or layer heights within one print!
631
    * if the slicer is using variable widths or layer heights within one print!
632
    *
632
    *
633
-   * This option sets the default E:D ratio at startup. Use `M905` to override this value.
633
+   * This option sets the default E:D ratio at startup. Use `M900` to override this value.
634
    *
634
    *
635
-   * Example: `M905 W0.4 H0.2 D1.75`, where:
635
+   * Example: `M900 W0.4 H0.2 D1.75`, where:
636
    *   - W is the extrusion width in mm
636
    *   - W is the extrusion width in mm
637
    *   - H is the layer height in mm
637
    *   - H is the layer height in mm
638
    *   - D is the filament diameter in mm
638
    *   - D is the filament diameter in mm
639
    *
639
    *
640
+   * Example: `M900 R0.0458` to set the ratio directly.
641
+   *
640
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
642
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
641
    *
643
    *
642
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.
644
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.

+ 4
- 2
Marlin/example_configurations/RigidBot/Configuration_adv.h View File

630
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
630
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
631
    * if the slicer is using variable widths or layer heights within one print!
631
    * if the slicer is using variable widths or layer heights within one print!
632
    *
632
    *
633
-   * This option sets the default E:D ratio at startup. Use `M905` to override this value.
633
+   * This option sets the default E:D ratio at startup. Use `M900` to override this value.
634
    *
634
    *
635
-   * Example: `M905 W0.4 H0.2 D1.75`, where:
635
+   * Example: `M900 W0.4 H0.2 D1.75`, where:
636
    *   - W is the extrusion width in mm
636
    *   - W is the extrusion width in mm
637
    *   - H is the layer height in mm
637
    *   - H is the layer height in mm
638
    *   - D is the filament diameter in mm
638
    *   - D is the filament diameter in mm
639
    *
639
    *
640
+   * Example: `M900 R0.0458` to set the ratio directly.
641
+   *
640
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
642
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
641
    *
643
    *
642
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.
644
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.

+ 4
- 2
Marlin/example_configurations/SCARA/Configuration_adv.h View File

630
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
630
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
631
    * if the slicer is using variable widths or layer heights within one print!
631
    * if the slicer is using variable widths or layer heights within one print!
632
    *
632
    *
633
-   * This option sets the default E:D ratio at startup. Use `M905` to override this value.
633
+   * This option sets the default E:D ratio at startup. Use `M900` to override this value.
634
    *
634
    *
635
-   * Example: `M905 W0.4 H0.2 D1.75`, where:
635
+   * Example: `M900 W0.4 H0.2 D1.75`, where:
636
    *   - W is the extrusion width in mm
636
    *   - W is the extrusion width in mm
637
    *   - H is the layer height in mm
637
    *   - H is the layer height in mm
638
    *   - D is the filament diameter in mm
638
    *   - D is the filament diameter in mm
639
    *
639
    *
640
+   * Example: `M900 R0.0458` to set the ratio directly.
641
+   *
640
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
642
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
641
    *
643
    *
642
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.
644
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.

+ 4
- 2
Marlin/example_configurations/TAZ4/Configuration_adv.h View File

638
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
638
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
639
    * if the slicer is using variable widths or layer heights within one print!
639
    * if the slicer is using variable widths or layer heights within one print!
640
    *
640
    *
641
-   * This option sets the default E:D ratio at startup. Use `M905` to override this value.
641
+   * This option sets the default E:D ratio at startup. Use `M900` to override this value.
642
    *
642
    *
643
-   * Example: `M905 W0.4 H0.2 D1.75`, where:
643
+   * Example: `M900 W0.4 H0.2 D1.75`, where:
644
    *   - W is the extrusion width in mm
644
    *   - W is the extrusion width in mm
645
    *   - H is the layer height in mm
645
    *   - H is the layer height in mm
646
    *   - D is the filament diameter in mm
646
    *   - D is the filament diameter in mm
647
    *
647
    *
648
+   * Example: `M900 R0.0458` to set the ratio directly.
649
+   *
648
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
650
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
649
    *
651
    *
650
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.
652
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.

+ 4
- 2
Marlin/example_configurations/TinyBoy2/Configuration_adv.h View File

633
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
633
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
634
    * if the slicer is using variable widths or layer heights within one print!
634
    * if the slicer is using variable widths or layer heights within one print!
635
    *
635
    *
636
-   * This option sets the default E:D ratio at startup. Use `M905` to override this value.
636
+   * This option sets the default E:D ratio at startup. Use `M900` to override this value.
637
    *
637
    *
638
-   * Example: `M905 W0.4 H0.2 D1.75`, where:
638
+   * Example: `M900 W0.4 H0.2 D1.75`, where:
639
    *   - W is the extrusion width in mm
639
    *   - W is the extrusion width in mm
640
    *   - H is the layer height in mm
640
    *   - H is the layer height in mm
641
    *   - D is the filament diameter in mm
641
    *   - D is the filament diameter in mm
642
    *
642
    *
643
+   * Example: `M900 R0.0458` to set the ratio directly.
644
+   *
643
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
645
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
644
    *
646
    *
645
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.
647
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.

+ 4
- 2
Marlin/example_configurations/WITBOX/Configuration_adv.h View File

630
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
630
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
631
    * if the slicer is using variable widths or layer heights within one print!
631
    * if the slicer is using variable widths or layer heights within one print!
632
    *
632
    *
633
-   * This option sets the default E:D ratio at startup. Use `M905` to override this value.
633
+   * This option sets the default E:D ratio at startup. Use `M900` to override this value.
634
    *
634
    *
635
-   * Example: `M905 W0.4 H0.2 D1.75`, where:
635
+   * Example: `M900 W0.4 H0.2 D1.75`, where:
636
    *   - W is the extrusion width in mm
636
    *   - W is the extrusion width in mm
637
    *   - H is the layer height in mm
637
    *   - H is the layer height in mm
638
    *   - D is the filament diameter in mm
638
    *   - D is the filament diameter in mm
639
    *
639
    *
640
+   * Example: `M900 R0.0458` to set the ratio directly.
641
+   *
640
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
642
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
641
    *
643
    *
642
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.
644
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.

+ 4
- 2
Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration_adv.h View File

654
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
654
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
655
    * if the slicer is using variable widths or layer heights within one print!
655
    * if the slicer is using variable widths or layer heights within one print!
656
    *
656
    *
657
-   * This option sets the default E:D ratio at startup. Use `M905` to override this value.
657
+   * This option sets the default E:D ratio at startup. Use `M900` to override this value.
658
    *
658
    *
659
-   * Example: `M905 W0.4 H0.2 D1.75`, where:
659
+   * Example: `M900 W0.4 H0.2 D1.75`, where:
660
    *   - W is the extrusion width in mm
660
    *   - W is the extrusion width in mm
661
    *   - H is the layer height in mm
661
    *   - H is the layer height in mm
662
    *   - D is the filament diameter in mm
662
    *   - D is the filament diameter in mm
663
    *
663
    *
664
+   * Example: `M900 R0.0458` to set the ratio directly.
665
+   *
664
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
666
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
665
    *
667
    *
666
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.
668
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.

+ 4
- 2
Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration_adv.h View File

654
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
654
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
655
    * if the slicer is using variable widths or layer heights within one print!
655
    * if the slicer is using variable widths or layer heights within one print!
656
    *
656
    *
657
-   * This option sets the default E:D ratio at startup. Use `M905` to override this value.
657
+   * This option sets the default E:D ratio at startup. Use `M900` to override this value.
658
    *
658
    *
659
-   * Example: `M905 W0.4 H0.2 D1.75`, where:
659
+   * Example: `M900 W0.4 H0.2 D1.75`, where:
660
    *   - W is the extrusion width in mm
660
    *   - W is the extrusion width in mm
661
    *   - H is the layer height in mm
661
    *   - H is the layer height in mm
662
    *   - D is the filament diameter in mm
662
    *   - D is the filament diameter in mm
663
    *
663
    *
664
+   * Example: `M900 R0.0458` to set the ratio directly.
665
+   *
664
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
666
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
665
    *
667
    *
666
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.
668
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.

+ 4
- 2
Marlin/example_configurations/delta/generic/Configuration_adv.h View File

651
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
651
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
652
    * if the slicer is using variable widths or layer heights within one print!
652
    * if the slicer is using variable widths or layer heights within one print!
653
    *
653
    *
654
-   * This option sets the default E:D ratio at startup. Use `M905` to override this value.
654
+   * This option sets the default E:D ratio at startup. Use `M900` to override this value.
655
    *
655
    *
656
-   * Example: `M905 W0.4 H0.2 D1.75`, where:
656
+   * Example: `M900 W0.4 H0.2 D1.75`, where:
657
    *   - W is the extrusion width in mm
657
    *   - W is the extrusion width in mm
658
    *   - H is the layer height in mm
658
    *   - H is the layer height in mm
659
    *   - D is the filament diameter in mm
659
    *   - D is the filament diameter in mm
660
    *
660
    *
661
+   * Example: `M900 R0.0458` to set the ratio directly.
662
+   *
661
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
663
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
662
    *
664
    *
663
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.
665
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.

+ 4
- 2
Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h View File

651
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
651
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
652
    * if the slicer is using variable widths or layer heights within one print!
652
    * if the slicer is using variable widths or layer heights within one print!
653
    *
653
    *
654
-   * This option sets the default E:D ratio at startup. Use `M905` to override this value.
654
+   * This option sets the default E:D ratio at startup. Use `M900` to override this value.
655
    *
655
    *
656
-   * Example: `M905 W0.4 H0.2 D1.75`, where:
656
+   * Example: `M900 W0.4 H0.2 D1.75`, where:
657
    *   - W is the extrusion width in mm
657
    *   - W is the extrusion width in mm
658
    *   - H is the layer height in mm
658
    *   - H is the layer height in mm
659
    *   - D is the filament diameter in mm
659
    *   - D is the filament diameter in mm
660
    *
660
    *
661
+   * Example: `M900 R0.0458` to set the ratio directly.
662
+   *
661
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
663
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
662
    *
664
    *
663
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.
665
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.

+ 4
- 2
Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h View File

657
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
657
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
658
    * if the slicer is using variable widths or layer heights within one print!
658
    * if the slicer is using variable widths or layer heights within one print!
659
    *
659
    *
660
-   * This option sets the default E:D ratio at startup. Use `M905` to override this value.
660
+   * This option sets the default E:D ratio at startup. Use `M900` to override this value.
661
    *
661
    *
662
-   * Example: `M905 W0.4 H0.2 D1.75`, where:
662
+   * Example: `M900 W0.4 H0.2 D1.75`, where:
663
    *   - W is the extrusion width in mm
663
    *   - W is the extrusion width in mm
664
    *   - H is the layer height in mm
664
    *   - H is the layer height in mm
665
    *   - D is the filament diameter in mm
665
    *   - D is the filament diameter in mm
666
    *
666
    *
667
+   * Example: `M900 R0.0458` to set the ratio directly.
668
+   *
667
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
669
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
668
    *
670
    *
669
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.
671
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.

+ 4
- 2
Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h View File

651
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
651
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
652
    * if the slicer is using variable widths or layer heights within one print!
652
    * if the slicer is using variable widths or layer heights within one print!
653
    *
653
    *
654
-   * This option sets the default E:D ratio at startup. Use `M905` to override this value.
654
+   * This option sets the default E:D ratio at startup. Use `M900` to override this value.
655
    *
655
    *
656
-   * Example: `M905 W0.4 H0.2 D1.75`, where:
656
+   * Example: `M900 W0.4 H0.2 D1.75`, where:
657
    *   - W is the extrusion width in mm
657
    *   - W is the extrusion width in mm
658
    *   - H is the layer height in mm
658
    *   - H is the layer height in mm
659
    *   - D is the filament diameter in mm
659
    *   - D is the filament diameter in mm
660
    *
660
    *
661
+   * Example: `M900 R0.0458` to set the ratio directly.
662
+   *
661
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
663
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
662
    *
664
    *
663
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.
665
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.

+ 4
- 2
Marlin/example_configurations/makibox/Configuration_adv.h View File

630
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
630
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
631
    * if the slicer is using variable widths or layer heights within one print!
631
    * if the slicer is using variable widths or layer heights within one print!
632
    *
632
    *
633
-   * This option sets the default E:D ratio at startup. Use `M905` to override this value.
633
+   * This option sets the default E:D ratio at startup. Use `M900` to override this value.
634
    *
634
    *
635
-   * Example: `M905 W0.4 H0.2 D1.75`, where:
635
+   * Example: `M900 W0.4 H0.2 D1.75`, where:
636
    *   - W is the extrusion width in mm
636
    *   - W is the extrusion width in mm
637
    *   - H is the layer height in mm
637
    *   - H is the layer height in mm
638
    *   - D is the filament diameter in mm
638
    *   - D is the filament diameter in mm
639
    *
639
    *
640
+   * Example: `M900 R0.0458` to set the ratio directly.
641
+   *
640
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
642
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
641
    *
643
    *
642
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.
644
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.

+ 4
- 2
Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h View File

630
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
630
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
631
    * if the slicer is using variable widths or layer heights within one print!
631
    * if the slicer is using variable widths or layer heights within one print!
632
    *
632
    *
633
-   * This option sets the default E:D ratio at startup. Use `M905` to override this value.
633
+   * This option sets the default E:D ratio at startup. Use `M900` to override this value.
634
    *
634
    *
635
-   * Example: `M905 W0.4 H0.2 D1.75`, where:
635
+   * Example: `M900 W0.4 H0.2 D1.75`, where:
636
    *   - W is the extrusion width in mm
636
    *   - W is the extrusion width in mm
637
    *   - H is the layer height in mm
637
    *   - H is the layer height in mm
638
    *   - D is the filament diameter in mm
638
    *   - D is the filament diameter in mm
639
    *
639
    *
640
+   * Example: `M900 R0.0458` to set the ratio directly.
641
+   *
640
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
642
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
641
    *
643
    *
642
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.
644
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.

+ 4
- 2
Marlin/example_configurations/wt150/Configuration_adv.h View File

633
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
633
    * to a fixed value. Note that using a fixed ratio will lead to wrong nozzle pressures
634
    * if the slicer is using variable widths or layer heights within one print!
634
    * if the slicer is using variable widths or layer heights within one print!
635
    *
635
    *
636
-   * This option sets the default E:D ratio at startup. Use `M905` to override this value.
636
+   * This option sets the default E:D ratio at startup. Use `M900` to override this value.
637
    *
637
    *
638
-   * Example: `M905 W0.4 H0.2 D1.75`, where:
638
+   * Example: `M900 W0.4 H0.2 D1.75`, where:
639
    *   - W is the extrusion width in mm
639
    *   - W is the extrusion width in mm
640
    *   - H is the layer height in mm
640
    *   - H is the layer height in mm
641
    *   - D is the filament diameter in mm
641
    *   - D is the filament diameter in mm
642
    *
642
    *
643
+   * Example: `M900 R0.0458` to set the ratio directly.
644
+   *
643
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
645
    * Set to 0 to auto-detect the ratio based on given Gcode G1 print moves.
644
    *
646
    *
645
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.
647
    * Slic3r (including Prusa Slic3r) produces Gcode compatible with the automatic mode.

Loading…
Cancel
Save