Преглед на файлове

Add MIN_SOFTWARE_ENDSTOP_[XYZ] to example configs

Scott Lahteine преди 6 години
родител
ревизия
e05af35678
променени са 35 файла, в които са добавени 770 реда и са изтрити 70 реда
  1. 22
    2
      Marlin/example_configurations/AlephObjects/TAZ4/Configuration.h
  2. 22
    2
      Marlin/example_configurations/AliExpress/CL-260/Configuration.h
  3. 22
    2
      Marlin/example_configurations/Anet/A6/Configuration.h
  4. 22
    2
      Marlin/example_configurations/Anet/A8/Configuration.h
  5. 22
    2
      Marlin/example_configurations/BQ/Hephestos/Configuration.h
  6. 22
    2
      Marlin/example_configurations/BQ/Hephestos_2/Configuration.h
  7. 22
    2
      Marlin/example_configurations/BQ/WITBOX/Configuration.h
  8. 22
    2
      Marlin/example_configurations/Cartesio/Configuration.h
  9. 22
    2
      Marlin/example_configurations/Creality/CR-10/Configuration.h
  10. 22
    2
      Marlin/example_configurations/Felix/Configuration.h
  11. 22
    2
      Marlin/example_configurations/Felix/DUAL/Configuration.h
  12. 22
    2
      Marlin/example_configurations/Folger Tech/i3-2020/Configuration.h
  13. 22
    2
      Marlin/example_configurations/Geeetech/GT2560/Configuration.h
  14. 22
    2
      Marlin/example_configurations/Geeetech/I3_Pro_X-GT2560/Configuration.h
  15. 22
    2
      Marlin/example_configurations/Infitary/i3-M508/Configuration.h
  16. 22
    2
      Marlin/example_configurations/Malyan/M150/Configuration.h
  17. 22
    2
      Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h
  18. 22
    2
      Marlin/example_configurations/RigidBot/Configuration.h
  19. 22
    2
      Marlin/example_configurations/SCARA/Configuration.h
  20. 22
    2
      Marlin/example_configurations/Sanguinololu/Configuration.h
  21. 22
    2
      Marlin/example_configurations/TinyBoy2/Configuration.h
  22. 22
    2
      Marlin/example_configurations/Velleman/K8200/Configuration.h
  23. 22
    2
      Marlin/example_configurations/Velleman/K8400/Configuration.h
  24. 22
    2
      Marlin/example_configurations/Velleman/K8400/Dual-head/Configuration.h
  25. 22
    2
      Marlin/example_configurations/adafruit/ST7565/Configuration.h
  26. 22
    2
      Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration.h
  27. 22
    2
      Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration.h
  28. 22
    2
      Marlin/example_configurations/delta/generic/Configuration.h
  29. 22
    2
      Marlin/example_configurations/delta/kossel_mini/Configuration.h
  30. 22
    2
      Marlin/example_configurations/delta/kossel_pro/Configuration.h
  31. 22
    2
      Marlin/example_configurations/delta/kossel_xl/Configuration.h
  32. 22
    2
      Marlin/example_configurations/gCreate/gMax1.5+/Configuration.h
  33. 22
    2
      Marlin/example_configurations/makibox/Configuration.h
  34. 22
    2
      Marlin/example_configurations/tvrrug/Round2/Configuration.h
  35. 22
    2
      Marlin/example_configurations/wt150/Configuration.h

+ 22
- 2
Marlin/example_configurations/AlephObjects/TAZ4/Configuration.h Целия файл

@@ -805,10 +805,30 @@
805 805
 #define Y_MAX_POS Y_BED_SIZE
806 806
 #define Z_MAX_POS 250
807 807
 
808
-// If enabled, axes won't move below MIN_POS in response to movement commands.
808
+/**
809
+ * Software Endstops
810
+ *
811
+ * - Prevent moves outside the set machine bounds.
812
+ * - Individual axes can be disabled, if desired.
813
+ * - X and Y only apply to Cartesian robots.
814
+ * - Use 'M211' to set software endstops on/off or report current state
815
+ */
816
+
817
+// Min software endstops curtail movement below minimum coordinate bounds
809 818
 #define MIN_SOFTWARE_ENDSTOPS
810
-// If enabled, axes won't move above MAX_POS in response to movement commands.
819
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
820
+  #define MIN_SOFTWARE_ENDSTOP_X
821
+  #define MIN_SOFTWARE_ENDSTOP_Y
822
+  #define MIN_SOFTWARE_ENDSTOP_Z
823
+#endif
824
+
825
+// Max software endstops curtail movement above maximum coordinate bounds
811 826
 #define MAX_SOFTWARE_ENDSTOPS
827
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
828
+  #define MAX_SOFTWARE_ENDSTOP_X
829
+  #define MAX_SOFTWARE_ENDSTOP_Y
830
+  #define MAX_SOFTWARE_ENDSTOP_Z
831
+#endif
812 832
 
813 833
 /**
814 834
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/AliExpress/CL-260/Configuration.h Целия файл

@@ -785,10 +785,30 @@
785 785
 #define Y_MAX_POS Y_BED_SIZE
786 786
 #define Z_MAX_POS 260
787 787
 
788
-// If enabled, axes won't move below MIN_POS in response to movement commands.
788
+/**
789
+ * Software Endstops
790
+ *
791
+ * - Prevent moves outside the set machine bounds.
792
+ * - Individual axes can be disabled, if desired.
793
+ * - X and Y only apply to Cartesian robots.
794
+ * - Use 'M211' to set software endstops on/off or report current state
795
+ */
796
+
797
+// Min software endstops curtail movement below minimum coordinate bounds
789 798
 #define MIN_SOFTWARE_ENDSTOPS
790
-// If enabled, axes won't move above MAX_POS in response to movement commands.
799
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
800
+  #define MIN_SOFTWARE_ENDSTOP_X
801
+  #define MIN_SOFTWARE_ENDSTOP_Y
802
+  #define MIN_SOFTWARE_ENDSTOP_Z
803
+#endif
804
+
805
+// Max software endstops curtail movement above maximum coordinate bounds
791 806
 #define MAX_SOFTWARE_ENDSTOPS
807
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
808
+  #define MAX_SOFTWARE_ENDSTOP_X
809
+  #define MAX_SOFTWARE_ENDSTOP_Y
810
+  #define MAX_SOFTWARE_ENDSTOP_Z
811
+#endif
792 812
 
793 813
 /**
794 814
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/Anet/A6/Configuration.h Целия файл

@@ -904,10 +904,30 @@
904 904
 #define X_MAX_POS X_BED_SIZE
905 905
 #define Y_MAX_POS Y_BED_SIZE
906 906
 
907
-// If enabled, axes won't move below MIN_POS in response to movement commands.
907
+/**
908
+ * Software Endstops
909
+ *
910
+ * - Prevent moves outside the set machine bounds.
911
+ * - Individual axes can be disabled, if desired.
912
+ * - X and Y only apply to Cartesian robots.
913
+ * - Use 'M211' to set software endstops on/off or report current state
914
+ */
915
+
916
+// Min software endstops curtail movement below minimum coordinate bounds
908 917
 #define MIN_SOFTWARE_ENDSTOPS
909
-// If enabled, axes won't move above MAX_POS in response to movement commands.
918
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
919
+  #define MIN_SOFTWARE_ENDSTOP_X
920
+  #define MIN_SOFTWARE_ENDSTOP_Y
921
+  #define MIN_SOFTWARE_ENDSTOP_Z
922
+#endif
923
+
924
+// Max software endstops curtail movement above maximum coordinate bounds
910 925
 #define MAX_SOFTWARE_ENDSTOPS
926
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
927
+  #define MAX_SOFTWARE_ENDSTOP_X
928
+  #define MAX_SOFTWARE_ENDSTOP_Y
929
+  #define MAX_SOFTWARE_ENDSTOP_Z
930
+#endif
911 931
 
912 932
 /**
913 933
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/Anet/A8/Configuration.h Целия файл

@@ -791,10 +791,30 @@
791 791
 #define Y_MAX_POS Y_BED_SIZE
792 792
 #define Z_MAX_POS 240
793 793
 
794
-// If enabled, axes won't move below MIN_POS in response to movement commands.
794
+/**
795
+ * Software Endstops
796
+ *
797
+ * - Prevent moves outside the set machine bounds.
798
+ * - Individual axes can be disabled, if desired.
799
+ * - X and Y only apply to Cartesian robots.
800
+ * - Use 'M211' to set software endstops on/off or report current state
801
+ */
802
+
803
+// Min software endstops curtail movement below minimum coordinate bounds
795 804
 #define MIN_SOFTWARE_ENDSTOPS
796
-// If enabled, axes won't move above MAX_POS in response to movement commands.
805
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
806
+  #define MIN_SOFTWARE_ENDSTOP_X
807
+  #define MIN_SOFTWARE_ENDSTOP_Y
808
+  #define MIN_SOFTWARE_ENDSTOP_Z
809
+#endif
810
+
811
+// Max software endstops curtail movement above maximum coordinate bounds
797 812
 #define MAX_SOFTWARE_ENDSTOPS
813
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
814
+  #define MAX_SOFTWARE_ENDSTOP_X
815
+  #define MAX_SOFTWARE_ENDSTOP_Y
816
+  #define MAX_SOFTWARE_ENDSTOP_Z
817
+#endif
798 818
 
799 819
 /**
800 820
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/BQ/Hephestos/Configuration.h Целия файл

@@ -776,10 +776,30 @@
776 776
 #define Y_MAX_POS Y_BED_SIZE
777 777
 #define Z_MAX_POS 180
778 778
 
779
-// If enabled, axes won't move below MIN_POS in response to movement commands.
779
+/**
780
+ * Software Endstops
781
+ *
782
+ * - Prevent moves outside the set machine bounds.
783
+ * - Individual axes can be disabled, if desired.
784
+ * - X and Y only apply to Cartesian robots.
785
+ * - Use 'M211' to set software endstops on/off or report current state
786
+ */
787
+
788
+// Min software endstops curtail movement below minimum coordinate bounds
780 789
 #define MIN_SOFTWARE_ENDSTOPS
781
-// If enabled, axes won't move above MAX_POS in response to movement commands.
790
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
791
+  #define MIN_SOFTWARE_ENDSTOP_X
792
+  #define MIN_SOFTWARE_ENDSTOP_Y
793
+  #define MIN_SOFTWARE_ENDSTOP_Z
794
+#endif
795
+
796
+// Max software endstops curtail movement above maximum coordinate bounds
782 797
 #define MAX_SOFTWARE_ENDSTOPS
798
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
799
+  #define MAX_SOFTWARE_ENDSTOP_X
800
+  #define MAX_SOFTWARE_ENDSTOP_Y
801
+  #define MAX_SOFTWARE_ENDSTOP_Z
802
+#endif
783 803
 
784 804
 /**
785 805
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/BQ/Hephestos_2/Configuration.h Целия файл

@@ -786,10 +786,30 @@
786 786
 #define Y_MAX_POS Y_BED_SIZE
787 787
 #define Z_MAX_POS 210
788 788
 
789
-// If enabled, axes won't move below MIN_POS in response to movement commands.
789
+/**
790
+ * Software Endstops
791
+ *
792
+ * - Prevent moves outside the set machine bounds.
793
+ * - Individual axes can be disabled, if desired.
794
+ * - X and Y only apply to Cartesian robots.
795
+ * - Use 'M211' to set software endstops on/off or report current state
796
+ */
797
+
798
+// Min software endstops curtail movement below minimum coordinate bounds
790 799
 #define MIN_SOFTWARE_ENDSTOPS
791
-// If enabled, axes won't move above MAX_POS in response to movement commands.
800
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
801
+  #define MIN_SOFTWARE_ENDSTOP_X
802
+  #define MIN_SOFTWARE_ENDSTOP_Y
803
+  #define MIN_SOFTWARE_ENDSTOP_Z
804
+#endif
805
+
806
+// Max software endstops curtail movement above maximum coordinate bounds
792 807
 #define MAX_SOFTWARE_ENDSTOPS
808
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
809
+  #define MAX_SOFTWARE_ENDSTOP_X
810
+  #define MAX_SOFTWARE_ENDSTOP_Y
811
+  #define MAX_SOFTWARE_ENDSTOP_Z
812
+#endif
793 813
 
794 814
 /**
795 815
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/BQ/WITBOX/Configuration.h Целия файл

@@ -776,10 +776,30 @@
776 776
 #define Y_MAX_POS Y_BED_SIZE
777 777
 #define Z_MAX_POS 200
778 778
 
779
-// If enabled, axes won't move below MIN_POS in response to movement commands.
779
+/**
780
+ * Software Endstops
781
+ *
782
+ * - Prevent moves outside the set machine bounds.
783
+ * - Individual axes can be disabled, if desired.
784
+ * - X and Y only apply to Cartesian robots.
785
+ * - Use 'M211' to set software endstops on/off or report current state
786
+ */
787
+
788
+// Min software endstops curtail movement below minimum coordinate bounds
780 789
 #define MIN_SOFTWARE_ENDSTOPS
781
-// If enabled, axes won't move above MAX_POS in response to movement commands.
790
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
791
+  #define MIN_SOFTWARE_ENDSTOP_X
792
+  #define MIN_SOFTWARE_ENDSTOP_Y
793
+  #define MIN_SOFTWARE_ENDSTOP_Z
794
+#endif
795
+
796
+// Max software endstops curtail movement above maximum coordinate bounds
782 797
 #define MAX_SOFTWARE_ENDSTOPS
798
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
799
+  #define MAX_SOFTWARE_ENDSTOP_X
800
+  #define MAX_SOFTWARE_ENDSTOP_Y
801
+  #define MAX_SOFTWARE_ENDSTOP_Z
802
+#endif
783 803
 
784 804
 /**
785 805
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/Cartesio/Configuration.h Целия файл

@@ -784,10 +784,30 @@
784 784
 #define Y_MAX_POS Y_BED_SIZE
785 785
 #define Z_MAX_POS 400
786 786
 
787
-// If enabled, axes won't move below MIN_POS in response to movement commands.
787
+/**
788
+ * Software Endstops
789
+ *
790
+ * - Prevent moves outside the set machine bounds.
791
+ * - Individual axes can be disabled, if desired.
792
+ * - X and Y only apply to Cartesian robots.
793
+ * - Use 'M211' to set software endstops on/off or report current state
794
+ */
795
+
796
+// Min software endstops curtail movement below minimum coordinate bounds
788 797
 #define MIN_SOFTWARE_ENDSTOPS
789
-// If enabled, axes won't move above MAX_POS in response to movement commands.
798
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
799
+  #define MIN_SOFTWARE_ENDSTOP_X
800
+  #define MIN_SOFTWARE_ENDSTOP_Y
801
+  #define MIN_SOFTWARE_ENDSTOP_Z
802
+#endif
803
+
804
+// Max software endstops curtail movement above maximum coordinate bounds
790 805
 #define MAX_SOFTWARE_ENDSTOPS
806
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
807
+  #define MAX_SOFTWARE_ENDSTOP_X
808
+  #define MAX_SOFTWARE_ENDSTOP_Y
809
+  #define MAX_SOFTWARE_ENDSTOP_Z
810
+#endif
791 811
 
792 812
 /**
793 813
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/Creality/CR-10/Configuration.h Целия файл

@@ -795,10 +795,30 @@
795 795
 #define Y_MAX_POS Y_BED_SIZE
796 796
 #define Z_MAX_POS 400
797 797
 
798
-// If enabled, axes won't move below MIN_POS in response to movement commands.
798
+/**
799
+ * Software Endstops
800
+ *
801
+ * - Prevent moves outside the set machine bounds.
802
+ * - Individual axes can be disabled, if desired.
803
+ * - X and Y only apply to Cartesian robots.
804
+ * - Use 'M211' to set software endstops on/off or report current state
805
+ */
806
+
807
+// Min software endstops curtail movement below minimum coordinate bounds
799 808
 #define MIN_SOFTWARE_ENDSTOPS
800
-// If enabled, axes won't move above MAX_POS in response to movement commands.
809
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
810
+  #define MIN_SOFTWARE_ENDSTOP_X
811
+  #define MIN_SOFTWARE_ENDSTOP_Y
812
+  #define MIN_SOFTWARE_ENDSTOP_Z
813
+#endif
814
+
815
+// Max software endstops curtail movement above maximum coordinate bounds
801 816
 #define MAX_SOFTWARE_ENDSTOPS
817
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
818
+  #define MAX_SOFTWARE_ENDSTOP_X
819
+  #define MAX_SOFTWARE_ENDSTOP_Y
820
+  #define MAX_SOFTWARE_ENDSTOP_Z
821
+#endif
802 822
 
803 823
 /**
804 824
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/Felix/Configuration.h Целия файл

@@ -767,10 +767,30 @@
767 767
 #define Y_MAX_POS Y_BED_SIZE
768 768
 #define Z_MAX_POS 235
769 769
 
770
-// If enabled, axes won't move below MIN_POS in response to movement commands.
770
+/**
771
+ * Software Endstops
772
+ *
773
+ * - Prevent moves outside the set machine bounds.
774
+ * - Individual axes can be disabled, if desired.
775
+ * - X and Y only apply to Cartesian robots.
776
+ * - Use 'M211' to set software endstops on/off or report current state
777
+ */
778
+
779
+// Min software endstops curtail movement below minimum coordinate bounds
771 780
 #define MIN_SOFTWARE_ENDSTOPS
772
-// If enabled, axes won't move above MAX_POS in response to movement commands.
781
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
782
+  #define MIN_SOFTWARE_ENDSTOP_X
783
+  #define MIN_SOFTWARE_ENDSTOP_Y
784
+  #define MIN_SOFTWARE_ENDSTOP_Z
785
+#endif
786
+
787
+// Max software endstops curtail movement above maximum coordinate bounds
773 788
 #define MAX_SOFTWARE_ENDSTOPS
789
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
790
+  #define MAX_SOFTWARE_ENDSTOP_X
791
+  #define MAX_SOFTWARE_ENDSTOP_Y
792
+  #define MAX_SOFTWARE_ENDSTOP_Z
793
+#endif
774 794
 
775 795
 /**
776 796
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/Felix/DUAL/Configuration.h Целия файл

@@ -767,10 +767,30 @@
767 767
 #define Y_MAX_POS Y_BED_SIZE
768 768
 #define Z_MAX_POS 235
769 769
 
770
-// If enabled, axes won't move below MIN_POS in response to movement commands.
770
+/**
771
+ * Software Endstops
772
+ *
773
+ * - Prevent moves outside the set machine bounds.
774
+ * - Individual axes can be disabled, if desired.
775
+ * - X and Y only apply to Cartesian robots.
776
+ * - Use 'M211' to set software endstops on/off or report current state
777
+ */
778
+
779
+// Min software endstops curtail movement below minimum coordinate bounds
771 780
 #define MIN_SOFTWARE_ENDSTOPS
772
-// If enabled, axes won't move above MAX_POS in response to movement commands.
781
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
782
+  #define MIN_SOFTWARE_ENDSTOP_X
783
+  #define MIN_SOFTWARE_ENDSTOP_Y
784
+  #define MIN_SOFTWARE_ENDSTOP_Z
785
+#endif
786
+
787
+// Max software endstops curtail movement above maximum coordinate bounds
773 788
 #define MAX_SOFTWARE_ENDSTOPS
789
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
790
+  #define MAX_SOFTWARE_ENDSTOP_X
791
+  #define MAX_SOFTWARE_ENDSTOP_Y
792
+  #define MAX_SOFTWARE_ENDSTOP_Z
793
+#endif
774 794
 
775 795
 /**
776 796
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/Folger Tech/i3-2020/Configuration.h Целия файл

@@ -788,10 +788,30 @@
788 788
 #define Y_MAX_POS Y_BED_SIZE
789 789
 #define Z_MAX_POS 175
790 790
 
791
-// If enabled, axes won't move below MIN_POS in response to movement commands.
791
+/**
792
+ * Software Endstops
793
+ *
794
+ * - Prevent moves outside the set machine bounds.
795
+ * - Individual axes can be disabled, if desired.
796
+ * - X and Y only apply to Cartesian robots.
797
+ * - Use 'M211' to set software endstops on/off or report current state
798
+ */
799
+
800
+// Min software endstops curtail movement below minimum coordinate bounds
792 801
 //#define MIN_SOFTWARE_ENDSTOPS
793
-// If enabled, axes won't move above MAX_POS in response to movement commands.
802
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
803
+  #define MIN_SOFTWARE_ENDSTOP_X
804
+  #define MIN_SOFTWARE_ENDSTOP_Y
805
+  #define MIN_SOFTWARE_ENDSTOP_Z
806
+#endif
807
+
808
+// Max software endstops curtail movement above maximum coordinate bounds
794 809
 #define MAX_SOFTWARE_ENDSTOPS
810
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
811
+  #define MAX_SOFTWARE_ENDSTOP_X
812
+  #define MAX_SOFTWARE_ENDSTOP_Y
813
+  #define MAX_SOFTWARE_ENDSTOP_Z
814
+#endif
795 815
 
796 816
 /**
797 817
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/Geeetech/GT2560/Configuration.h Целия файл

@@ -800,10 +800,30 @@
800 800
 #define Y_MAX_POS Y_BED_SIZE
801 801
 #define Z_MAX_POS 200
802 802
 
803
-// If enabled, axes won't move below MIN_POS in response to movement commands.
803
+/**
804
+ * Software Endstops
805
+ *
806
+ * - Prevent moves outside the set machine bounds.
807
+ * - Individual axes can be disabled, if desired.
808
+ * - X and Y only apply to Cartesian robots.
809
+ * - Use 'M211' to set software endstops on/off or report current state
810
+ */
811
+
812
+// Min software endstops curtail movement below minimum coordinate bounds
804 813
 #define MIN_SOFTWARE_ENDSTOPS
805
-// If enabled, axes won't move above MAX_POS in response to movement commands.
814
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
815
+  #define MIN_SOFTWARE_ENDSTOP_X
816
+  #define MIN_SOFTWARE_ENDSTOP_Y
817
+  #define MIN_SOFTWARE_ENDSTOP_Z
818
+#endif
819
+
820
+// Max software endstops curtail movement above maximum coordinate bounds
806 821
 #define MAX_SOFTWARE_ENDSTOPS
822
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
823
+  #define MAX_SOFTWARE_ENDSTOP_X
824
+  #define MAX_SOFTWARE_ENDSTOP_Y
825
+  #define MAX_SOFTWARE_ENDSTOP_Z
826
+#endif
807 827
 
808 828
 /**
809 829
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/Geeetech/I3_Pro_X-GT2560/Configuration.h Целия файл

@@ -785,10 +785,30 @@
785 785
 #define Y_MAX_POS Y_BED_SIZE
786 786
 #define Z_MAX_POS 170
787 787
 
788
-// If enabled, axes won't move below MIN_POS in response to movement commands.
788
+/**
789
+ * Software Endstops
790
+ *
791
+ * - Prevent moves outside the set machine bounds.
792
+ * - Individual axes can be disabled, if desired.
793
+ * - X and Y only apply to Cartesian robots.
794
+ * - Use 'M211' to set software endstops on/off or report current state
795
+ */
796
+
797
+// Min software endstops curtail movement below minimum coordinate bounds
789 798
 #define MIN_SOFTWARE_ENDSTOPS
790
-// If enabled, axes won't move above MAX_POS in response to movement commands.
799
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
800
+  #define MIN_SOFTWARE_ENDSTOP_X
801
+  #define MIN_SOFTWARE_ENDSTOP_Y
802
+  #define MIN_SOFTWARE_ENDSTOP_Z
803
+#endif
804
+
805
+// Max software endstops curtail movement above maximum coordinate bounds
791 806
 #define MAX_SOFTWARE_ENDSTOPS
807
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
808
+  #define MAX_SOFTWARE_ENDSTOP_X
809
+  #define MAX_SOFTWARE_ENDSTOP_Y
810
+  #define MAX_SOFTWARE_ENDSTOP_Z
811
+#endif
792 812
 
793 813
 /**
794 814
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/Infitary/i3-M508/Configuration.h Целия файл

@@ -789,10 +789,30 @@
789 789
 #define Y_MAX_POS Y_BED_SIZE
790 790
 #define Z_MAX_POS 185
791 791
 
792
-// If enabled, axes won't move below MIN_POS in response to movement commands.
792
+/**
793
+ * Software Endstops
794
+ *
795
+ * - Prevent moves outside the set machine bounds.
796
+ * - Individual axes can be disabled, if desired.
797
+ * - X and Y only apply to Cartesian robots.
798
+ * - Use 'M211' to set software endstops on/off or report current state
799
+ */
800
+
801
+// Min software endstops curtail movement below minimum coordinate bounds
793 802
 #define MIN_SOFTWARE_ENDSTOPS
794
-// If enabled, axes won't move above MAX_POS in response to movement commands.
803
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
804
+  #define MIN_SOFTWARE_ENDSTOP_X
805
+  #define MIN_SOFTWARE_ENDSTOP_Y
806
+  #define MIN_SOFTWARE_ENDSTOP_Z
807
+#endif
808
+
809
+// Max software endstops curtail movement above maximum coordinate bounds
795 810
 #define MAX_SOFTWARE_ENDSTOPS
811
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
812
+  #define MAX_SOFTWARE_ENDSTOP_X
813
+  #define MAX_SOFTWARE_ENDSTOP_Y
814
+  #define MAX_SOFTWARE_ENDSTOP_Z
815
+#endif
796 816
 
797 817
 /**
798 818
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/Malyan/M150/Configuration.h Целия файл

@@ -809,10 +809,30 @@
809 809
 #define Y_MAX_POS Y_BED_SIZE
810 810
 #define Z_MAX_POS 180
811 811
 
812
-// If enabled, axes won't move below MIN_POS in response to movement commands.
812
+/**
813
+ * Software Endstops
814
+ *
815
+ * - Prevent moves outside the set machine bounds.
816
+ * - Individual axes can be disabled, if desired.
817
+ * - X and Y only apply to Cartesian robots.
818
+ * - Use 'M211' to set software endstops on/off or report current state
819
+ */
820
+
821
+// Min software endstops curtail movement below minimum coordinate bounds
813 822
 #define MIN_SOFTWARE_ENDSTOPS
814
-// If enabled, axes won't move above MAX_POS in response to movement commands.
823
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
824
+  #define MIN_SOFTWARE_ENDSTOP_X
825
+  #define MIN_SOFTWARE_ENDSTOP_Y
826
+  #define MIN_SOFTWARE_ENDSTOP_Z
827
+#endif
828
+
829
+// Max software endstops curtail movement above maximum coordinate bounds
815 830
 #define MAX_SOFTWARE_ENDSTOPS
831
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
832
+  #define MAX_SOFTWARE_ENDSTOP_X
833
+  #define MAX_SOFTWARE_ENDSTOP_Y
834
+  #define MAX_SOFTWARE_ENDSTOP_Z
835
+#endif
816 836
 
817 837
 /**
818 838
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h Целия файл

@@ -785,10 +785,30 @@
785 785
 #define Y_MAX_POS Y_BED_SIZE
786 786
 #define Z_MAX_POS 200
787 787
 
788
-// If enabled, axes won't move below MIN_POS in response to movement commands.
788
+/**
789
+ * Software Endstops
790
+ *
791
+ * - Prevent moves outside the set machine bounds.
792
+ * - Individual axes can be disabled, if desired.
793
+ * - X and Y only apply to Cartesian robots.
794
+ * - Use 'M211' to set software endstops on/off or report current state
795
+ */
796
+
797
+// Min software endstops curtail movement below minimum coordinate bounds
789 798
 #define MIN_SOFTWARE_ENDSTOPS
790
-// If enabled, axes won't move above MAX_POS in response to movement commands.
799
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
800
+  #define MIN_SOFTWARE_ENDSTOP_X
801
+  #define MIN_SOFTWARE_ENDSTOP_Y
802
+  #define MIN_SOFTWARE_ENDSTOP_Z
803
+#endif
804
+
805
+// Max software endstops curtail movement above maximum coordinate bounds
791 806
 #define MAX_SOFTWARE_ENDSTOPS
807
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
808
+  #define MAX_SOFTWARE_ENDSTOP_X
809
+  #define MAX_SOFTWARE_ENDSTOP_Y
810
+  #define MAX_SOFTWARE_ENDSTOP_Z
811
+#endif
792 812
 
793 813
 /**
794 814
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/RigidBot/Configuration.h Целия файл

@@ -783,10 +783,30 @@
783 783
 #define Y_MAX_POS Y_BED_SIZE
784 784
 #define Z_MAX_POS 254  // RigidBot regular and Big are 254mm
785 785
 
786
-// If enabled, axes won't move below MIN_POS in response to movement commands.
786
+/**
787
+ * Software Endstops
788
+ *
789
+ * - Prevent moves outside the set machine bounds.
790
+ * - Individual axes can be disabled, if desired.
791
+ * - X and Y only apply to Cartesian robots.
792
+ * - Use 'M211' to set software endstops on/off or report current state
793
+ */
794
+
795
+// Min software endstops curtail movement below minimum coordinate bounds
787 796
 #define MIN_SOFTWARE_ENDSTOPS
788
-// If enabled, axes won't move above MAX_POS in response to movement commands.
797
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
798
+  #define MIN_SOFTWARE_ENDSTOP_X
799
+  #define MIN_SOFTWARE_ENDSTOP_Y
800
+  #define MIN_SOFTWARE_ENDSTOP_Z
801
+#endif
802
+
803
+// Max software endstops curtail movement above maximum coordinate bounds
789 804
 #define MAX_SOFTWARE_ENDSTOPS
805
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
806
+  #define MAX_SOFTWARE_ENDSTOP_X
807
+  #define MAX_SOFTWARE_ENDSTOP_Y
808
+  #define MAX_SOFTWARE_ENDSTOP_Z
809
+#endif
790 810
 
791 811
 /**
792 812
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/SCARA/Configuration.h Целия файл

@@ -797,10 +797,30 @@
797 797
 #define Y_MAX_POS Y_BED_SIZE
798 798
 #define Z_MAX_POS 225
799 799
 
800
-// If enabled, axes won't move below MIN_POS in response to movement commands.
800
+/**
801
+ * Software Endstops
802
+ *
803
+ * - Prevent moves outside the set machine bounds.
804
+ * - Individual axes can be disabled, if desired.
805
+ * - X and Y only apply to Cartesian robots.
806
+ * - Use 'M211' to set software endstops on/off or report current state
807
+ */
808
+
809
+// Min software endstops curtail movement below minimum coordinate bounds
801 810
 #define MIN_SOFTWARE_ENDSTOPS
802
-// If enabled, axes won't move above MAX_POS in response to movement commands.
811
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
812
+  #define MIN_SOFTWARE_ENDSTOP_X
813
+  #define MIN_SOFTWARE_ENDSTOP_Y
814
+  #define MIN_SOFTWARE_ENDSTOP_Z
815
+#endif
816
+
817
+// Max software endstops curtail movement above maximum coordinate bounds
803 818
 #define MAX_SOFTWARE_ENDSTOPS
819
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
820
+  #define MAX_SOFTWARE_ENDSTOP_X
821
+  #define MAX_SOFTWARE_ENDSTOP_Y
822
+  #define MAX_SOFTWARE_ENDSTOP_Z
823
+#endif
804 824
 
805 825
 /**
806 826
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/Sanguinololu/Configuration.h Целия файл

@@ -816,10 +816,30 @@
816 816
 #define Y_MAX_POS Y_BED_SIZE
817 817
 #define Z_MAX_POS 170
818 818
 
819
-// If enabled, axes won't move below MIN_POS in response to movement commands.
819
+/**
820
+ * Software Endstops
821
+ *
822
+ * - Prevent moves outside the set machine bounds.
823
+ * - Individual axes can be disabled, if desired.
824
+ * - X and Y only apply to Cartesian robots.
825
+ * - Use 'M211' to set software endstops on/off or report current state
826
+ */
827
+
828
+// Min software endstops curtail movement below minimum coordinate bounds
820 829
 #define MIN_SOFTWARE_ENDSTOPS
821
-// If enabled, axes won't move above MAX_POS in response to movement commands.
830
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
831
+  #define MIN_SOFTWARE_ENDSTOP_X
832
+  #define MIN_SOFTWARE_ENDSTOP_Y
833
+  #define MIN_SOFTWARE_ENDSTOP_Z
834
+#endif
835
+
836
+// Max software endstops curtail movement above maximum coordinate bounds
822 837
 #define MAX_SOFTWARE_ENDSTOPS
838
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
839
+  #define MAX_SOFTWARE_ENDSTOP_X
840
+  #define MAX_SOFTWARE_ENDSTOP_Y
841
+  #define MAX_SOFTWARE_ENDSTOP_Z
842
+#endif
823 843
 
824 844
 /**
825 845
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/TinyBoy2/Configuration.h Целия файл

@@ -841,10 +841,30 @@
841 841
   #define Z_MAX_POS 158
842 842
 #endif
843 843
 
844
-// If enabled, axes won't move below MIN_POS in response to movement commands.
844
+/**
845
+ * Software Endstops
846
+ *
847
+ * - Prevent moves outside the set machine bounds.
848
+ * - Individual axes can be disabled, if desired.
849
+ * - X and Y only apply to Cartesian robots.
850
+ * - Use 'M211' to set software endstops on/off or report current state
851
+ */
852
+
853
+// Min software endstops curtail movement below minimum coordinate bounds
845 854
 #define MIN_SOFTWARE_ENDSTOPS
846
-// If enabled, axes won't move above MAX_POS in response to movement commands.
855
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
856
+  #define MIN_SOFTWARE_ENDSTOP_X
857
+  #define MIN_SOFTWARE_ENDSTOP_Y
858
+  #define MIN_SOFTWARE_ENDSTOP_Z
859
+#endif
860
+
861
+// Max software endstops curtail movement above maximum coordinate bounds
847 862
 #define MAX_SOFTWARE_ENDSTOPS
863
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
864
+  #define MAX_SOFTWARE_ENDSTOP_X
865
+  #define MAX_SOFTWARE_ENDSTOP_Y
866
+  #define MAX_SOFTWARE_ENDSTOP_Z
867
+#endif
848 868
 
849 869
 /**
850 870
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/Velleman/K8200/Configuration.h Целия файл

@@ -815,10 +815,30 @@
815 815
 #define Y_MAX_POS Y_BED_SIZE
816 816
 #define Z_MAX_POS 200
817 817
 
818
-// If enabled, axes won't move below MIN_POS in response to movement commands.
818
+/**
819
+ * Software Endstops
820
+ *
821
+ * - Prevent moves outside the set machine bounds.
822
+ * - Individual axes can be disabled, if desired.
823
+ * - X and Y only apply to Cartesian robots.
824
+ * - Use 'M211' to set software endstops on/off or report current state
825
+ */
826
+
827
+// Min software endstops curtail movement below minimum coordinate bounds
819 828
 #define MIN_SOFTWARE_ENDSTOPS
820
-// If enabled, axes won't move above MAX_POS in response to movement commands.
829
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
830
+  #define MIN_SOFTWARE_ENDSTOP_X
831
+  #define MIN_SOFTWARE_ENDSTOP_Y
832
+  #define MIN_SOFTWARE_ENDSTOP_Z
833
+#endif
834
+
835
+// Max software endstops curtail movement above maximum coordinate bounds
821 836
 #define MAX_SOFTWARE_ENDSTOPS
837
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
838
+  #define MAX_SOFTWARE_ENDSTOP_X
839
+  #define MAX_SOFTWARE_ENDSTOP_Y
840
+  #define MAX_SOFTWARE_ENDSTOP_Z
841
+#endif
822 842
 
823 843
 /**
824 844
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/Velleman/K8400/Configuration.h Целия файл

@@ -785,10 +785,30 @@
785 785
 #define Y_MAX_POS Y_BED_SIZE
786 786
 #define Z_MAX_POS 190
787 787
 
788
-// If enabled, axes won't move below MIN_POS in response to movement commands.
788
+/**
789
+ * Software Endstops
790
+ *
791
+ * - Prevent moves outside the set machine bounds.
792
+ * - Individual axes can be disabled, if desired.
793
+ * - X and Y only apply to Cartesian robots.
794
+ * - Use 'M211' to set software endstops on/off or report current state
795
+ */
796
+
797
+// Min software endstops curtail movement below minimum coordinate bounds
789 798
 #define MIN_SOFTWARE_ENDSTOPS
790
-// If enabled, axes won't move above MAX_POS in response to movement commands.
799
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
800
+  #define MIN_SOFTWARE_ENDSTOP_X
801
+  #define MIN_SOFTWARE_ENDSTOP_Y
802
+  #define MIN_SOFTWARE_ENDSTOP_Z
803
+#endif
804
+
805
+// Max software endstops curtail movement above maximum coordinate bounds
791 806
 #define MAX_SOFTWARE_ENDSTOPS
807
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
808
+  #define MAX_SOFTWARE_ENDSTOP_X
809
+  #define MAX_SOFTWARE_ENDSTOP_Y
810
+  #define MAX_SOFTWARE_ENDSTOP_Z
811
+#endif
792 812
 
793 813
 /**
794 814
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/Velleman/K8400/Dual-head/Configuration.h Целия файл

@@ -785,10 +785,30 @@
785 785
 #define Y_MAX_POS Y_BED_SIZE
786 786
 #define Z_MAX_POS 190
787 787
 
788
-// If enabled, axes won't move below MIN_POS in response to movement commands.
788
+/**
789
+ * Software Endstops
790
+ *
791
+ * - Prevent moves outside the set machine bounds.
792
+ * - Individual axes can be disabled, if desired.
793
+ * - X and Y only apply to Cartesian robots.
794
+ * - Use 'M211' to set software endstops on/off or report current state
795
+ */
796
+
797
+// Min software endstops curtail movement below minimum coordinate bounds
789 798
 #define MIN_SOFTWARE_ENDSTOPS
790
-// If enabled, axes won't move above MAX_POS in response to movement commands.
799
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
800
+  #define MIN_SOFTWARE_ENDSTOP_X
801
+  #define MIN_SOFTWARE_ENDSTOP_Y
802
+  #define MIN_SOFTWARE_ENDSTOP_Z
803
+#endif
804
+
805
+// Max software endstops curtail movement above maximum coordinate bounds
791 806
 #define MAX_SOFTWARE_ENDSTOPS
807
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
808
+  #define MAX_SOFTWARE_ENDSTOP_X
809
+  #define MAX_SOFTWARE_ENDSTOP_Y
810
+  #define MAX_SOFTWARE_ENDSTOP_Z
811
+#endif
792 812
 
793 813
 /**
794 814
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/adafruit/ST7565/Configuration.h Целия файл

@@ -785,10 +785,30 @@
785 785
 #define Y_MAX_POS Y_BED_SIZE
786 786
 #define Z_MAX_POS 200
787 787
 
788
-// If enabled, axes won't move below MIN_POS in response to movement commands.
788
+/**
789
+ * Software Endstops
790
+ *
791
+ * - Prevent moves outside the set machine bounds.
792
+ * - Individual axes can be disabled, if desired.
793
+ * - X and Y only apply to Cartesian robots.
794
+ * - Use 'M211' to set software endstops on/off or report current state
795
+ */
796
+
797
+// Min software endstops curtail movement below minimum coordinate bounds
789 798
 #define MIN_SOFTWARE_ENDSTOPS
790
-// If enabled, axes won't move above MAX_POS in response to movement commands.
799
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
800
+  #define MIN_SOFTWARE_ENDSTOP_X
801
+  #define MIN_SOFTWARE_ENDSTOP_Y
802
+  #define MIN_SOFTWARE_ENDSTOP_Z
803
+#endif
804
+
805
+// Max software endstops curtail movement above maximum coordinate bounds
791 806
 #define MAX_SOFTWARE_ENDSTOPS
807
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
808
+  #define MAX_SOFTWARE_ENDSTOP_X
809
+  #define MAX_SOFTWARE_ENDSTOP_Y
810
+  #define MAX_SOFTWARE_ENDSTOP_Z
811
+#endif
792 812
 
793 813
 /**
794 814
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration.h Целия файл

@@ -909,10 +909,30 @@
909 909
 #define Y_MAX_POS DELTA_PRINTABLE_RADIUS
910 910
 #define Z_MAX_POS MANUAL_Z_HOME_POS
911 911
 
912
-// If enabled, axes won't move below MIN_POS in response to movement commands.
912
+/**
913
+ * Software Endstops
914
+ *
915
+ * - Prevent moves outside the set machine bounds.
916
+ * - Individual axes can be disabled, if desired.
917
+ * - X and Y only apply to Cartesian robots.
918
+ * - Use 'M211' to set software endstops on/off or report current state
919
+ */
920
+
921
+// Min software endstops curtail movement below minimum coordinate bounds
913 922
 //#define MIN_SOFTWARE_ENDSTOPS
914
-// If enabled, axes won't move above MAX_POS in response to movement commands.
923
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
924
+  #define MIN_SOFTWARE_ENDSTOP_X
925
+  #define MIN_SOFTWARE_ENDSTOP_Y
926
+  #define MIN_SOFTWARE_ENDSTOP_Z
927
+#endif
928
+
929
+// Max software endstops curtail movement above maximum coordinate bounds
915 930
 #define MAX_SOFTWARE_ENDSTOPS
931
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
932
+  #define MAX_SOFTWARE_ENDSTOP_X
933
+  #define MAX_SOFTWARE_ENDSTOP_Y
934
+  #define MAX_SOFTWARE_ENDSTOP_Z
935
+#endif
916 936
 
917 937
 /**
918 938
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration.h Целия файл

@@ -909,10 +909,30 @@
909 909
 #define Y_MAX_POS DELTA_PRINTABLE_RADIUS
910 910
 #define Z_MAX_POS MANUAL_Z_HOME_POS
911 911
 
912
-// If enabled, axes won't move below MIN_POS in response to movement commands.
912
+/**
913
+ * Software Endstops
914
+ *
915
+ * - Prevent moves outside the set machine bounds.
916
+ * - Individual axes can be disabled, if desired.
917
+ * - X and Y only apply to Cartesian robots.
918
+ * - Use 'M211' to set software endstops on/off or report current state
919
+ */
920
+
921
+// Min software endstops curtail movement below minimum coordinate bounds
913 922
 #define MIN_SOFTWARE_ENDSTOPS
914
-// If enabled, axes won't move above MAX_POS in response to movement commands.
923
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
924
+  #define MIN_SOFTWARE_ENDSTOP_X
925
+  #define MIN_SOFTWARE_ENDSTOP_Y
926
+  #define MIN_SOFTWARE_ENDSTOP_Z
927
+#endif
928
+
929
+// Max software endstops curtail movement above maximum coordinate bounds
915 930
 #define MAX_SOFTWARE_ENDSTOPS
931
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
932
+  #define MAX_SOFTWARE_ENDSTOP_X
933
+  #define MAX_SOFTWARE_ENDSTOP_Y
934
+  #define MAX_SOFTWARE_ENDSTOP_Z
935
+#endif
916 936
 
917 937
 /**
918 938
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/delta/generic/Configuration.h Целия файл

@@ -896,10 +896,30 @@
896 896
 #define Y_MAX_POS DELTA_PRINTABLE_RADIUS
897 897
 #define Z_MAX_POS MANUAL_Z_HOME_POS
898 898
 
899
-// If enabled, axes won't move below MIN_POS in response to movement commands.
899
+/**
900
+ * Software Endstops
901
+ *
902
+ * - Prevent moves outside the set machine bounds.
903
+ * - Individual axes can be disabled, if desired.
904
+ * - X and Y only apply to Cartesian robots.
905
+ * - Use 'M211' to set software endstops on/off or report current state
906
+ */
907
+
908
+// Min software endstops curtail movement below minimum coordinate bounds
900 909
 #define MIN_SOFTWARE_ENDSTOPS
901
-// If enabled, axes won't move above MAX_POS in response to movement commands.
910
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
911
+  #define MIN_SOFTWARE_ENDSTOP_X
912
+  #define MIN_SOFTWARE_ENDSTOP_Y
913
+  #define MIN_SOFTWARE_ENDSTOP_Z
914
+#endif
915
+
916
+// Max software endstops curtail movement above maximum coordinate bounds
902 917
 #define MAX_SOFTWARE_ENDSTOPS
918
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
919
+  #define MAX_SOFTWARE_ENDSTOP_X
920
+  #define MAX_SOFTWARE_ENDSTOP_Y
921
+  #define MAX_SOFTWARE_ENDSTOP_Z
922
+#endif
903 923
 
904 924
 /**
905 925
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/delta/kossel_mini/Configuration.h Целия файл

@@ -899,10 +899,30 @@
899 899
 #define Y_MAX_POS DELTA_PRINTABLE_RADIUS
900 900
 #define Z_MAX_POS MANUAL_Z_HOME_POS
901 901
 
902
-// If enabled, axes won't move below MIN_POS in response to movement commands.
902
+/**
903
+ * Software Endstops
904
+ *
905
+ * - Prevent moves outside the set machine bounds.
906
+ * - Individual axes can be disabled, if desired.
907
+ * - X and Y only apply to Cartesian robots.
908
+ * - Use 'M211' to set software endstops on/off or report current state
909
+ */
910
+
911
+// Min software endstops curtail movement below minimum coordinate bounds
903 912
 #define MIN_SOFTWARE_ENDSTOPS
904
-// If enabled, axes won't move above MAX_POS in response to movement commands.
913
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
914
+  #define MIN_SOFTWARE_ENDSTOP_X
915
+  #define MIN_SOFTWARE_ENDSTOP_Y
916
+  #define MIN_SOFTWARE_ENDSTOP_Z
917
+#endif
918
+
919
+// Max software endstops curtail movement above maximum coordinate bounds
905 920
 #define MAX_SOFTWARE_ENDSTOPS
921
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
922
+  #define MAX_SOFTWARE_ENDSTOP_X
923
+  #define MAX_SOFTWARE_ENDSTOP_Y
924
+  #define MAX_SOFTWARE_ENDSTOP_Z
925
+#endif
906 926
 
907 927
 /**
908 928
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/delta/kossel_pro/Configuration.h Целия файл

@@ -899,10 +899,30 @@
899 899
 #define Y_MAX_POS DELTA_PRINTABLE_RADIUS
900 900
 #define Z_MAX_POS MANUAL_Z_HOME_POS
901 901
 
902
-// If enabled, axes won't move below MIN_POS in response to movement commands.
902
+/**
903
+ * Software Endstops
904
+ *
905
+ * - Prevent moves outside the set machine bounds.
906
+ * - Individual axes can be disabled, if desired.
907
+ * - X and Y only apply to Cartesian robots.
908
+ * - Use 'M211' to set software endstops on/off or report current state
909
+ */
910
+
911
+// Min software endstops curtail movement below minimum coordinate bounds
903 912
 #define MIN_SOFTWARE_ENDSTOPS
904
-// If enabled, axes won't move above MAX_POS in response to movement commands.
913
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
914
+  #define MIN_SOFTWARE_ENDSTOP_X
915
+  #define MIN_SOFTWARE_ENDSTOP_Y
916
+  #define MIN_SOFTWARE_ENDSTOP_Z
917
+#endif
918
+
919
+// Max software endstops curtail movement above maximum coordinate bounds
905 920
 #define MAX_SOFTWARE_ENDSTOPS
921
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
922
+  #define MAX_SOFTWARE_ENDSTOP_X
923
+  #define MAX_SOFTWARE_ENDSTOP_Y
924
+  #define MAX_SOFTWARE_ENDSTOP_Z
925
+#endif
906 926
 
907 927
 /**
908 928
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/delta/kossel_xl/Configuration.h Целия файл

@@ -908,10 +908,30 @@
908 908
 #define Y_MAX_POS DELTA_PRINTABLE_RADIUS
909 909
 #define Z_MAX_POS MANUAL_Z_HOME_POS
910 910
 
911
-// If enabled, axes won't move below MIN_POS in response to movement commands.
911
+/**
912
+ * Software Endstops
913
+ *
914
+ * - Prevent moves outside the set machine bounds.
915
+ * - Individual axes can be disabled, if desired.
916
+ * - X and Y only apply to Cartesian robots.
917
+ * - Use 'M211' to set software endstops on/off or report current state
918
+ */
919
+
920
+// Min software endstops curtail movement below minimum coordinate bounds
912 921
 //#define MIN_SOFTWARE_ENDSTOPS
913
-// If enabled, axes won't move above MAX_POS in response to movement commands.
922
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
923
+  #define MIN_SOFTWARE_ENDSTOP_X
924
+  #define MIN_SOFTWARE_ENDSTOP_Y
925
+  #define MIN_SOFTWARE_ENDSTOP_Z
926
+#endif
927
+
928
+// Max software endstops curtail movement above maximum coordinate bounds
914 929
 #define MAX_SOFTWARE_ENDSTOPS
930
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
931
+  #define MAX_SOFTWARE_ENDSTOP_X
932
+  #define MAX_SOFTWARE_ENDSTOP_Y
933
+  #define MAX_SOFTWARE_ENDSTOP_Z
934
+#endif
915 935
 
916 936
 /**
917 937
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/gCreate/gMax1.5+/Configuration.h Целия файл

@@ -799,10 +799,30 @@
799 799
 #define Y_MAX_POS Y_BED_SIZE
800 800
 #define Z_MAX_POS 500
801 801
 
802
-// If enabled, axes won't move below MIN_POS in response to movement commands.
802
+/**
803
+ * Software Endstops
804
+ *
805
+ * - Prevent moves outside the set machine bounds.
806
+ * - Individual axes can be disabled, if desired.
807
+ * - X and Y only apply to Cartesian robots.
808
+ * - Use 'M211' to set software endstops on/off or report current state
809
+ */
810
+
811
+// Min software endstops curtail movement below minimum coordinate bounds
803 812
 //#define MIN_SOFTWARE_ENDSTOPS
804
-// If enabled, axes won't move above MAX_POS in response to movement commands.
813
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
814
+  #define MIN_SOFTWARE_ENDSTOP_X
815
+  #define MIN_SOFTWARE_ENDSTOP_Y
816
+  #define MIN_SOFTWARE_ENDSTOP_Z
817
+#endif
818
+
819
+// Max software endstops curtail movement above maximum coordinate bounds
805 820
 #define MAX_SOFTWARE_ENDSTOPS
821
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
822
+  #define MAX_SOFTWARE_ENDSTOP_X
823
+  #define MAX_SOFTWARE_ENDSTOP_Y
824
+  #define MAX_SOFTWARE_ENDSTOP_Z
825
+#endif
806 826
 
807 827
 /**
808 828
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/makibox/Configuration.h Целия файл

@@ -788,10 +788,30 @@
788 788
 #define Y_MAX_POS Y_BED_SIZE
789 789
 #define Z_MAX_POS 86
790 790
 
791
-// If enabled, axes won't move below MIN_POS in response to movement commands.
791
+/**
792
+ * Software Endstops
793
+ *
794
+ * - Prevent moves outside the set machine bounds.
795
+ * - Individual axes can be disabled, if desired.
796
+ * - X and Y only apply to Cartesian robots.
797
+ * - Use 'M211' to set software endstops on/off or report current state
798
+ */
799
+
800
+// Min software endstops curtail movement below minimum coordinate bounds
792 801
 #define MIN_SOFTWARE_ENDSTOPS
793
-// If enabled, axes won't move above MAX_POS in response to movement commands.
802
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
803
+  #define MIN_SOFTWARE_ENDSTOP_X
804
+  #define MIN_SOFTWARE_ENDSTOP_Y
805
+  #define MIN_SOFTWARE_ENDSTOP_Z
806
+#endif
807
+
808
+// Max software endstops curtail movement above maximum coordinate bounds
794 809
 #define MAX_SOFTWARE_ENDSTOPS
810
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
811
+  #define MAX_SOFTWARE_ENDSTOP_X
812
+  #define MAX_SOFTWARE_ENDSTOP_Y
813
+  #define MAX_SOFTWARE_ENDSTOP_Z
814
+#endif
795 815
 
796 816
 /**
797 817
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/tvrrug/Round2/Configuration.h Целия файл

@@ -780,10 +780,30 @@
780 780
 #define Y_MAX_POS Y_BED_SIZE
781 781
 #define Z_MAX_POS 120
782 782
 
783
-// If enabled, axes won't move below MIN_POS in response to movement commands.
783
+/**
784
+ * Software Endstops
785
+ *
786
+ * - Prevent moves outside the set machine bounds.
787
+ * - Individual axes can be disabled, if desired.
788
+ * - X and Y only apply to Cartesian robots.
789
+ * - Use 'M211' to set software endstops on/off or report current state
790
+ */
791
+
792
+// Min software endstops curtail movement below minimum coordinate bounds
784 793
 #define MIN_SOFTWARE_ENDSTOPS
785
-// If enabled, axes won't move above MAX_POS in response to movement commands.
794
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
795
+  #define MIN_SOFTWARE_ENDSTOP_X
796
+  #define MIN_SOFTWARE_ENDSTOP_Y
797
+  #define MIN_SOFTWARE_ENDSTOP_Z
798
+#endif
799
+
800
+// Max software endstops curtail movement above maximum coordinate bounds
786 801
 #define MAX_SOFTWARE_ENDSTOPS
802
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
803
+  #define MAX_SOFTWARE_ENDSTOP_X
804
+  #define MAX_SOFTWARE_ENDSTOP_Y
805
+  #define MAX_SOFTWARE_ENDSTOP_Z
806
+#endif
787 807
 
788 808
 /**
789 809
  * Filament Runout Sensor

+ 22
- 2
Marlin/example_configurations/wt150/Configuration.h Целия файл

@@ -790,10 +790,30 @@
790 790
 #define Y_MAX_POS Y_BED_SIZE
791 791
 #define Z_MAX_POS 143.0
792 792
 
793
-// If enabled, axes won't move below MIN_POS in response to movement commands.
793
+/**
794
+ * Software Endstops
795
+ *
796
+ * - Prevent moves outside the set machine bounds.
797
+ * - Individual axes can be disabled, if desired.
798
+ * - X and Y only apply to Cartesian robots.
799
+ * - Use 'M211' to set software endstops on/off or report current state
800
+ */
801
+
802
+// Min software endstops curtail movement below minimum coordinate bounds
794 803
 #define MIN_SOFTWARE_ENDSTOPS
795
-// If enabled, axes won't move above MAX_POS in response to movement commands.
804
+#if ENABLED(MIN_SOFTWARE_ENDSTOPS)
805
+  #define MIN_SOFTWARE_ENDSTOP_X
806
+  #define MIN_SOFTWARE_ENDSTOP_Y
807
+  #define MIN_SOFTWARE_ENDSTOP_Z
808
+#endif
809
+
810
+// Max software endstops curtail movement above maximum coordinate bounds
796 811
 #define MAX_SOFTWARE_ENDSTOPS
812
+#if ENABLED(MAX_SOFTWARE_ENDSTOPS)
813
+  #define MAX_SOFTWARE_ENDSTOP_X
814
+  #define MAX_SOFTWARE_ENDSTOP_Y
815
+  #define MAX_SOFTWARE_ENDSTOP_Z
816
+#endif
797 817
 
798 818
 /**
799 819
  * Filament Runout Sensor

Loading…
Отказ
Запис