Browse Source

Configurable Max Accel, Max Feedrate, Max Jerk edit limits (#13929)

InsanityAutomation 5 years ago
parent
commit
438835f6a5
100 changed files with 1447 additions and 51 deletions
  1. 15
    0
      Marlin/Configuration.h
  2. 1
    1
      Marlin/src/HAL/HAL_DUE/HAL.cpp
  3. 1
    1
      Marlin/src/HAL/HAL_SAMD51/HAL.cpp
  4. 1
    1
      Marlin/src/Marlin.cpp
  5. 4
    4
      Marlin/src/feature/joystick.cpp
  6. 1
    1
      Marlin/src/feature/tmc_util.cpp
  7. 7
    9
      Marlin/src/gcode/config/M200-M205.cpp
  8. 1
    1
      Marlin/src/gcode/config/M92.cpp
  9. 1
    2
      Marlin/src/gcode/parser.cpp
  10. 39
    3
      Marlin/src/inc/SanityCheck.h
  11. 2
    2
      Marlin/src/lcd/extensible_ui/lib/lulzbot/ftdi_eve_lib/extended/dl_cache.cpp
  12. 6
    8
      Marlin/src/lcd/extensible_ui/ui_api.cpp
  13. 53
    14
      Marlin/src/lcd/menu/menu_advanced.cpp
  14. 3
    3
      Marlin/src/module/motion.cpp
  15. 63
    1
      Marlin/src/module/planner.cpp
  16. 4
    0
      Marlin/src/module/planner.h
  17. 15
    0
      config/default/Configuration.h
  18. 15
    0
      config/examples/3DFabXYZ/Migbot/Configuration.h
  19. 15
    0
      config/examples/ADIMLab/Gantry v2/Configuration.h
  20. 15
    0
      config/examples/AlephObjects/TAZ4/Configuration.h
  21. 15
    0
      config/examples/AliExpress/CL-260/Configuration.h
  22. 15
    0
      config/examples/AliExpress/UM2pExt/Configuration.h
  23. 15
    0
      config/examples/Anet/A2/Configuration.h
  24. 15
    0
      config/examples/Anet/A2plus/Configuration.h
  25. 15
    0
      config/examples/Anet/A6/Configuration.h
  26. 15
    0
      config/examples/Anet/A8/Configuration.h
  27. 15
    0
      config/examples/Anet/A8plus/Configuration.h
  28. 15
    0
      config/examples/Anet/E16/Configuration.h
  29. 15
    0
      config/examples/AnyCubic/i3/Configuration.h
  30. 15
    0
      config/examples/ArmEd/Configuration.h
  31. 15
    0
      config/examples/Azteeg/X5GT/Configuration.h
  32. 15
    0
      config/examples/BIBO/TouchX/cyclops/Configuration.h
  33. 15
    0
      config/examples/BIBO/TouchX/default/Configuration.h
  34. 15
    0
      config/examples/BQ/Hephestos/Configuration.h
  35. 15
    0
      config/examples/BQ/Hephestos_2/Configuration.h
  36. 15
    0
      config/examples/BQ/WITBOX/Configuration.h
  37. 15
    0
      config/examples/Cartesio/Configuration.h
  38. 15
    0
      config/examples/Creality/CR-10/Configuration.h
  39. 15
    0
      config/examples/Creality/CR-10S/Configuration.h
  40. 15
    0
      config/examples/Creality/CR-10_5S/Configuration.h
  41. 15
    0
      config/examples/Creality/CR-10mini/Configuration.h
  42. 15
    0
      config/examples/Creality/CR-20 Pro/Configuration.h
  43. 15
    0
      config/examples/Creality/CR-20/Configuration.h
  44. 15
    0
      config/examples/Creality/CR-8/Configuration.h
  45. 15
    0
      config/examples/Creality/Ender-2/Configuration.h
  46. 15
    0
      config/examples/Creality/Ender-3/Configuration.h
  47. 15
    0
      config/examples/Creality/Ender-4/Configuration.h
  48. 15
    0
      config/examples/Creality/Ender-5/Configuration.h
  49. 15
    0
      config/examples/Dagoma/Disco Ultimate/Configuration.h
  50. 15
    0
      config/examples/EVNOVO (Artillery)/Sidewinder X1/Configuration.h
  51. 15
    0
      config/examples/Einstart-S/Configuration.h
  52. 15
    0
      config/examples/FYSETC/AIO_II/Configuration.h
  53. 15
    0
      config/examples/FYSETC/Cheetah 1.2/BLTouch/Configuration.h
  54. 15
    0
      config/examples/FYSETC/Cheetah 1.2/base/Configuration.h
  55. 15
    0
      config/examples/FYSETC/Cheetah/BLTouch/Configuration.h
  56. 15
    0
      config/examples/FYSETC/Cheetah/base/Configuration.h
  57. 15
    0
      config/examples/FYSETC/F6_13/Configuration.h
  58. 15
    0
      config/examples/Felix/Configuration.h
  59. 15
    0
      config/examples/Felix/DUAL/Configuration.h
  60. 15
    0
      config/examples/FlashForge/CreatorPro/Configuration.h
  61. 15
    0
      config/examples/FolgerTech/i3-2020/Configuration.h
  62. 15
    0
      config/examples/Formbot/Raptor/Configuration.h
  63. 15
    0
      config/examples/Formbot/T_Rex_2+/Configuration.h
  64. 15
    0
      config/examples/Formbot/T_Rex_3/Configuration.h
  65. 15
    0
      config/examples/Geeetech/A10/Configuration.h
  66. 15
    0
      config/examples/Geeetech/A10M/Configuration.h
  67. 15
    0
      config/examples/Geeetech/A20M/Configuration.h
  68. 15
    0
      config/examples/Geeetech/GT2560/Configuration.h
  69. 15
    0
      config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h
  70. 15
    0
      config/examples/Geeetech/MeCreator2/Configuration.h
  71. 15
    0
      config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h
  72. 15
    0
      config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h
  73. 15
    0
      config/examples/Geeetech/Prusa i3 Pro C/Configuration.h
  74. 15
    0
      config/examples/Geeetech/Prusa i3 Pro W/Configuration.h
  75. 15
    0
      config/examples/HMS434/Configuration.h
  76. 15
    0
      config/examples/Infitary/i3-M508/Configuration.h
  77. 15
    0
      config/examples/JGAurora/A5/Configuration.h
  78. 15
    0
      config/examples/MakerParts/Configuration.h
  79. 15
    0
      config/examples/Malyan/M150/Configuration.h
  80. 15
    0
      config/examples/Malyan/M200/Configuration.h
  81. 15
    0
      config/examples/Micromake/C1/basic/Configuration.h
  82. 15
    0
      config/examples/Micromake/C1/enhanced/Configuration.h
  83. 15
    0
      config/examples/Mks/Robin/Configuration.h
  84. 15
    0
      config/examples/Mks/Sbase/Configuration.h
  85. 15
    0
      config/examples/Printrbot/PrintrboardG2/Configuration.h
  86. 15
    0
      config/examples/RapideLite/RL200/Configuration.h
  87. 15
    0
      config/examples/RepRapPro/Huxley/Configuration.h
  88. 15
    0
      config/examples/RepRapWorld/Megatronics/Configuration.h
  89. 15
    0
      config/examples/RigidBot/Configuration.h
  90. 15
    0
      config/examples/SCARA/Configuration.h
  91. 15
    0
      config/examples/STM32/Black_STM32F407VET6/Configuration.h
  92. 15
    0
      config/examples/STM32/STM32F103RE/Configuration.h
  93. 15
    0
      config/examples/STM32/STM32F4/Configuration.h
  94. 15
    0
      config/examples/STM32/stm32f103ret6/Configuration.h
  95. 15
    0
      config/examples/Sanguinololu/Configuration.h
  96. 15
    0
      config/examples/Tevo/Michelangelo/Configuration.h
  97. 15
    0
      config/examples/Tevo/Tarantula Pro/Configuration.h
  98. 15
    0
      config/examples/TheBorg/Configuration.h
  99. 15
    0
      config/examples/TinyBoy2/Configuration.h
  100. 0
    0
      config/examples/Tronxy/X1/Configuration.h

+ 15
- 0
Marlin/Configuration.h View File

@@ -725,6 +725,11 @@
725 725
  */
726 726
 #define DEFAULT_MAX_FEEDRATE          { 300, 300, 5, 25 }
727 727
 
728
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
729
+#if ENABLED(LIMITED_MAX_FR_EDITING)
730
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
731
+#endif
732
+
728 733
 /**
729 734
  * Default Max Acceleration (change/s) change = mm/s
730 735
  * (Maximum start speed for accelerated moves)
@@ -733,6 +738,11 @@
733 738
  */
734 739
 #define DEFAULT_MAX_ACCELERATION      { 3000, 3000, 100, 10000 }
735 740
 
741
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
742
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
743
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
744
+#endif
745
+
736 746
 /**
737 747
  * Default Acceleration (change/s) change = mm/s
738 748
  * Override with M204
@@ -771,6 +781,11 @@
771 781
   #define DEFAULT_XJERK 10.0
772 782
   #define DEFAULT_YJERK 10.0
773 783
   #define DEFAULT_ZJERK  0.3
784
+
785
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
786
+  #if ENABLED(LIMITED_JERK_EDITING)
787
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
788
+  #endif
774 789
 #endif
775 790
 
776 791
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 1
- 1
Marlin/src/HAL/HAL_DUE/HAL.cpp View File

@@ -87,7 +87,7 @@ extern "C" {
87 87
 // Return free memory between end of heap (or end bss) and whatever is current
88 88
 int freeMemory() {
89 89
   int free_memory, heap_end = (int)_sbrk(0);
90
-  return (int)&free_memory - (heap_end ? heap_end : (int)&_ebss);
90
+  return (int)&free_memory - (heap_end ?: (int)&_ebss);
91 91
 }
92 92
 
93 93
 // ------------------------

+ 1
- 1
Marlin/src/HAL/HAL_SAMD51/HAL.cpp View File

@@ -414,7 +414,7 @@ extern "C" {
414 414
 // Return free memory between end of heap (or end bss) and whatever is current
415 415
 int freeMemory() {
416 416
   int free_memory, heap_end = (int)_sbrk(0);
417
-  return (int)&free_memory - (heap_end ? heap_end : (int)&__bss_end__);
417
+  return (int)&free_memory - (heap_end ?: (int)&__bss_end__);
418 418
 }
419 419
 
420 420
 // ------------------------

+ 1
- 1
Marlin/src/Marlin.cpp View File

@@ -762,7 +762,7 @@ void kill(PGM_P const lcd_msg/*=nullptr*/, const bool steppers_off/*=false*/) {
762 762
   SERIAL_ERROR_MSG(MSG_ERR_KILLED);
763 763
 
764 764
   #if HAS_DISPLAY
765
-    ui.kill_screen(lcd_msg ? lcd_msg : PSTR(MSG_KILLED));
765
+    ui.kill_screen(lcd_msg ?: PSTR(MSG_KILLED));
766 766
   #else
767 767
     UNUSED(lcd_msg);
768 768
   #endif

+ 4
- 4
Marlin/src/feature/joystick.cpp View File

@@ -112,10 +112,10 @@ Joystick joystick;
112 112
     static bool injecting_now; // = false;
113 113
     if (injecting_now) return;
114 114
 
115
-    static constexpr int QUEUE_DEPTH = 5;                                 // Insert up to this many movements
116
-    static constexpr float target_lag = 0.25f,                            // Aim for 1/4 second lag
117
-                           seg_time = target_lag / QUEUE_DEPTH;           // 0.05 seconds, short segments inserted every 1/20th of a second
118
-    static constexpr millis_t timer_limit_ms = millis_t(seg_time * 500);  // 25 ms minimum delay between insertions
115
+    static constexpr int QUEUE_DEPTH = 5;                                // Insert up to this many movements
116
+    static constexpr float target_lag = 0.25f,                           // Aim for 1/4 second lag
117
+                           seg_time = target_lag / QUEUE_DEPTH;          // 0.05 seconds, short segments inserted every 1/20th of a second
118
+    static constexpr millis_t timer_limit_ms = millis_t(seg_time * 500); // 25 ms minimum delay between insertions
119 119
 
120 120
     // The planner can merge/collapse small moves, so the movement queue is unreliable to control the lag
121 121
     static millis_t next_run = 0;

+ 1
- 1
Marlin/src/feature/tmc_util.cpp View File

@@ -507,7 +507,7 @@
507 507
         case TMC_GLOBAL_SCALER:
508 508
           {
509 509
             uint16_t value = st.GLOBAL_SCALER();
510
-            SERIAL_PRINT(value ? value : 256, DEC);
510
+            SERIAL_PRINT(value ?: 256, DEC);
511 511
             SERIAL_ECHOPGM("/256");
512 512
           }
513 513
           break;

+ 7
- 9
Marlin/src/gcode/config/M200-M205.cpp View File

@@ -62,11 +62,9 @@ void GcodeSuite::M201() {
62 62
   LOOP_XYZE(i) {
63 63
     if (parser.seen(axis_codes[i])) {
64 64
       const uint8_t a = (i == E_AXIS ? uint8_t(E_AXIS_N(target_extruder)) : i);
65
-      planner.settings.max_acceleration_mm_per_s2[a] = parser.value_axis_units((AxisEnum)a);
65
+      planner.set_max_acceleration(a, parser.value_axis_units((AxisEnum)a));
66 66
     }
67 67
   }
68
-
69
-  planner.reset_acceleration_rates();
70 68
 }
71 69
 
72 70
 /**
@@ -82,7 +80,7 @@ void GcodeSuite::M203() {
82 80
   LOOP_XYZE(i)
83 81
     if (parser.seen(axis_codes[i])) {
84 82
       const uint8_t a = (i == E_AXIS ? uint8_t(E_AXIS_N(target_extruder)) : i);
85
-      planner.settings.max_feedrate_mm_s[a] = parser.value_axis_units((AxisEnum)a);
83
+      planner.set_max_feedrate(a, parser.value_axis_units((AxisEnum)a));
86 84
     }
87 85
 }
88 86
 
@@ -152,17 +150,17 @@ void GcodeSuite::M205() {
152 150
     }
153 151
   #endif
154 152
   #if HAS_CLASSIC_JERK
155
-    if (parser.seen('X')) planner.max_jerk.x = parser.value_linear_units();
156
-    if (parser.seen('Y')) planner.max_jerk.y = parser.value_linear_units();
153
+    if (parser.seen('X')) planner.set_max_jerk(X_AXIS, parser.value_linear_units());
154
+    if (parser.seen('Y')) planner.set_max_jerk(Y_AXIS, parser.value_linear_units());
157 155
     if (parser.seen('Z')) {
158
-      planner.max_jerk.z = parser.value_linear_units();
159
-      #if HAS_MESH
156
+      planner.set_max_jerk(Z_AXIS, parser.value_linear_units());
157
+      #if HAS_MESH && DISABLED(LIMITED_JERK_EDITING)
160 158
         if (planner.max_jerk.z <= 0.1f)
161 159
           SERIAL_ECHOLNPGM("WARNING! Low Z Jerk may lead to unwanted pauses.");
162 160
       #endif
163 161
     }
164 162
     #if !BOTH(JUNCTION_DEVIATION, LIN_ADVANCE)
165
-      if (parser.seen('E')) planner.max_jerk.e = parser.value_linear_units();
163
+      if (parser.seen('E')) planner.set_max_jerk(E_AXIS, parser.value_linear_units());
166 164
     #endif
167 165
   #endif
168 166
 }

+ 1
- 1
Marlin/src/gcode/config/M92.cpp View File

@@ -98,7 +98,7 @@ void GcodeSuite::M92() {
98 98
     const float wanted = parser.floatval('L');
99 99
     if (parser.seen('H') || wanted) {
100 100
       const uint16_t argH = parser.ushortval('H'),
101
-                     micro_steps = argH ? argH : Z_MICROSTEPS;
101
+                     micro_steps = argH ?: Z_MICROSTEPS;
102 102
       const float z_full_step_mm = micro_steps * planner.steps_to_mm[Z_AXIS];
103 103
       SERIAL_ECHO_START();
104 104
       SERIAL_ECHOPAIR("{ micro_steps:", micro_steps, ", z_full_step_mm:", z_full_step_mm);

+ 1
- 2
Marlin/src/gcode/parser.cpp View File

@@ -222,8 +222,7 @@ void GCodeParser::parse(char *p) {
222 222
   // Only use string_arg for these M codes
223 223
   if (letter == 'M') switch (codenum) {
224 224
     #if ENABLED(GCODE_MACROS)
225
-      case 810: case 811: case 812: case 813: case 814:
226
-      case 815: case 816: case 817: case 818: case 819:
225
+      case 810 ... 819:
227 226
     #endif
228 227
     #if ENABLED(EXPECTED_PRINTER_CHECK)
229 228
       case 16:

+ 39
- 3
Marlin/src/inc/SanityCheck.h View File

@@ -2233,27 +2233,63 @@ constexpr float sanity_arr_1[] = DEFAULT_AXIS_STEPS_PER_UNIT,
2233 2233
 
2234 2234
 #define _ARR_TEST(N,I) (sanity_arr_##N[_MIN(I,int(COUNT(sanity_arr_##N))-1)] > 0)
2235 2235
 
2236
-static_assert(COUNT(sanity_arr_1) >= XYZE, "DEFAULT_AXIS_STEPS_PER_UNIT requires X, Y, Z and E elements.");
2236
+static_assert(COUNT(sanity_arr_1) >= XYZE,   "DEFAULT_AXIS_STEPS_PER_UNIT requires X, Y, Z and E elements.");
2237 2237
 static_assert(COUNT(sanity_arr_1) <= XYZE_N, "DEFAULT_AXIS_STEPS_PER_UNIT has too many elements. (Did you forget to enable DISTINCT_E_FACTORS?)");
2238 2238
 static_assert(   _ARR_TEST(1,0) && _ARR_TEST(1,1) && _ARR_TEST(1,2)
2239 2239
               && _ARR_TEST(1,3) && _ARR_TEST(1,4) && _ARR_TEST(1,5)
2240 2240
               && _ARR_TEST(1,6) && _ARR_TEST(1,7) && _ARR_TEST(1,8),
2241 2241
               "DEFAULT_AXIS_STEPS_PER_UNIT values must be positive.");
2242 2242
 
2243
-static_assert(COUNT(sanity_arr_2) >= XYZE, "DEFAULT_MAX_FEEDRATE requires X, Y, Z and E elements.");
2243
+static_assert(COUNT(sanity_arr_2) >= XYZE,   "DEFAULT_MAX_FEEDRATE requires X, Y, Z and E elements.");
2244 2244
 static_assert(COUNT(sanity_arr_2) <= XYZE_N, "DEFAULT_MAX_FEEDRATE has too many elements. (Did you forget to enable DISTINCT_E_FACTORS?)");
2245 2245
 static_assert(   _ARR_TEST(2,0) && _ARR_TEST(2,1) && _ARR_TEST(2,2)
2246 2246
               && _ARR_TEST(2,3) && _ARR_TEST(2,4) && _ARR_TEST(2,5)
2247 2247
               && _ARR_TEST(2,6) && _ARR_TEST(2,7) && _ARR_TEST(2,8),
2248 2248
               "DEFAULT_MAX_FEEDRATE values must be positive.");
2249 2249
 
2250
-static_assert(COUNT(sanity_arr_3) >= XYZE, "DEFAULT_MAX_ACCELERATION requires X, Y, Z and E elements.");
2250
+static_assert(COUNT(sanity_arr_3) >= XYZE,   "DEFAULT_MAX_ACCELERATION requires X, Y, Z and E elements.");
2251 2251
 static_assert(COUNT(sanity_arr_3) <= XYZE_N, "DEFAULT_MAX_ACCELERATION has too many elements. (Did you forget to enable DISTINCT_E_FACTORS?)");
2252 2252
 static_assert(   _ARR_TEST(3,0) && _ARR_TEST(3,1) && _ARR_TEST(3,2)
2253 2253
               && _ARR_TEST(3,3) && _ARR_TEST(3,4) && _ARR_TEST(3,5)
2254 2254
               && _ARR_TEST(3,6) && _ARR_TEST(3,7) && _ARR_TEST(3,8),
2255 2255
               "DEFAULT_MAX_ACCELERATION values must be positive.");
2256 2256
 
2257
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
2258
+  #ifdef MAX_ACCEL_EDIT_VALUES
2259
+    constexpr float sanity_arr_4[] = MAX_ACCEL_EDIT_VALUES;
2260
+    static_assert(COUNT(sanity_arr_4) >= XYZE, "MAX_ACCEL_EDIT_VALUES requires X, Y, Z and E elements.");
2261
+    static_assert(COUNT(sanity_arr_4) <= XYZE, "MAX_ACCEL_EDIT_VALUES has too many elements. X, Y, Z and E elements only.");
2262
+    static_assert(   _ARR_TEST(4,0) && _ARR_TEST(4,1) && _ARR_TEST(4,2)
2263
+                  && _ARR_TEST(4,3) && _ARR_TEST(4,4) && _ARR_TEST(4,5)
2264
+                  && _ARR_TEST(4,6) && _ARR_TEST(4,7) && _ARR_TEST(4,8),
2265
+                  "MAX_ACCEL_EDIT_VALUES values must be positive.");
2266
+  #endif
2267
+#endif
2268
+
2269
+#if ENABLED(LIMITED_MAX_FR_EDITING)
2270
+  #ifdef MAX_FEEDRATE_EDIT_VALUES
2271
+    constexpr float sanity_arr_5[] = MAX_FEEDRATE_EDIT_VALUES;
2272
+    static_assert(COUNT(sanity_arr_5) >= XYZE, "MAX_FEEDRATE_EDIT_VALUES requires X, Y, Z and E elements.");
2273
+    static_assert(COUNT(sanity_arr_5) <= XYZE, "MAX_FEEDRATE_EDIT_VALUES has too many elements. X, Y, Z and E elements only.");
2274
+    static_assert(   _ARR_TEST(5,0) && _ARR_TEST(5,1) && _ARR_TEST(5,2)
2275
+                  && _ARR_TEST(5,3) && _ARR_TEST(5,4) && _ARR_TEST(5,5)
2276
+                  && _ARR_TEST(5,6) && _ARR_TEST(5,7) && _ARR_TEST(5,8),
2277
+                  "MAX_FEEDRATE_EDIT_VALUES values must be positive.");
2278
+  #endif
2279
+#endif
2280
+
2281
+#if ENABLED(LIMITED_JERK_EDITING)
2282
+  #ifdef MAX_JERK_EDIT_VALUES
2283
+    constexpr float sanity_arr_6[] = MAX_JERK_EDIT_VALUES;
2284
+    static_assert(COUNT(sanity_arr_6) >= XYZE, "MAX_JERK_EDIT_VALUES requires X, Y, Z and E elements.");
2285
+    static_assert(COUNT(sanity_arr_6) <= XYZE, "MAX_JERK_EDIT_VALUES has too many elements. X, Y, Z and E elements only.");
2286
+    static_assert(   _ARR_TEST(6,0) && _ARR_TEST(6,1) && _ARR_TEST(6,2)
2287
+                  && _ARR_TEST(6,3) && _ARR_TEST(6,4) && _ARR_TEST(6,5)
2288
+                  && _ARR_TEST(6,6) && _ARR_TEST(6,7) && _ARR_TEST(6,8),
2289
+                  "MAX_JERK_EDIT_VALUES values must be positive.");
2290
+  #endif
2291
+#endif
2292
+
2257 2293
 #undef _ARR_TEST
2258 2294
 
2259 2295
 #if BOTH(CNC_COORDINATE_SYSTEMS, NO_WORKSPACE_OFFSETS)

+ 2
- 2
Marlin/src/lcd/extensible_ui/lib/lulzbot/ftdi_eve_lib/extended/dl_cache.cpp View File

@@ -115,12 +115,12 @@ bool DLCache::store(uint32_t num_bytes /* = 0*/) {
115 115
     // If we are allocating new space...
116 116
     dl_addr     = CLCD::mem_read_32(DL_FREE_ADDR);
117 117
     free_space  = MAP::RAM_G_SIZE - dl_addr;
118
-    dl_alloc    = num_bytes ? num_bytes : new_dl_size;
118
+    dl_alloc    = num_bytes ?: new_dl_size;
119 119
     dl_size     = new_dl_size;
120 120
   } else {
121 121
     // Otherwise, we can only store as much space
122 122
     // as was previously allocated.
123
-    free_space  = num_bytes ? num_bytes : dl_size;
123
+    free_space  = num_bytes ?: dl_size;
124 124
     dl_alloc    = 0;
125 125
     dl_size     = new_dl_size;
126 126
   }

+ 6
- 8
Marlin/src/lcd/extensible_ui/ui_api.cpp View File

@@ -577,12 +577,11 @@ namespace ExtUI {
577 577
   }
578 578
 
579 579
   void setAxisMaxFeedrate_mm_s(const feedRate_t value, const axis_t axis) {
580
-    planner.settings.max_feedrate_mm_s[axis] = value;
580
+    planner.set_max_feedrate(axis, value);
581 581
   }
582 582
 
583 583
   void setAxisMaxFeedrate_mm_s(const feedRate_t value, const extruder_t extruder) {
584
-    UNUSED_E(extruder);
585
-    planner.settings.max_feedrate_mm_s[E_AXIS_N(axis - E0)] = value;
584
+    planner.set_max_feedrate(E_AXIS_N(extruder - E0), value);
586 585
   }
587 586
 
588 587
   float getAxisMaxAcceleration_mm_s2(const axis_t axis) {
@@ -595,12 +594,11 @@ namespace ExtUI {
595 594
   }
596 595
 
597 596
   void setAxisMaxAcceleration_mm_s2(const float value, const axis_t axis) {
598
-    planner.settings.max_acceleration_mm_per_s2[axis] = value;
597
+    planner.set_max_acceleration(axis, value);
599 598
   }
600 599
 
601 600
   void setAxisMaxAcceleration_mm_s2(const float value, const extruder_t extruder) {
602
-    UNUSED_E(extruder);
603
-    planner.settings.max_acceleration_mm_per_s2[E_AXIS_N(extruder - E0)] = value;
601
+    planner.set_max_acceleration(E_AXIS_N(extruder - E0), value);
604 602
   }
605 603
 
606 604
   #if HAS_FILAMENT_SENSOR
@@ -648,11 +646,11 @@ namespace ExtUI {
648 646
     }
649 647
 
650 648
     void setAxisMaxJerk_mm_s(const float value, const axis_t axis) {
651
-      planner.max_jerk[axis] = value;
649
+      planner.set_max_jerk((AxisEnum)axis, value);
652 650
     }
653 651
 
654 652
     void setAxisMaxJerk_mm_s(const float value, const extruder_t) {
655
-      planner.max_jerk.e = value;
653
+      planner.set_max_jerk(E_AXIS, value);
656 654
     }
657 655
   #endif
658 656
 

+ 53
- 14
Marlin/src/lcd/menu/menu_advanced.cpp View File

@@ -453,14 +453,28 @@ void menu_backlash();
453 453
     MENU_BACK(MSG_ADVANCED_SETTINGS);
454 454
 
455 455
     // M203 Max Feedrate
456
-    #define EDIT_VMAX(N) MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_VMAX MSG_##N, &planner.settings.max_feedrate_mm_s[_AXIS(N)], 1, 999)
456
+    constexpr xyze_feedrate_t max_fr_edit =
457
+      #ifdef MAX_FEEDRATE_EDIT_VALUES
458
+        MAX_FEEDRATE_EDIT_VALUES
459
+      #elif ENABLED(LIMITED_MAX_FR_EDITING)
460
+        DEFAULT_MAX_FEEDRATE
461
+      #else
462
+        { 999, 999, 999, 999 }
463
+      #endif
464
+    ;
465
+    #if ENABLED(LIMITED_MAX_FR_EDITING) && !defined(MAX_FEEDRATE_EDIT_VALUES)
466
+      const xyze_feedrate_t max_fr_edit_scaled = max_fr_edit * 2;
467
+    #else
468
+      const xyze_feedrate_t &max_fr_edit_scaled = max_fr_edit;
469
+    #endif
470
+    #define EDIT_VMAX(N) MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_VMAX MSG_##N, &planner.settings.max_feedrate_mm_s[_AXIS(N)], 1, max_fr_edit_scaled[_AXIS(N)])
457 471
     EDIT_VMAX(A);
458 472
     EDIT_VMAX(B);
459 473
     EDIT_VMAX(C);
460 474
 
461 475
     #if ENABLED(DISTINCT_E_FACTORS)
462
-      #define EDIT_VMAX_E(N) MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_VMAX MSG_E##N, &planner.settings.max_feedrate_mm_s[E_AXIS_N(N-1)], 1, 999)
463
-      MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_VMAX MSG_E, &planner.settings.max_feedrate_mm_s[E_AXIS_N(active_extruder)], 1, 999);
476
+      #define EDIT_VMAX_E(N) MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_VMAX MSG_E##N, &planner.settings.max_feedrate_mm_s[E_AXIS_N(N-1)], 1, max_fr_edit_scaled.e)
477
+      MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_VMAX MSG_E, &planner.settings.max_feedrate_mm_s[E_AXIS_N(active_extruder)], 1, max_fr_edit_scaled.e);
464 478
       EDIT_VMAX_E(1);
465 479
       EDIT_VMAX_E(2);
466 480
       #if E_STEPPERS > 2
@@ -476,7 +490,7 @@ void menu_backlash();
476 490
         #endif // E_STEPPERS > 3
477 491
       #endif // E_STEPPERS > 2
478 492
     #elif E_STEPPERS
479
-      MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_VMAX MSG_E, &planner.settings.max_feedrate_mm_s[E_AXIS], 1, 999);
493
+      MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_VMAX MSG_E, &planner.settings.max_feedrate_mm_s[E_AXIS], 1, max_fr_edit_scaled.e);
480 494
     #endif
481 495
 
482 496
     // M205 S Min Feedrate
@@ -493,25 +507,41 @@ void menu_backlash();
493 507
     START_MENU();
494 508
     MENU_BACK(MSG_ADVANCED_SETTINGS);
495 509
 
510
+    static float max_accel = _MAX(planner.settings.max_acceleration_mm_per_s2[A_AXIS], planner.settings.max_acceleration_mm_per_s2[B_AXIS], planner.settings.max_acceleration_mm_per_s2[C_AXIS]);
496 511
     // M204 P Acceleration
497
-    MENU_MULTIPLIER_ITEM_EDIT(float5_25, MSG_ACC, &planner.settings.acceleration, 25, 99000);
512
+    MENU_MULTIPLIER_ITEM_EDIT(float5_25, MSG_ACC, &planner.settings.acceleration, 25, max_accel);
498 513
 
499 514
     // M204 R Retract Acceleration
500
-    MENU_MULTIPLIER_ITEM_EDIT(float5, MSG_A_RETRACT, &planner.settings.retract_acceleration, 100, 99000);
515
+    MENU_MULTIPLIER_ITEM_EDIT(float5, MSG_A_RETRACT, &planner.settings.retract_acceleration, 100, max_accel);
501 516
 
502 517
     // M204 T Travel Acceleration
503
-    MENU_MULTIPLIER_ITEM_EDIT(float5_25, MSG_A_TRAVEL, &planner.settings.travel_acceleration, 25, 99000);
518
+    MENU_MULTIPLIER_ITEM_EDIT(float5_25, MSG_A_TRAVEL, &planner.settings.travel_acceleration, 25, max_accel);
504 519
 
505 520
     // M201 settings
506
-    #define EDIT_AMAX(Q,L) MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(long5_25, MSG_AMAX MSG_##Q, &planner.settings.max_acceleration_mm_per_s2[_AXIS(Q)], L, 99000, _reset_acceleration_rates)
521
+    constexpr xyze_ulong_t max_accel_edit =
522
+      #ifdef MAX_ACCEL_EDIT_VALUES
523
+        MAX_ACCEL_EDIT_VALUES
524
+      #elif ENABLED(LIMITED_MAX_ACCEL_EDITING)
525
+        DEFAULT_MAX_ACCELERATION
526
+      #else
527
+        { 99000, 99000, 99000, 99000 }
528
+      #endif
529
+    ;
530
+    #if ENABLED(LIMITED_MAX_ACCEL_EDITING) && !defined(MAX_ACCEL_EDIT_VALUES)
531
+      const xyze_ulong_t max_accel_edit_scaled = max_accel_edit * 2;
532
+    #else
533
+      const xyze_ulong_t &max_accel_edit_scaled = max_accel_edit;
534
+    #endif
535
+
536
+    #define EDIT_AMAX(Q,L) MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(long5_25, MSG_AMAX MSG_##Q, &planner.settings.max_acceleration_mm_per_s2[_AXIS(Q)], L, max_accel_edit_scaled[_AXIS(Q)], _reset_acceleration_rates)
507 537
 
508 538
     EDIT_AMAX(A,100);
509 539
     EDIT_AMAX(B,100);
510 540
     EDIT_AMAX(C, 10);
511 541
 
512 542
     #if ENABLED(DISTINCT_E_FACTORS)
513
-      #define EDIT_AMAX_E(N,E) MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(long5, MSG_AMAX MSG_E##N, &planner.settings.max_acceleration_mm_per_s2[E_AXIS_N(E)], 100, 99000, _reset_e##E##_acceleration_rate)
514
-      MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(long5, MSG_AMAX MSG_E, &planner.settings.max_acceleration_mm_per_s2[E_AXIS_N(active_extruder)], 100, 99000, _reset_acceleration_rates);
543
+      #define EDIT_AMAX_E(N,E) MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(long5_25, MSG_AMAX MSG_E##N, &planner.settings.max_acceleration_mm_per_s2[E_AXIS_N(E)], 100, max_accel_edit_scaled.e, _reset_e##E##_acceleration_rate)
544
+      MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(long5_25, MSG_AMAX MSG_E, &planner.settings.max_acceleration_mm_per_s2[E_AXIS_N(active_extruder)], 100, max_accel_edit_scaled.e, _reset_acceleration_rates);
515 545
       EDIT_AMAX_E(1,0);
516 546
       EDIT_AMAX_E(2,1);
517 547
       #if E_STEPPERS > 2
@@ -527,7 +557,7 @@ void menu_backlash();
527 557
         #endif // E_STEPPERS > 3
528 558
       #endif // E_STEPPERS > 2
529 559
     #elif E_STEPPERS
530
-      MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(long5, MSG_AMAX MSG_E, &planner.settings.max_acceleration_mm_per_s2[E_AXIS], 100, 99000, _reset_acceleration_rates);
560
+      MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(long5_25, MSG_AMAX MSG_E, &planner.settings.max_acceleration_mm_per_s2[E_AXIS], 100, max_accel_edit_scaled.e, _reset_acceleration_rates);
531 561
     #endif
532 562
 
533 563
     END_MENU();
@@ -546,16 +576,25 @@ void menu_backlash();
546 576
       #endif
547 577
     #endif
548 578
     #if HAS_CLASSIC_JERK
549
-      #define EDIT_JERK(N) MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_V##N##_JERK, &planner.max_jerk[_AXIS(N)], 1, 990)
579
+      constexpr xyze_float_t max_jerk_edit =
580
+        #ifdef MAX_ACCEL_EDIT_VALUES
581
+          MAX_JERK_EDIT_VALUES
582
+        #elif ENABLED(LIMITED_JERK_EDITING)
583
+          { (DEFAULT_XJERK) * 2, (DEFAULT_YJERK) * 2, (DEFAULT_ZJERK) * 2, (DEFAULT_EJERK) * 2 }
584
+        #else
585
+          { 990, 990, 990, 990 }
586
+        #endif
587
+      ;
588
+      #define EDIT_JERK(N) MENU_MULTIPLIER_ITEM_EDIT(float3, MSG_V##N##_JERK, &planner.max_jerk[_AXIS(N)], 1, max_jerk_edit[_AXIS(N)])
550 589
       EDIT_JERK(A);
551 590
       EDIT_JERK(B);
552 591
       #if ENABLED(DELTA)
553 592
         EDIT_JERK(C);
554 593
       #else
555
-        MENU_MULTIPLIER_ITEM_EDIT(float52sign, MSG_VC_JERK, &planner.max_jerk.c, 0.1f, 990);
594
+        MENU_MULTIPLIER_ITEM_EDIT(float52sign, MSG_VC_JERK, &planner.max_jerk.c, 0.1f, max_jerk_edit.c);
556 595
       #endif
557 596
       #if !BOTH(JUNCTION_DEVIATION, LIN_ADVANCE)
558
-        EDIT_JERK(E);
597
+        MENU_MULTIPLIER_ITEM_EDIT(float52sign, MSG_VE_JERK, &planner.max_jerk.e, 0.1f, max_jerk_edit.e);
559 598
       #endif
560 599
     #endif
561 600
 

+ 3
- 3
Marlin/src/module/motion.cpp View File

@@ -344,8 +344,8 @@ void _internal_move_to_destination(const feedRate_t &fr_mm_s/*=0.0f*/
344 344
 void do_blocking_move_to(const float rx, const float ry, const float rz, const feedRate_t &fr_mm_s/*=0.0*/) {
345 345
   if (DEBUGGING(LEVELING)) DEBUG_XYZ(">>> do_blocking_move_to", rx, ry, rz);
346 346
 
347
-  const feedRate_t z_feedrate = fr_mm_s ? fr_mm_s : homing_feedrate(Z_AXIS),
348
-                  xy_feedrate = fr_mm_s ? fr_mm_s : feedRate_t(XY_PROBE_FEEDRATE_MM_S);
347
+  const feedRate_t z_feedrate = fr_mm_s ?: homing_feedrate(Z_AXIS),
348
+                  xy_feedrate = fr_mm_s ?: feedRate_t(XY_PROBE_FEEDRATE_MM_S);
349 349
 
350 350
   #if ENABLED(DELTA)
351 351
 
@@ -1255,7 +1255,7 @@ void do_homing_move(const AxisEnum axis, const float distance, const feedRate_t
1255 1255
     #endif
1256 1256
   }
1257 1257
 
1258
-  const feedRate_t real_fr_mm_s = fr_mm_s ? fr_mm_s : homing_feedrate(axis);
1258
+  const feedRate_t real_fr_mm_s = fr_mm_s ?: homing_feedrate(axis);
1259 1259
   #if IS_SCARA
1260 1260
     // Tell the planner the axis is at 0
1261 1261
     current_position[axis] = 0;

+ 63
- 1
Marlin/src/module/planner.cpp View File

@@ -2653,7 +2653,7 @@ bool Planner::buffer_line(const float &rx, const float &ry, const float &rz, con
2653 2653
     #if ENABLED(SCARA_FEEDRATE_SCALING)
2654 2654
       // For SCARA scale the feed rate from mm/s to degrees/s
2655 2655
       // i.e., Complete the angular vector in the given time.
2656
-      const float duration_recip = inv_duration ? inv_duration : fr_mm_s / mm;
2656
+      const float duration_recip = inv_duration ?: fr_mm_s / mm;
2657 2657
       const feedRate_t feedrate = HYPOT(delta.a - position_float.a, delta.b - position_float.b) * duration_recip;
2658 2658
     #else
2659 2659
       const feedRate_t feedrate = fr_mm_s;
@@ -2772,6 +2772,68 @@ void Planner::refresh_positioning() {
2772 2772
   reset_acceleration_rates();
2773 2773
 }
2774 2774
 
2775
+inline void limit_and_warn(float &val, const uint8_t axis, PGM_P const setting_name, const xyze_float_t &max_limit) {
2776
+  const uint8_t lim_axis = axis > E_AXIS ? E_AXIS : axis;
2777
+  const float before = val;
2778
+  LIMIT(val, 1, max_limit[lim_axis]);
2779
+  if (before != val) {
2780
+    SERIAL_CHAR(axis_codes[lim_axis]);
2781
+    SERIAL_ECHOPGM(" Max ");
2782
+    serialprintPGM(setting_name);
2783
+    SERIAL_ECHOLNPAIR(" limited to ", val);
2784
+  }
2785
+}
2786
+
2787
+void Planner::set_max_acceleration(const uint8_t axis, float targetValue) {
2788
+  #if ENABLED(LIMITED_MAX_ACCEL_EDITING)
2789
+    #ifdef MAX_ACCEL_EDIT_VALUES
2790
+      constexpr xyze_float_t max_accel_edit = MAX_ACCEL_EDIT_VALUES;
2791
+      const xyze_float_t &max_acc_edit_scaled = max_accel_edit;
2792
+    #else
2793
+      constexpr xyze_float_t max_accel_edit = DEFAULT_MAX_ACCELERATION,
2794
+                             max_acc_edit_scaled = max_accel_edit * 2;
2795
+    #endif
2796
+    limit_and_warn(targetValue, axis, PSTR("Acceleration"), max_acc_edit_scaled);
2797
+  #endif
2798
+  settings.max_acceleration_mm_per_s2[axis] = targetValue;
2799
+
2800
+  // Update steps per s2 to agree with the units per s2 (since they are used in the planner)
2801
+  reset_acceleration_rates();
2802
+}
2803
+
2804
+void Planner::set_max_feedrate(const uint8_t axis, float targetValue) {
2805
+  #if ENABLED(LIMITED_MAX_FR_EDITING)
2806
+    #ifdef MAX_FEEDRATE_EDIT_VALUES
2807
+      constexpr xyze_float_t max_fr_edit = MAX_FEEDRATE_EDIT_VALUES;
2808
+      const xyze_float_t &max_fr_edit_scaled = max_fr_edit;
2809
+    #else
2810
+      constexpr xyze_float_t max_fr_edit = DEFAULT_MAX_FEEDRATE,
2811
+                             max_fr_edit_scaled = max_fr_edit * 2;
2812
+    #endif
2813
+    limit_and_warn(targetValue, axis, PSTR("Feedrate"), max_fr_edit_scaled);
2814
+  #endif
2815
+  settings.max_feedrate_mm_s[axis] = targetValue;
2816
+}
2817
+
2818
+void Planner::set_max_jerk(const AxisEnum axis, float targetValue) {
2819
+  #if HAS_CLASSIC_JERK
2820
+    #if ENABLED(LIMITED_JERK_EDITING)
2821
+      constexpr xyze_float_t max_jerk_edit =
2822
+        #ifdef MAX_JERK_EDIT_VALUES
2823
+          MAX_JERK_EDIT_VALUES
2824
+        #else
2825
+          { (DEFAULT_XJERK) * 2, (DEFAULT_YJERK) * 2,
2826
+            (DEFAULT_ZJERK) * 2, (DEFAULT_EJERK) * 2 }
2827
+        #endif
2828
+      ;
2829
+      limit_and_warn(targetValue, axis, PSTR("Jerk"), max_jerk_edit);
2830
+    #endif
2831
+    max_jerk[axis] = targetValue;
2832
+  #else
2833
+    UNUSED(axis); UNUSED(targetValue);
2834
+  #endif
2835
+}
2836
+
2775 2837
 #if ENABLED(AUTOTEMP)
2776 2838
 
2777 2839
   void Planner::autotemp_M104_M109() {

+ 4
- 0
Marlin/src/module/planner.h View File

@@ -358,6 +358,10 @@ class Planner {
358 358
 
359 359
     static void reset_acceleration_rates();
360 360
     static void refresh_positioning();
361
+    static void set_max_acceleration(const uint8_t axis, float targetValue);
362
+    static void set_max_feedrate(const uint8_t axis, float targetValue);
363
+    static void set_max_jerk(const AxisEnum axis, float targetValue);
364
+
361 365
 
362 366
     #if EXTRUDERS
363 367
       FORCE_INLINE static void refresh_e_factor(const uint8_t e) {

+ 15
- 0
config/default/Configuration.h View File

@@ -725,6 +725,11 @@
725 725
  */
726 726
 #define DEFAULT_MAX_FEEDRATE          { 300, 300, 5, 25 }
727 727
 
728
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
729
+#if ENABLED(LIMITED_MAX_FR_EDITING)
730
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
731
+#endif
732
+
728 733
 /**
729 734
  * Default Max Acceleration (change/s) change = mm/s
730 735
  * (Maximum start speed for accelerated moves)
@@ -733,6 +738,11 @@
733 738
  */
734 739
 #define DEFAULT_MAX_ACCELERATION      { 3000, 3000, 100, 10000 }
735 740
 
741
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
742
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
743
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
744
+#endif
745
+
736 746
 /**
737 747
  * Default Acceleration (change/s) change = mm/s
738 748
  * Override with M204
@@ -771,6 +781,11 @@
771 781
   #define DEFAULT_XJERK 10.0
772 782
   #define DEFAULT_YJERK 10.0
773 783
   #define DEFAULT_ZJERK  0.3
784
+
785
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
786
+  #if ENABLED(LIMITED_JERK_EDITING)
787
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
788
+  #endif
774 789
 #endif
775 790
 
776 791
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/3DFabXYZ/Migbot/Configuration.h View File

@@ -731,6 +731,11 @@
731 731
  */
732 732
 #define DEFAULT_MAX_FEEDRATE          { 225, 225, 3, 25 }
733 733
 
734
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
735
+#if ENABLED(LIMITED_MAX_FR_EDITING)
736
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
737
+#endif
738
+
734 739
 /**
735 740
  * Default Max Acceleration (change/s) change = mm/s
736 741
  * (Maximum start speed for accelerated moves)
@@ -739,6 +744,11 @@
739 744
  */
740 745
 #define DEFAULT_MAX_ACCELERATION      { 1590, 1590, 100, 10000 }
741 746
 
747
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
748
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
749
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
750
+#endif
751
+
742 752
 /**
743 753
  * Default Acceleration (change/s) change = mm/s
744 754
  * Override with M204
@@ -777,6 +787,11 @@
777 787
   #define DEFAULT_XJERK 8.0
778 788
   #define DEFAULT_YJERK 8.0
779 789
   #define DEFAULT_ZJERK  0.3
790
+
791
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
792
+  #if ENABLED(LIMITED_JERK_EDITING)
793
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
794
+  #endif
780 795
 #endif
781 796
 
782 797
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/ADIMLab/Gantry v2/Configuration.h View File

@@ -725,6 +725,11 @@
725 725
  */
726 726
 #define DEFAULT_MAX_FEEDRATE          { 300, 300, 5, 25 }
727 727
 
728
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
729
+#if ENABLED(LIMITED_MAX_FR_EDITING)
730
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
731
+#endif
732
+
728 733
 /**
729 734
  * Default Max Acceleration (change/s) change = mm/s
730 735
  * (Maximum start speed for accelerated moves)
@@ -733,6 +738,11 @@
733 738
  */
734 739
 #define DEFAULT_MAX_ACCELERATION      { 3000, 3000, 100, 10000 }
735 740
 
741
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
742
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
743
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
744
+#endif
745
+
736 746
 /**
737 747
  * Default Acceleration (change/s) change = mm/s
738 748
  * Override with M204
@@ -771,6 +781,11 @@
771 781
   #define DEFAULT_XJERK 10.0
772 782
   #define DEFAULT_YJERK 10.0
773 783
   #define DEFAULT_ZJERK  0.3
784
+
785
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
786
+  #if ENABLED(LIMITED_JERK_EDITING)
787
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
788
+  #endif
774 789
 #endif
775 790
 
776 791
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/AlephObjects/TAZ4/Configuration.h View File

@@ -745,6 +745,11 @@
745 745
  */
746 746
 #define DEFAULT_MAX_FEEDRATE          { 800, 800, 8, 50 }
747 747
 
748
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
749
+#if ENABLED(LIMITED_MAX_FR_EDITING)
750
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
751
+#endif
752
+
748 753
 /**
749 754
  * Default Max Acceleration (change/s) change = mm/s
750 755
  * (Maximum start speed for accelerated moves)
@@ -753,6 +758,11 @@
753 758
  */
754 759
 #define DEFAULT_MAX_ACCELERATION      { 9000, 9000, 100, 10000 }
755 760
 
761
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
762
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
763
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
764
+#endif
765
+
756 766
 /**
757 767
  * Default Acceleration (change/s) change = mm/s
758 768
  * Override with M204
@@ -791,6 +801,11 @@
791 801
   #define DEFAULT_XJERK  8.0
792 802
   #define DEFAULT_YJERK  8.0
793 803
   #define DEFAULT_ZJERK  0.3
804
+
805
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
806
+  #if ENABLED(LIMITED_JERK_EDITING)
807
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
808
+  #endif
794 809
 #endif
795 810
 
796 811
 #define DEFAULT_EJERK   10.0  // May be used by Linear Advance

+ 15
- 0
config/examples/AliExpress/CL-260/Configuration.h View File

@@ -725,6 +725,11 @@
725 725
  */
726 726
 #define DEFAULT_MAX_FEEDRATE          { 300, 300, 5, 25 }
727 727
 
728
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
729
+#if ENABLED(LIMITED_MAX_FR_EDITING)
730
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
731
+#endif
732
+
728 733
 /**
729 734
  * Default Max Acceleration (change/s) change = mm/s
730 735
  * (Maximum start speed for accelerated moves)
@@ -733,6 +738,11 @@
733 738
  */
734 739
 #define DEFAULT_MAX_ACCELERATION      { 3000, 3000, 100, 10000 }
735 740
 
741
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
742
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
743
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
744
+#endif
745
+
736 746
 /**
737 747
  * Default Acceleration (change/s) change = mm/s
738 748
  * Override with M204
@@ -771,6 +781,11 @@
771 781
   #define DEFAULT_XJERK 10.0
772 782
   #define DEFAULT_YJERK 10.0
773 783
   #define DEFAULT_ZJERK  0.3
784
+
785
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
786
+  #if ENABLED(LIMITED_JERK_EDITING)
787
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
788
+  #endif
774 789
 #endif
775 790
 
776 791
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/AliExpress/UM2pExt/Configuration.h View File

@@ -736,6 +736,11 @@
736 736
  */
737 737
 #define DEFAULT_MAX_FEEDRATE          { 300, 300, 40, 45}
738 738
 
739
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
740
+#if ENABLED(LIMITED_MAX_FR_EDITING)
741
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
742
+#endif
743
+
739 744
 /**
740 745
  * Default Max Acceleration (change/s) change = mm/s
741 746
  * (Maximum start speed for accelerated moves)
@@ -744,6 +749,11 @@
744 749
  */
745 750
 #define DEFAULT_MAX_ACCELERATION      { 3000, 3000, 100, 10000 }
746 751
 
752
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
753
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
754
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
755
+#endif
756
+
747 757
 /**
748 758
  * Default Acceleration (change/s) change = mm/s
749 759
  * Override with M204
@@ -782,6 +792,11 @@
782 792
   #define DEFAULT_XJERK 10.0
783 793
   #define DEFAULT_YJERK 10.0
784 794
   #define DEFAULT_ZJERK  0.3
795
+
796
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
797
+  #if ENABLED(LIMITED_JERK_EDITING)
798
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
799
+  #endif
785 800
 #endif
786 801
 
787 802
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Anet/A2/Configuration.h View File

@@ -725,6 +725,11 @@
725 725
  */
726 726
 #define DEFAULT_MAX_FEEDRATE          { 300, 300, 5, 25 }
727 727
 
728
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
729
+#if ENABLED(LIMITED_MAX_FR_EDITING)
730
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
731
+#endif
732
+
728 733
 /**
729 734
  * Default Max Acceleration (change/s) change = mm/s
730 735
  * (Maximum start speed for accelerated moves)
@@ -733,6 +738,11 @@
733 738
  */
734 739
 #define DEFAULT_MAX_ACCELERATION      { 3000, 3000, 100, 10000 }
735 740
 
741
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
742
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
743
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
744
+#endif
745
+
736 746
 /**
737 747
  * Default Acceleration (change/s) change = mm/s
738 748
  * Override with M204
@@ -771,6 +781,11 @@
771 781
   #define DEFAULT_XJERK 10.0
772 782
   #define DEFAULT_YJERK 10.0
773 783
   #define DEFAULT_ZJERK  0.3
784
+
785
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
786
+  #if ENABLED(LIMITED_JERK_EDITING)
787
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
788
+  #endif
774 789
 #endif
775 790
 
776 791
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Anet/A2plus/Configuration.h View File

@@ -725,6 +725,11 @@
725 725
  */
726 726
 #define DEFAULT_MAX_FEEDRATE          { 300, 300, 5, 25 }
727 727
 
728
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
729
+#if ENABLED(LIMITED_MAX_FR_EDITING)
730
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
731
+#endif
732
+
728 733
 /**
729 734
  * Default Max Acceleration (change/s) change = mm/s
730 735
  * (Maximum start speed for accelerated moves)
@@ -733,6 +738,11 @@
733 738
  */
734 739
 #define DEFAULT_MAX_ACCELERATION      { 3000, 3000, 100, 10000 }
735 740
 
741
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
742
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
743
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
744
+#endif
745
+
736 746
 /**
737 747
  * Default Acceleration (change/s) change = mm/s
738 748
  * Override with M204
@@ -771,6 +781,11 @@
771 781
   #define DEFAULT_XJERK 10.0
772 782
   #define DEFAULT_YJERK 10.0
773 783
   #define DEFAULT_ZJERK  0.3
784
+
785
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
786
+  #if ENABLED(LIMITED_JERK_EDITING)
787
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
788
+  #endif
774 789
 #endif
775 790
 
776 791
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Anet/A6/Configuration.h View File

@@ -756,6 +756,11 @@
756 756
 //#define DEFAULT_MAX_FEEDRATE          { 400, 400, 20, 50 }
757 757
 
758 758
 
759
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
760
+#if ENABLED(LIMITED_MAX_FR_EDITING)
761
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
762
+#endif
763
+
759 764
 /**
760 765
  * Default Max Acceleration (change/s) change = mm/s
761 766
  * (Maximum start speed for accelerated moves)
@@ -769,6 +774,11 @@
769 774
 #define DEFAULT_MAX_ACCELERATION      { 9000, 5000, 50,  10000 }
770 775
 //#define DEFAULT_MAX_ACCELERATION      { 10000, 10000, 200, 10000 }
771 776
 
777
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
778
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
779
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
780
+#endif
781
+
772 782
 /**
773 783
  * Default Acceleration (change/s) change = mm/s
774 784
  * Override with M204
@@ -818,6 +828,11 @@
818 828
   #define DEFAULT_XJERK 10.0
819 829
   #define DEFAULT_YJERK 10.0
820 830
   #define DEFAULT_ZJERK  0.3
831
+
832
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
833
+  #if ENABLED(LIMITED_JERK_EDITING)
834
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
835
+  #endif
821 836
 #endif
822 837
 
823 838
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Anet/A8/Configuration.h View File

@@ -738,6 +738,11 @@
738 738
  */
739 739
 #define DEFAULT_MAX_FEEDRATE          { 400, 400, 8, 50 }
740 740
 
741
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
742
+#if ENABLED(LIMITED_MAX_FR_EDITING)
743
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
744
+#endif
745
+
741 746
 /**
742 747
  * Default Max Acceleration (change/s) change = mm/s
743 748
  * (Maximum start speed for accelerated moves)
@@ -746,6 +751,11 @@
746 751
  */
747 752
 #define DEFAULT_MAX_ACCELERATION      { 2000, 2000, 100, 10000 }
748 753
 
754
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
755
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
756
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
757
+#endif
758
+
749 759
 /**
750 760
  * Default Acceleration (change/s) change = mm/s
751 761
  * Override with M204
@@ -784,6 +794,11 @@
784 794
   #define DEFAULT_XJERK 10.0
785 795
   #define DEFAULT_YJERK 10.0
786 796
   #define DEFAULT_ZJERK  0.3
797
+
798
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
799
+  #if ENABLED(LIMITED_JERK_EDITING)
800
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
801
+  #endif
787 802
 #endif
788 803
 
789 804
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Anet/A8plus/Configuration.h View File

@@ -736,6 +736,11 @@
736 736
  */
737 737
 #define DEFAULT_MAX_FEEDRATE          { 400, 400, 50, 25 }
738 738
 
739
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
740
+#if ENABLED(LIMITED_MAX_FR_EDITING)
741
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
742
+#endif
743
+
739 744
 /**
740 745
  * Default Max Acceleration (change/s) change = mm/s
741 746
  * (Maximum start speed for accelerated moves)
@@ -744,6 +749,11 @@
744 749
  */
745 750
 #define DEFAULT_MAX_ACCELERATION      { 2000, 2000, 100, 10000 }
746 751
 
752
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
753
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
754
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
755
+#endif
756
+
747 757
 /**
748 758
  * Default Acceleration (change/s) change = mm/s
749 759
  * Override with M204
@@ -782,6 +792,11 @@
782 792
   #define DEFAULT_XJERK 10.0
783 793
   #define DEFAULT_YJERK 10.0
784 794
   #define DEFAULT_ZJERK  0.3
795
+
796
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
797
+  #if ENABLED(LIMITED_JERK_EDITING)
798
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
799
+  #endif
785 800
 #endif
786 801
 
787 802
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Anet/E16/Configuration.h View File

@@ -737,6 +737,11 @@
737 737
  */
738 738
 #define DEFAULT_MAX_FEEDRATE          { 300, 300, 50, 25 }
739 739
 
740
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
741
+#if ENABLED(LIMITED_MAX_FR_EDITING)
742
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
743
+#endif
744
+
740 745
 /**
741 746
  * Default Max Acceleration (change/s) change = mm/s
742 747
  * (Maximum start speed for accelerated moves)
@@ -745,6 +750,11 @@
745 750
  */
746 751
 #define DEFAULT_MAX_ACCELERATION      { 2000, 2000, 100, 10000 }
747 752
 
753
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
754
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
755
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
756
+#endif
757
+
748 758
 /**
749 759
  * Default Acceleration (change/s) change = mm/s
750 760
  * Override with M204
@@ -783,6 +793,11 @@
783 793
   #define DEFAULT_XJERK 10.0
784 794
   #define DEFAULT_YJERK 10.0
785 795
   #define DEFAULT_ZJERK  0.3
796
+
797
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
798
+  #if ENABLED(LIMITED_JERK_EDITING)
799
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
800
+  #endif
786 801
 #endif
787 802
 
788 803
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/AnyCubic/i3/Configuration.h View File

@@ -735,6 +735,11 @@
735 735
  */
736 736
 #define DEFAULT_MAX_FEEDRATE          { 500, 500, 6, 25 }
737 737
 
738
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
739
+#if ENABLED(LIMITED_MAX_FR_EDITING)
740
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
741
+#endif
742
+
738 743
 /**
739 744
  * Default Max Acceleration (change/s) change = mm/s
740 745
  * (Maximum start speed for accelerated moves)
@@ -743,6 +748,11 @@
743 748
  */
744 749
 #define DEFAULT_MAX_ACCELERATION      { 1500, 1500, 50, 8000 }
745 750
 
751
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
752
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
753
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
754
+#endif
755
+
746 756
 /**
747 757
  * Default Acceleration (change/s) change = mm/s
748 758
  * Override with M204
@@ -781,6 +791,11 @@
781 791
   #define DEFAULT_XJERK 5.0
782 792
   #define DEFAULT_YJERK 2.0
783 793
   #define DEFAULT_ZJERK  0.4
794
+
795
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
796
+  #if ENABLED(LIMITED_JERK_EDITING)
797
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
798
+  #endif
784 799
 #endif
785 800
 
786 801
 #define DEFAULT_EJERK    2.0  // May be used by Linear Advance

+ 15
- 0
config/examples/ArmEd/Configuration.h View File

@@ -726,6 +726,11 @@
726 726
  */
727 727
 #define DEFAULT_MAX_FEEDRATE          { 300, 300, 20, 120 }
728 728
 
729
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
730
+#if ENABLED(LIMITED_MAX_FR_EDITING)
731
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
732
+#endif
733
+
729 734
 /**
730 735
  * Default Max Acceleration (change/s) change = mm/s
731 736
  * (Maximum start speed for accelerated moves)
@@ -734,6 +739,11 @@
734 739
  */
735 740
 #define DEFAULT_MAX_ACCELERATION      { 1000, 1000, 1000, 5000 }
736 741
 
742
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
743
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
744
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
745
+#endif
746
+
737 747
 /**
738 748
  * Default Acceleration (change/s) change = mm/s
739 749
  * Override with M204
@@ -772,6 +782,11 @@
772 782
   #define DEFAULT_XJERK  8.0
773 783
   #define DEFAULT_YJERK  8.0
774 784
   #define DEFAULT_ZJERK  0.4
785
+
786
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
787
+  #if ENABLED(LIMITED_JERK_EDITING)
788
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
789
+  #endif
775 790
 #endif
776 791
 
777 792
 #define DEFAULT_EJERK    1.5  // May be used by Linear Advance

+ 15
- 0
config/examples/Azteeg/X5GT/Configuration.h View File

@@ -725,6 +725,11 @@
725 725
  */
726 726
 #define DEFAULT_MAX_FEEDRATE          { 300, 300, 5, 25 }
727 727
 
728
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
729
+#if ENABLED(LIMITED_MAX_FR_EDITING)
730
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
731
+#endif
732
+
728 733
 /**
729 734
  * Default Max Acceleration (change/s) change = mm/s
730 735
  * (Maximum start speed for accelerated moves)
@@ -733,6 +738,11 @@
733 738
  */
734 739
 #define DEFAULT_MAX_ACCELERATION      { 3000, 3000, 100, 10000 }
735 740
 
741
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
742
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
743
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
744
+#endif
745
+
736 746
 /**
737 747
  * Default Acceleration (change/s) change = mm/s
738 748
  * Override with M204
@@ -771,6 +781,11 @@
771 781
   #define DEFAULT_XJERK 10.0
772 782
   #define DEFAULT_YJERK 10.0
773 783
   #define DEFAULT_ZJERK  0.3
784
+
785
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
786
+  #if ENABLED(LIMITED_JERK_EDITING)
787
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
788
+  #endif
774 789
 #endif
775 790
 
776 791
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/BIBO/TouchX/cyclops/Configuration.h View File

@@ -725,6 +725,11 @@
725 725
  */
726 726
 #define DEFAULT_MAX_FEEDRATE          { 350, 350, 10, 50 }
727 727
 
728
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
729
+#if ENABLED(LIMITED_MAX_FR_EDITING)
730
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
731
+#endif
732
+
728 733
 /**
729 734
  * Default Max Acceleration (change/s) change = mm/s
730 735
  * (Maximum start speed for accelerated moves)
@@ -733,6 +738,11 @@
733 738
  */
734 739
 #define DEFAULT_MAX_ACCELERATION      { 1100, 1100, 300, 2500 }
735 740
 
741
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
742
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
743
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
744
+#endif
745
+
736 746
 /**
737 747
  * Default Acceleration (change/s) change = mm/s
738 748
  * Override with M204
@@ -771,6 +781,11 @@
771 781
   #define DEFAULT_XJERK  7.0
772 782
   #define DEFAULT_YJERK  7.0
773 783
   #define DEFAULT_ZJERK  0.65
784
+
785
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
786
+  #if ENABLED(LIMITED_JERK_EDITING)
787
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
788
+  #endif
774 789
 #endif
775 790
 
776 791
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/BIBO/TouchX/default/Configuration.h View File

@@ -725,6 +725,11 @@
725 725
  */
726 726
 #define DEFAULT_MAX_FEEDRATE          { 350, 350, 10, 25 }
727 727
 
728
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
729
+#if ENABLED(LIMITED_MAX_FR_EDITING)
730
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
731
+#endif
732
+
728 733
 /**
729 734
  * Default Max Acceleration (change/s) change = mm/s
730 735
  * (Maximum start speed for accelerated moves)
@@ -733,6 +738,11 @@
733 738
  */
734 739
 #define DEFAULT_MAX_ACCELERATION      { 1100, 1100, 300, 5000 }
735 740
 
741
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
742
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
743
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
744
+#endif
745
+
736 746
 /**
737 747
  * Default Acceleration (change/s) change = mm/s
738 748
  * Override with M204
@@ -771,6 +781,11 @@
771 781
   #define DEFAULT_XJERK  7.0
772 782
   #define DEFAULT_YJERK  7.0
773 783
   #define DEFAULT_ZJERK  0.65
784
+
785
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
786
+  #if ENABLED(LIMITED_JERK_EDITING)
787
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
788
+  #endif
774 789
 #endif
775 790
 
776 791
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/BQ/Hephestos/Configuration.h View File

@@ -713,6 +713,11 @@
713 713
  */
714 714
 #define DEFAULT_MAX_FEEDRATE          { 200, 200, 3.3, 25 }
715 715
 
716
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
717
+#if ENABLED(LIMITED_MAX_FR_EDITING)
718
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
719
+#endif
720
+
716 721
 /**
717 722
  * Default Max Acceleration (change/s) change = mm/s
718 723
  * (Maximum start speed for accelerated moves)
@@ -721,6 +726,11 @@
721 726
  */
722 727
 #define DEFAULT_MAX_ACCELERATION      { 1100, 1100, 100, 10000 }
723 728
 
729
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
730
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
731
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
732
+#endif
733
+
724 734
 /**
725 735
  * Default Acceleration (change/s) change = mm/s
726 736
  * Override with M204
@@ -759,6 +769,11 @@
759 769
   #define DEFAULT_XJERK 10.0
760 770
   #define DEFAULT_YJERK 10.0
761 771
   #define DEFAULT_ZJERK  0.3
772
+
773
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
774
+  #if ENABLED(LIMITED_JERK_EDITING)
775
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
776
+  #endif
762 777
 #endif
763 778
 
764 779
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/BQ/Hephestos_2/Configuration.h View File

@@ -726,6 +726,11 @@
726 726
  */
727 727
 #define DEFAULT_MAX_FEEDRATE          { 300, 300, 3, 120 }
728 728
 
729
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
730
+#if ENABLED(LIMITED_MAX_FR_EDITING)
731
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
732
+#endif
733
+
729 734
 /**
730 735
  * Default Max Acceleration (change/s) change = mm/s
731 736
  * (Maximum start speed for accelerated moves)
@@ -734,6 +739,11 @@
734 739
  */
735 740
 #define DEFAULT_MAX_ACCELERATION      { 3000, 3000, 100, 3000 }
736 741
 
742
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
743
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
744
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
745
+#endif
746
+
737 747
 /**
738 748
  * Default Acceleration (change/s) change = mm/s
739 749
  * Override with M204
@@ -772,6 +782,11 @@
772 782
   #define DEFAULT_XJERK  5.0
773 783
   #define DEFAULT_YJERK  5.0
774 784
   #define DEFAULT_ZJERK  0.3
785
+
786
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
787
+  #if ENABLED(LIMITED_JERK_EDITING)
788
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
789
+  #endif
775 790
 #endif
776 791
 
777 792
 #define DEFAULT_EJERK   10.0  // May be used by Linear Advance

+ 15
- 0
config/examples/BQ/WITBOX/Configuration.h View File

@@ -713,6 +713,11 @@
713 713
  */
714 714
 #define DEFAULT_MAX_FEEDRATE          { 350, 350, 7.2, 80 }
715 715
 
716
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
717
+#if ENABLED(LIMITED_MAX_FR_EDITING)
718
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
719
+#endif
720
+
716 721
 /**
717 722
  * Default Max Acceleration (change/s) change = mm/s
718 723
  * (Maximum start speed for accelerated moves)
@@ -721,6 +726,11 @@
721 726
  */
722 727
 #define DEFAULT_MAX_ACCELERATION      { 1000, 1000, 10, 1000 }
723 728
 
729
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
730
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
731
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
732
+#endif
733
+
724 734
 /**
725 735
  * Default Acceleration (change/s) change = mm/s
726 736
  * Override with M204
@@ -759,6 +769,11 @@
759 769
   #define DEFAULT_XJERK 10.0
760 770
   #define DEFAULT_YJERK 10.0
761 771
   #define DEFAULT_ZJERK  0.3
772
+
773
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
774
+  #if ENABLED(LIMITED_JERK_EDITING)
775
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
776
+  #endif
762 777
 #endif
763 778
 
764 779
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Cartesio/Configuration.h View File

@@ -724,6 +724,11 @@
724 724
  */
725 725
 #define DEFAULT_MAX_FEEDRATE          { 200, 200, 20, 20 }
726 726
 
727
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
728
+#if ENABLED(LIMITED_MAX_FR_EDITING)
729
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
730
+#endif
731
+
727 732
 /**
728 733
  * Default Max Acceleration (change/s) change = mm/s
729 734
  * (Maximum start speed for accelerated moves)
@@ -732,6 +737,11 @@
732 737
  */
733 738
 #define DEFAULT_MAX_ACCELERATION      { 1000, 1000, 100, 10000 }
734 739
 
740
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
741
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
742
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
743
+#endif
744
+
735 745
 /**
736 746
  * Default Acceleration (change/s) change = mm/s
737 747
  * Override with M204
@@ -770,6 +780,11 @@
770 780
   #define DEFAULT_XJERK 10.0
771 781
   #define DEFAULT_YJERK 10.0
772 782
   #define DEFAULT_ZJERK  0.3
783
+
784
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
785
+  #if ENABLED(LIMITED_JERK_EDITING)
786
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
787
+  #endif
773 788
 #endif
774 789
 
775 790
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Creality/CR-10/Configuration.h View File

@@ -735,6 +735,11 @@
735 735
  */
736 736
 #define DEFAULT_MAX_FEEDRATE          { 500, 500, 15, 25 }
737 737
 
738
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
739
+#if ENABLED(LIMITED_MAX_FR_EDITING)
740
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
741
+#endif
742
+
738 743
 /**
739 744
  * Default Max Acceleration (change/s) change = mm/s
740 745
  * (Maximum start speed for accelerated moves)
@@ -743,6 +748,11 @@
743 748
  */
744 749
 #define DEFAULT_MAX_ACCELERATION      { 500, 500, 100, 5000 }
745 750
 
751
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
752
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
753
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
754
+#endif
755
+
746 756
 /**
747 757
  * Default Acceleration (change/s) change = mm/s
748 758
  * Override with M204
@@ -781,6 +791,11 @@
781 791
   #define DEFAULT_XJERK 10.0
782 792
   #define DEFAULT_YJERK 10.0
783 793
   #define DEFAULT_ZJERK  2.7
794
+
795
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
796
+  #if ENABLED(LIMITED_JERK_EDITING)
797
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
798
+  #endif
784 799
 #endif
785 800
 
786 801
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Creality/CR-10S/Configuration.h View File

@@ -725,6 +725,11 @@
725 725
  */
726 726
 #define DEFAULT_MAX_FEEDRATE          { 2500, 2500, 100, 25 }
727 727
 
728
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
729
+#if ENABLED(LIMITED_MAX_FR_EDITING)
730
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
731
+#endif
732
+
728 733
 /**
729 734
  * Default Max Acceleration (change/s) change = mm/s
730 735
  * (Maximum start speed for accelerated moves)
@@ -733,6 +738,11 @@
733 738
  */
734 739
 #define DEFAULT_MAX_ACCELERATION      { 500, 500, 100, 5000 }
735 740
 
741
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
742
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
743
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
744
+#endif
745
+
736 746
 /**
737 747
  * Default Acceleration (change/s) change = mm/s
738 748
  * Override with M204
@@ -771,6 +781,11 @@
771 781
   #define DEFAULT_XJERK 10.0
772 782
   #define DEFAULT_YJERK 10.0
773 783
   #define DEFAULT_ZJERK  0.4
784
+
785
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
786
+  #if ENABLED(LIMITED_JERK_EDITING)
787
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
788
+  #endif
774 789
 #endif
775 790
 
776 791
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Creality/CR-10_5S/Configuration.h View File

@@ -726,6 +726,11 @@
726 726
  */
727 727
 #define DEFAULT_MAX_FEEDRATE          { 300, 300, 5, 25 }
728 728
 
729
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
730
+#if ENABLED(LIMITED_MAX_FR_EDITING)
731
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
732
+#endif
733
+
729 734
 /**
730 735
  * Default Max Acceleration (change/s) change = mm/s
731 736
  * (Maximum start speed for accelerated moves)
@@ -734,6 +739,11 @@
734 739
  */
735 740
 #define DEFAULT_MAX_ACCELERATION      { 300, 300, 100, 5000 }
736 741
 
742
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
743
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
744
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
745
+#endif
746
+
737 747
 /**
738 748
  * Default Acceleration (change/s) change = mm/s
739 749
  * Override with M204
@@ -772,6 +782,11 @@
772 782
   #define DEFAULT_XJERK  5.0
773 783
   #define DEFAULT_YJERK  5.0
774 784
   #define DEFAULT_ZJERK  0.4
785
+
786
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
787
+  #if ENABLED(LIMITED_JERK_EDITING)
788
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
789
+  #endif
775 790
 #endif
776 791
 
777 792
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Creality/CR-10mini/Configuration.h View File

@@ -744,6 +744,11 @@
744 744
  */
745 745
 #define DEFAULT_MAX_FEEDRATE          { 500, 500, 15, 25 }
746 746
 
747
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
748
+#if ENABLED(LIMITED_MAX_FR_EDITING)
749
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
750
+#endif
751
+
747 752
 /**
748 753
  * Default Max Acceleration (change/s) change = mm/s
749 754
  * (Maximum start speed for accelerated moves)
@@ -752,6 +757,11 @@
752 757
  */
753 758
 #define DEFAULT_MAX_ACCELERATION      { 500, 500, 100, 5000 }
754 759
 
760
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
761
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
762
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
763
+#endif
764
+
755 765
 /**
756 766
  * Default Acceleration (change/s) change = mm/s
757 767
  * Override with M204
@@ -790,6 +800,11 @@
790 800
   #define DEFAULT_XJERK 10.0
791 801
   #define DEFAULT_YJERK 10.0
792 802
   #define DEFAULT_ZJERK  0.3
803
+
804
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
805
+  #if ENABLED(LIMITED_JERK_EDITING)
806
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
807
+  #endif
793 808
 #endif
794 809
 
795 810
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Creality/CR-20 Pro/Configuration.h View File

@@ -729,6 +729,11 @@
729 729
  */
730 730
 #define DEFAULT_MAX_FEEDRATE          { 500, 500, 5, 25 }
731 731
 
732
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
733
+#if ENABLED(LIMITED_MAX_FR_EDITING)
734
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
735
+#endif
736
+
732 737
 /**
733 738
  * Default Max Acceleration (change/s) change = mm/s
734 739
  * (Maximum start speed for accelerated moves)
@@ -737,6 +742,11 @@
737 742
  */
738 743
 #define DEFAULT_MAX_ACCELERATION      { 500, 500, 100, 5000 }
739 744
 
745
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
746
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
747
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
748
+#endif
749
+
740 750
 /**
741 751
  * Default Acceleration (change/s) change = mm/s
742 752
  * Override with M204
@@ -775,6 +785,11 @@
775 785
   #define DEFAULT_XJERK 10.0
776 786
   #define DEFAULT_YJERK 10.0
777 787
   #define DEFAULT_ZJERK  0.3
788
+
789
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
790
+  #if ENABLED(LIMITED_JERK_EDITING)
791
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
792
+  #endif
778 793
 #endif
779 794
 
780 795
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Creality/CR-20/Configuration.h View File

@@ -729,6 +729,11 @@
729 729
  */
730 730
 #define DEFAULT_MAX_FEEDRATE          { 500, 500, 5, 25 }
731 731
 
732
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
733
+#if ENABLED(LIMITED_MAX_FR_EDITING)
734
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
735
+#endif
736
+
732 737
 /**
733 738
  * Default Max Acceleration (change/s) change = mm/s
734 739
  * (Maximum start speed for accelerated moves)
@@ -737,6 +742,11 @@
737 742
  */
738 743
 #define DEFAULT_MAX_ACCELERATION      { 500, 500, 100, 5000 }
739 744
 
745
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
746
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
747
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
748
+#endif
749
+
740 750
 /**
741 751
  * Default Acceleration (change/s) change = mm/s
742 752
  * Override with M204
@@ -775,6 +785,11 @@
775 785
   #define DEFAULT_XJERK 10.0
776 786
   #define DEFAULT_YJERK 10.0
777 787
   #define DEFAULT_ZJERK  0.3
788
+
789
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
790
+  #if ENABLED(LIMITED_JERK_EDITING)
791
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
792
+  #endif
778 793
 #endif
779 794
 
780 795
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Creality/CR-8/Configuration.h View File

@@ -735,6 +735,11 @@
735 735
  */
736 736
 #define DEFAULT_MAX_FEEDRATE          { 500, 500, 5, 25 }
737 737
 
738
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
739
+#if ENABLED(LIMITED_MAX_FR_EDITING)
740
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
741
+#endif
742
+
738 743
 /**
739 744
  * Default Max Acceleration (change/s) change = mm/s
740 745
  * (Maximum start speed for accelerated moves)
@@ -743,6 +748,11 @@
743 748
  */
744 749
 #define DEFAULT_MAX_ACCELERATION      { 500, 500, 100, 5000 }
745 750
 
751
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
752
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
753
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
754
+#endif
755
+
746 756
 /**
747 757
  * Default Acceleration (change/s) change = mm/s
748 758
  * Override with M204
@@ -781,6 +791,11 @@
781 791
   #define DEFAULT_XJERK 10.0
782 792
   #define DEFAULT_YJERK 10.0
783 793
   #define DEFAULT_ZJERK  0.4
794
+
795
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
796
+  #if ENABLED(LIMITED_JERK_EDITING)
797
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
798
+  #endif
784 799
 #endif
785 800
 
786 801
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Creality/Ender-2/Configuration.h View File

@@ -729,6 +729,11 @@
729 729
  */
730 730
 #define DEFAULT_MAX_FEEDRATE          { 500, 500, 5, 25 }
731 731
 
732
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
733
+#if ENABLED(LIMITED_MAX_FR_EDITING)
734
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
735
+#endif
736
+
732 737
 /**
733 738
  * Default Max Acceleration (change/s) change = mm/s
734 739
  * (Maximum start speed for accelerated moves)
@@ -737,6 +742,11 @@
737 742
  */
738 743
 #define DEFAULT_MAX_ACCELERATION      { 500, 500, 100, 5000 }
739 744
 
745
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
746
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
747
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
748
+#endif
749
+
740 750
 /**
741 751
  * Default Acceleration (change/s) change = mm/s
742 752
  * Override with M204
@@ -775,6 +785,11 @@
775 785
   #define DEFAULT_XJERK 10.0
776 786
   #define DEFAULT_YJERK 10.0
777 787
   #define DEFAULT_ZJERK  0.3
788
+
789
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
790
+  #if ENABLED(LIMITED_JERK_EDITING)
791
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
792
+  #endif
778 793
 #endif
779 794
 
780 795
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Creality/Ender-3/Configuration.h View File

@@ -729,6 +729,11 @@
729 729
  */
730 730
 #define DEFAULT_MAX_FEEDRATE          { 500, 500, 5, 25 }
731 731
 
732
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
733
+#if ENABLED(LIMITED_MAX_FR_EDITING)
734
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
735
+#endif
736
+
732 737
 /**
733 738
  * Default Max Acceleration (change/s) change = mm/s
734 739
  * (Maximum start speed for accelerated moves)
@@ -737,6 +742,11 @@
737 742
  */
738 743
 #define DEFAULT_MAX_ACCELERATION      { 500, 500, 100, 5000 }
739 744
 
745
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
746
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
747
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
748
+#endif
749
+
740 750
 /**
741 751
  * Default Acceleration (change/s) change = mm/s
742 752
  * Override with M204
@@ -775,6 +785,11 @@
775 785
   #define DEFAULT_XJERK 10.0
776 786
   #define DEFAULT_YJERK 10.0
777 787
   #define DEFAULT_ZJERK  0.3
788
+
789
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
790
+  #if ENABLED(LIMITED_JERK_EDITING)
791
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
792
+  #endif
778 793
 #endif
779 794
 
780 795
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Creality/Ender-4/Configuration.h View File

@@ -735,6 +735,11 @@
735 735
  */
736 736
 #define DEFAULT_MAX_FEEDRATE          { 500, 500, 15, 25 }
737 737
 
738
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
739
+#if ENABLED(LIMITED_MAX_FR_EDITING)
740
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
741
+#endif
742
+
738 743
 /**
739 744
  * Default Max Acceleration (change/s) change = mm/s
740 745
  * (Maximum start speed for accelerated moves)
@@ -743,6 +748,11 @@
743 748
  */
744 749
 #define DEFAULT_MAX_ACCELERATION      { 3000, 3000, 100, 10000 }
745 750
 
751
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
752
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
753
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
754
+#endif
755
+
746 756
 /**
747 757
  * Default Acceleration (change/s) change = mm/s
748 758
  * Override with M204
@@ -781,6 +791,11 @@
781 791
   #define DEFAULT_XJERK 10.0
782 792
   #define DEFAULT_YJERK 10.0
783 793
   #define DEFAULT_ZJERK  2.4
794
+
795
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
796
+  #if ENABLED(LIMITED_JERK_EDITING)
797
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
798
+  #endif
784 799
 #endif
785 800
 
786 801
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Creality/Ender-5/Configuration.h View File

@@ -729,6 +729,11 @@
729 729
  */
730 730
 #define DEFAULT_MAX_FEEDRATE          { 500, 500, 5, 25 }
731 731
 
732
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
733
+#if ENABLED(LIMITED_MAX_FR_EDITING)
734
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
735
+#endif
736
+
732 737
 /**
733 738
  * Default Max Acceleration (change/s) change = mm/s
734 739
  * (Maximum start speed for accelerated moves)
@@ -737,6 +742,11 @@
737 742
  */
738 743
 #define DEFAULT_MAX_ACCELERATION      { 500, 500, 100, 5000 }
739 744
 
745
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
746
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
747
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
748
+#endif
749
+
740 750
 /**
741 751
  * Default Acceleration (change/s) change = mm/s
742 752
  * Override with M204
@@ -775,6 +785,11 @@
775 785
   #define DEFAULT_XJERK 10.0
776 786
   #define DEFAULT_YJERK 10.0
777 787
   #define DEFAULT_ZJERK  0.3
788
+
789
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
790
+  #if ENABLED(LIMITED_JERK_EDITING)
791
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
792
+  #endif
778 793
 #endif
779 794
 
780 795
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Dagoma/Disco Ultimate/Configuration.h View File

@@ -725,6 +725,11 @@
725 725
  */
726 726
 #define DEFAULT_MAX_FEEDRATE          { 500, 500, 4, 170 }
727 727
 
728
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
729
+#if ENABLED(LIMITED_MAX_FR_EDITING)
730
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
731
+#endif
732
+
728 733
 /**
729 734
  * Default Max Acceleration (change/s) change = mm/s
730 735
  * (Maximum start speed for accelerated moves)
@@ -733,6 +738,11 @@
733 738
  */
734 739
 #define DEFAULT_MAX_ACCELERATION      { 3000, 1000, 20, 10000 }
735 740
 
741
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
742
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
743
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
744
+#endif
745
+
736 746
 /**
737 747
  * Default Acceleration (change/s) change = mm/s
738 748
  * Override with M204
@@ -771,6 +781,11 @@
771 781
   #define DEFAULT_XJERK 20
772 782
   #define DEFAULT_YJERK 20
773 783
   #define DEFAULT_ZJERK  0.4
784
+
785
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
786
+  #if ENABLED(LIMITED_JERK_EDITING)
787
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
788
+  #endif
774 789
 #endif
775 790
 
776 791
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/EVNOVO (Artillery)/Sidewinder X1/Configuration.h View File

@@ -730,6 +730,11 @@
730 730
  */
731 731
 #define DEFAULT_MAX_FEEDRATE          { 300, 300, 50, 40 }
732 732
 
733
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
734
+#if ENABLED(LIMITED_MAX_FR_EDITING)
735
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
736
+#endif
737
+
733 738
 /**
734 739
  * Default Max Acceleration (change/s) change = mm/s
735 740
  * (Maximum start speed for accelerated moves)
@@ -738,6 +743,11 @@
738 743
  */
739 744
 #define DEFAULT_MAX_ACCELERATION      { 2000, 2000, 100, 10000 }
740 745
 
746
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
747
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
748
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
749
+#endif
750
+
741 751
 /**
742 752
  * Default Acceleration (change/s) change = mm/s
743 753
  * Override with M204
@@ -776,6 +786,11 @@
776 786
   #define DEFAULT_XJERK 8.0
777 787
   #define DEFAULT_YJERK 8.0
778 788
   #define DEFAULT_ZJERK  0.3
789
+
790
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
791
+  #if ENABLED(LIMITED_JERK_EDITING)
792
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
793
+  #endif
779 794
 #endif
780 795
 
781 796
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Einstart-S/Configuration.h View File

@@ -735,6 +735,11 @@
735 735
  */
736 736
 #define DEFAULT_MAX_FEEDRATE          { 300, 300, 5, 25 }
737 737
 
738
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
739
+#if ENABLED(LIMITED_MAX_FR_EDITING)
740
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
741
+#endif
742
+
738 743
 /**
739 744
  * Default Max Acceleration (change/s) change = mm/s
740 745
  * (Maximum start speed for accelerated moves)
@@ -743,6 +748,11 @@
743 748
  */
744 749
 #define DEFAULT_MAX_ACCELERATION      { 2000, 2000, 100, 10000 }
745 750
 
751
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
752
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
753
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
754
+#endif
755
+
746 756
 /**
747 757
  * Default Acceleration (change/s) change = mm/s
748 758
  * Override with M204
@@ -781,6 +791,11 @@
781 791
   #define DEFAULT_XJERK 10.0
782 792
   #define DEFAULT_YJERK 10.0
783 793
   #define DEFAULT_ZJERK  0.3
794
+
795
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
796
+  #if ENABLED(LIMITED_JERK_EDITING)
797
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
798
+  #endif
784 799
 #endif
785 800
 
786 801
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/FYSETC/AIO_II/Configuration.h View File

@@ -730,6 +730,11 @@
730 730
  */
731 731
 #define DEFAULT_MAX_FEEDRATE          { 300, 300, 5, 25 }
732 732
 
733
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
734
+#if ENABLED(LIMITED_MAX_FR_EDITING)
735
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
736
+#endif
737
+
733 738
 /**
734 739
  * Default Max Acceleration (change/s) change = mm/s
735 740
  * (Maximum start speed for accelerated moves)
@@ -738,6 +743,11 @@
738 743
  */
739 744
 #define DEFAULT_MAX_ACCELERATION      { 3000, 3000, 100, 10000 }
740 745
 
746
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
747
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
748
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
749
+#endif
750
+
741 751
 /**
742 752
  * Default Acceleration (change/s) change = mm/s
743 753
  * Override with M204
@@ -776,6 +786,11 @@
776 786
   #define DEFAULT_XJERK 10.0
777 787
   #define DEFAULT_YJERK 10.0
778 788
   #define DEFAULT_ZJERK  0.3
789
+
790
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
791
+  #if ENABLED(LIMITED_JERK_EDITING)
792
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
793
+  #endif
779 794
 #endif
780 795
 
781 796
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/FYSETC/Cheetah 1.2/BLTouch/Configuration.h View File

@@ -730,6 +730,11 @@
730 730
  */
731 731
 #define DEFAULT_MAX_FEEDRATE          { 500, 500, 5, 25 }
732 732
 
733
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
734
+#if ENABLED(LIMITED_MAX_FR_EDITING)
735
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
736
+#endif
737
+
733 738
 /**
734 739
  * Default Max Acceleration (change/s) change = mm/s
735 740
  * (Maximum start speed for accelerated moves)
@@ -738,6 +743,11 @@
738 743
  */
739 744
 #define DEFAULT_MAX_ACCELERATION      { 500, 500, 100, 5000 }
740 745
 
746
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
747
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
748
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
749
+#endif
750
+
741 751
 /**
742 752
  * Default Acceleration (change/s) change = mm/s
743 753
  * Override with M204
@@ -776,6 +786,11 @@
776 786
   #define DEFAULT_XJERK 10.0
777 787
   #define DEFAULT_YJERK 10.0
778 788
   #define DEFAULT_ZJERK  0.3
789
+
790
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
791
+  #if ENABLED(LIMITED_JERK_EDITING)
792
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
793
+  #endif
779 794
 #endif
780 795
 
781 796
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/FYSETC/Cheetah 1.2/base/Configuration.h View File

@@ -730,6 +730,11 @@
730 730
  */
731 731
 #define DEFAULT_MAX_FEEDRATE          { 500, 500, 5, 25 }
732 732
 
733
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
734
+#if ENABLED(LIMITED_MAX_FR_EDITING)
735
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
736
+#endif
737
+
733 738
 /**
734 739
  * Default Max Acceleration (change/s) change = mm/s
735 740
  * (Maximum start speed for accelerated moves)
@@ -738,6 +743,11 @@
738 743
  */
739 744
 #define DEFAULT_MAX_ACCELERATION      { 500, 500, 100, 5000 }
740 745
 
746
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
747
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
748
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
749
+#endif
750
+
741 751
 /**
742 752
  * Default Acceleration (change/s) change = mm/s
743 753
  * Override with M204
@@ -776,6 +786,11 @@
776 786
   #define DEFAULT_XJERK 10.0
777 787
   #define DEFAULT_YJERK 10.0
778 788
   #define DEFAULT_ZJERK  0.3
789
+
790
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
791
+  #if ENABLED(LIMITED_JERK_EDITING)
792
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
793
+  #endif
779 794
 #endif
780 795
 
781 796
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/FYSETC/Cheetah/BLTouch/Configuration.h View File

@@ -730,6 +730,11 @@
730 730
  */
731 731
 #define DEFAULT_MAX_FEEDRATE          { 500, 500, 5, 25 }
732 732
 
733
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
734
+#if ENABLED(LIMITED_MAX_FR_EDITING)
735
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
736
+#endif
737
+
733 738
 /**
734 739
  * Default Max Acceleration (change/s) change = mm/s
735 740
  * (Maximum start speed for accelerated moves)
@@ -738,6 +743,11 @@
738 743
  */
739 744
 #define DEFAULT_MAX_ACCELERATION      { 500, 500, 100, 5000 }
740 745
 
746
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
747
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
748
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
749
+#endif
750
+
741 751
 /**
742 752
  * Default Acceleration (change/s) change = mm/s
743 753
  * Override with M204
@@ -776,6 +786,11 @@
776 786
   #define DEFAULT_XJERK 10.0
777 787
   #define DEFAULT_YJERK 10.0
778 788
   #define DEFAULT_ZJERK  0.3
789
+
790
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
791
+  #if ENABLED(LIMITED_JERK_EDITING)
792
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
793
+  #endif
779 794
 #endif
780 795
 
781 796
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/FYSETC/Cheetah/base/Configuration.h View File

@@ -730,6 +730,11 @@
730 730
  */
731 731
 #define DEFAULT_MAX_FEEDRATE          { 500, 500, 5, 25 }
732 732
 
733
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
734
+#if ENABLED(LIMITED_MAX_FR_EDITING)
735
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
736
+#endif
737
+
733 738
 /**
734 739
  * Default Max Acceleration (change/s) change = mm/s
735 740
  * (Maximum start speed for accelerated moves)
@@ -738,6 +743,11 @@
738 743
  */
739 744
 #define DEFAULT_MAX_ACCELERATION      { 500, 500, 100, 5000 }
740 745
 
746
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
747
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
748
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
749
+#endif
750
+
741 751
 /**
742 752
  * Default Acceleration (change/s) change = mm/s
743 753
  * Override with M204
@@ -776,6 +786,11 @@
776 786
   #define DEFAULT_XJERK 10.0
777 787
   #define DEFAULT_YJERK 10.0
778 788
   #define DEFAULT_ZJERK  0.3
789
+
790
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
791
+  #if ENABLED(LIMITED_JERK_EDITING)
792
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
793
+  #endif
779 794
 #endif
780 795
 
781 796
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/FYSETC/F6_13/Configuration.h View File

@@ -727,6 +727,11 @@
727 727
  */
728 728
 #define DEFAULT_MAX_FEEDRATE          { 300, 300, 5, 25 }
729 729
 
730
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
731
+#if ENABLED(LIMITED_MAX_FR_EDITING)
732
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
733
+#endif
734
+
730 735
 /**
731 736
  * Default Max Acceleration (change/s) change = mm/s
732 737
  * (Maximum start speed for accelerated moves)
@@ -735,6 +740,11 @@
735 740
  */
736 741
 #define DEFAULT_MAX_ACCELERATION      { 3000, 3000, 100, 10000 }
737 742
 
743
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
744
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
745
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
746
+#endif
747
+
738 748
 /**
739 749
  * Default Acceleration (change/s) change = mm/s
740 750
  * Override with M204
@@ -773,6 +783,11 @@
773 783
   #define DEFAULT_XJERK 10.0
774 784
   #define DEFAULT_YJERK 10.0
775 785
   #define DEFAULT_ZJERK  0.3
786
+
787
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
788
+  #if ENABLED(LIMITED_JERK_EDITING)
789
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
790
+  #endif
776 791
 #endif
777 792
 
778 793
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Felix/Configuration.h View File

@@ -707,6 +707,11 @@
707 707
  */
708 708
 #define DEFAULT_MAX_FEEDRATE          { 500, 500, 5, 25 }
709 709
 
710
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
711
+#if ENABLED(LIMITED_MAX_FR_EDITING)
712
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
713
+#endif
714
+
710 715
 /**
711 716
  * Default Max Acceleration (change/s) change = mm/s
712 717
  * (Maximum start speed for accelerated moves)
@@ -715,6 +720,11 @@
715 720
  */
716 721
 #define DEFAULT_MAX_ACCELERATION      { 5000, 5000, 100, 80000 }
717 722
 
723
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
724
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
725
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
726
+#endif
727
+
718 728
 /**
719 729
  * Default Acceleration (change/s) change = mm/s
720 730
  * Override with M204
@@ -753,6 +763,11 @@
753 763
   #define DEFAULT_XJERK 10.0
754 764
   #define DEFAULT_YJERK 10.0
755 765
   #define DEFAULT_ZJERK  0.3
766
+
767
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
768
+  #if ENABLED(LIMITED_JERK_EDITING)
769
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
770
+  #endif
756 771
 #endif
757 772
 
758 773
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Felix/DUAL/Configuration.h View File

@@ -707,6 +707,11 @@
707 707
  */
708 708
 #define DEFAULT_MAX_FEEDRATE          { 500, 500, 5, 25 }
709 709
 
710
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
711
+#if ENABLED(LIMITED_MAX_FR_EDITING)
712
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
713
+#endif
714
+
710 715
 /**
711 716
  * Default Max Acceleration (change/s) change = mm/s
712 717
  * (Maximum start speed for accelerated moves)
@@ -715,6 +720,11 @@
715 720
  */
716 721
 #define DEFAULT_MAX_ACCELERATION      { 5000, 5000, 100, 80000 }
717 722
 
723
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
724
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
725
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
726
+#endif
727
+
718 728
 /**
719 729
  * Default Acceleration (change/s) change = mm/s
720 730
  * Override with M204
@@ -753,6 +763,11 @@
753 763
   #define DEFAULT_XJERK 10.0
754 764
   #define DEFAULT_YJERK 10.0
755 765
   #define DEFAULT_ZJERK  0.3
766
+
767
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
768
+  #if ENABLED(LIMITED_JERK_EDITING)
769
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
770
+  #endif
756 771
 #endif
757 772
 
758 773
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/FlashForge/CreatorPro/Configuration.h View File

@@ -717,6 +717,11 @@
717 717
  */
718 718
 #define DEFAULT_MAX_FEEDRATE          { 250, 250, 20, 100 }
719 719
 
720
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
721
+#if ENABLED(LIMITED_MAX_FR_EDITING)
722
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
723
+#endif
724
+
720 725
 /**
721 726
  * Default Max Acceleration (change/s) change = mm/s
722 727
  * (Maximum start speed for accelerated moves)
@@ -725,6 +730,11 @@
725 730
  */
726 731
 #define DEFAULT_MAX_ACCELERATION      { 1000, 1000, 100, 5000 }
727 732
 
733
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
734
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
735
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
736
+#endif
737
+
728 738
 /**
729 739
  * Default Acceleration (change/s) change = mm/s
730 740
  * Override with M204
@@ -763,6 +773,11 @@
763 773
 #define DEFAULT_XJERK                 20.0
764 774
 #define DEFAULT_YJERK                 20.0
765 775
 #define DEFAULT_ZJERK                  0.4
776
+
777
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
778
+  #if ENABLED(LIMITED_JERK_EDITING)
779
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
780
+  #endif
766 781
 #endif
767 782
 
768 783
 #define DEFAULT_EJERK    2.0  // May be used by Linear Advance

+ 15
- 0
config/examples/FolgerTech/i3-2020/Configuration.h View File

@@ -731,6 +731,11 @@
731 731
  */
732 732
 #define DEFAULT_MAX_FEEDRATE          { 250, 250, 2, 17 }
733 733
 
734
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
735
+#if ENABLED(LIMITED_MAX_FR_EDITING)
736
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
737
+#endif
738
+
734 739
 /**
735 740
  * Default Max Acceleration (change/s) change = mm/s
736 741
  * (Maximum start speed for accelerated moves)
@@ -739,6 +744,11 @@
739 744
  */
740 745
 #define DEFAULT_MAX_ACCELERATION      { 1000, 1000, 4, 750 }
741 746
 
747
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
748
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
749
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
750
+#endif
751
+
742 752
 /**
743 753
  * Default Acceleration (change/s) change = mm/s
744 754
  * Override with M204
@@ -777,6 +787,11 @@
777 787
   #define DEFAULT_XJERK  8.5
778 788
   #define DEFAULT_YJERK  8.5
779 789
   #define DEFAULT_ZJERK  0.3
790
+
791
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
792
+  #if ENABLED(LIMITED_JERK_EDITING)
793
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
794
+  #endif
780 795
 #endif
781 796
 
782 797
 #define DEFAULT_EJERK    4.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Formbot/Raptor/Configuration.h View File

@@ -781,6 +781,11 @@
781 781
  */
782 782
 #define DEFAULT_MAX_FEEDRATE          { 250, 150, 5, 25 }
783 783
 
784
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
785
+#if ENABLED(LIMITED_MAX_FR_EDITING)
786
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
787
+#endif
788
+
784 789
 /**
785 790
  * Default Max Acceleration (change/s) change = mm/s
786 791
  * (Maximum start speed for accelerated moves)
@@ -808,6 +813,11 @@
808 813
 #endif
809 814
 #define DEFAULT_MAX_ACCELERATION      { X_ACCEL, Y_ACCEL, 400, 4000 }
810 815
 
816
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
817
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
818
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
819
+#endif
820
+
811 821
 /**
812 822
  * Default Acceleration (change/s) change = mm/s
813 823
  * Override with M204
@@ -854,6 +864,11 @@
854 864
     #define DEFAULT_YJERK  5.0
855 865
   #endif
856 866
   #define DEFAULT_ZJERK  0.4
867
+
868
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
869
+  #if ENABLED(LIMITED_JERK_EDITING)
870
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
871
+  #endif
857 872
 #endif
858 873
 
859 874
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Formbot/T_Rex_2+/Configuration.h View File

@@ -754,6 +754,11 @@
754 754
  */
755 755
 #define DEFAULT_MAX_FEEDRATE          { 200, 100, 5, 25 }
756 756
 
757
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
758
+#if ENABLED(LIMITED_MAX_FR_EDITING)
759
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
760
+#endif
761
+
757 762
 /**
758 763
  * Default Max Acceleration (change/s) change = mm/s
759 764
  * (Maximum start speed for accelerated moves)
@@ -762,6 +767,11 @@
762 767
  */
763 768
 #define DEFAULT_MAX_ACCELERATION      { 1500, 500, 400, 4000 }
764 769
 
770
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
771
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
772
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
773
+#endif
774
+
765 775
 /**
766 776
  * Default Acceleration (change/s) change = mm/s
767 777
  * Override with M204
@@ -800,6 +810,11 @@
800 810
   #define DEFAULT_XJERK 12.0  // More conservative numbers.
801 811
   #define DEFAULT_YJERK  8.0
802 812
   #define DEFAULT_ZJERK  0.4
813
+
814
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
815
+  #if ENABLED(LIMITED_JERK_EDITING)
816
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
817
+  #endif
803 818
 #endif
804 819
 
805 820
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Formbot/T_Rex_3/Configuration.h View File

@@ -736,6 +736,11 @@
736 736
 //#define DEFAULT_MAX_FEEDRATE          { 250, 150, 5, 25 }
737 737
 #define DEFAULT_MAX_FEEDRATE          { 250, 100, 5, 25 }
738 738
 
739
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
740
+#if ENABLED(LIMITED_MAX_FR_EDITING)
741
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
742
+#endif
743
+
739 744
 /**
740 745
  * Default Max Acceleration (change/s) change = mm/s
741 746
  * (Maximum start speed for accelerated moves)
@@ -744,6 +749,11 @@
744 749
  */
745 750
 #define DEFAULT_MAX_ACCELERATION      { 1500, 500, 400, 4000 }
746 751
 
752
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
753
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
754
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
755
+#endif
756
+
747 757
 /**
748 758
  * Default Acceleration (change/s) change = mm/s
749 759
  * Override with M204
@@ -787,6 +797,11 @@
787 797
   #define DEFAULT_XJERK 12.0  // More conservative numbers.
788 798
   #define DEFAULT_YJERK  8.0
789 799
   #define DEFAULT_ZJERK  0.4
800
+
801
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
802
+  #if ENABLED(LIMITED_JERK_EDITING)
803
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
804
+  #endif
790 805
 #endif
791 806
 
792 807
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Geeetech/A10/Configuration.h View File

@@ -708,6 +708,11 @@
708 708
  */
709 709
 #define DEFAULT_MAX_FEEDRATE          { 500, 500, 5, 25 }
710 710
 
711
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
712
+#if ENABLED(LIMITED_MAX_FR_EDITING)
713
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
714
+#endif
715
+
711 716
 /**
712 717
  * Default Max Acceleration (change/s) change = mm/s
713 718
  * (Maximum start speed for accelerated moves)
@@ -716,6 +721,11 @@
716 721
  */
717 722
 #define DEFAULT_MAX_ACCELERATION      { 500, 500, 100, 5000 }
718 723
 
724
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
725
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
726
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
727
+#endif
728
+
719 729
 /**
720 730
  * Default Acceleration (change/s) change = mm/s
721 731
  * Override with M204
@@ -754,6 +764,11 @@
754 764
   #define DEFAULT_XJERK 10.0
755 765
   #define DEFAULT_YJERK 10.0
756 766
   #define DEFAULT_ZJERK  0.4
767
+
768
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
769
+  #if ENABLED(LIMITED_JERK_EDITING)
770
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
771
+  #endif
757 772
 #endif
758 773
 
759 774
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Geeetech/A10M/Configuration.h View File

@@ -708,6 +708,11 @@
708 708
  */
709 709
 #define DEFAULT_MAX_FEEDRATE          { 500, 500, 5, 25 }
710 710
 
711
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
712
+#if ENABLED(LIMITED_MAX_FR_EDITING)
713
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
714
+#endif
715
+
711 716
 /**
712 717
  * Default Max Acceleration (change/s) change = mm/s
713 718
  * (Maximum start speed for accelerated moves)
@@ -716,6 +721,11 @@
716 721
  */
717 722
 #define DEFAULT_MAX_ACCELERATION      { 500, 500, 100, 5000 }
718 723
 
724
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
725
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
726
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
727
+#endif
728
+
719 729
 /**
720 730
  * Default Acceleration (change/s) change = mm/s
721 731
  * Override with M204
@@ -754,6 +764,11 @@
754 764
   #define DEFAULT_XJERK 10.0
755 765
   #define DEFAULT_YJERK 10.0
756 766
   #define DEFAULT_ZJERK  0.4
767
+
768
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
769
+  #if ENABLED(LIMITED_JERK_EDITING)
770
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
771
+  #endif
757 772
 #endif
758 773
 
759 774
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Geeetech/A20M/Configuration.h View File

@@ -708,6 +708,11 @@
708 708
  */
709 709
 #define DEFAULT_MAX_FEEDRATE          { 500, 500, 5, 25 }
710 710
 
711
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
712
+#if ENABLED(LIMITED_MAX_FR_EDITING)
713
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
714
+#endif
715
+
711 716
 /**
712 717
  * Default Max Acceleration (change/s) change = mm/s
713 718
  * (Maximum start speed for accelerated moves)
@@ -716,6 +721,11 @@
716 721
  */
717 722
 #define DEFAULT_MAX_ACCELERATION      { 500, 500, 100, 5000 }
718 723
 
724
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
725
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
726
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
727
+#endif
728
+
719 729
 /**
720 730
  * Default Acceleration (change/s) change = mm/s
721 731
  * Override with M204
@@ -754,6 +764,11 @@
754 764
   #define DEFAULT_XJERK 10.0
755 765
   #define DEFAULT_YJERK 10.0
756 766
   #define DEFAULT_ZJERK  0.4
767
+
768
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
769
+  #if ENABLED(LIMITED_JERK_EDITING)
770
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
771
+  #endif
757 772
 #endif
758 773
 
759 774
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Geeetech/GT2560/Configuration.h View File

@@ -740,6 +740,11 @@
740 740
  */
741 741
 #define DEFAULT_MAX_FEEDRATE          { 400, 400, 2, 45 }
742 742
 
743
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
744
+#if ENABLED(LIMITED_MAX_FR_EDITING)
745
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
746
+#endif
747
+
743 748
 /**
744 749
  * Default Max Acceleration (change/s) change = mm/s
745 750
  * (Maximum start speed for accelerated moves)
@@ -748,6 +753,11 @@
748 753
  */
749 754
 #define DEFAULT_MAX_ACCELERATION      { 5000, 5000, 50, 5000 }
750 755
 
756
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
757
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
758
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
759
+#endif
760
+
751 761
 /**
752 762
  * Default Acceleration (change/s) change = mm/s
753 763
  * Override with M204
@@ -786,6 +796,11 @@
786 796
   #define DEFAULT_XJERK 10.0
787 797
   #define DEFAULT_YJERK 10.0
788 798
   #define DEFAULT_ZJERK  0.3
799
+
800
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
801
+  #if ENABLED(LIMITED_JERK_EDITING)
802
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
803
+  #endif
789 804
 #endif
790 805
 
791 806
 #define DEFAULT_EJERK    4.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h View File

@@ -725,6 +725,11 @@
725 725
  */
726 726
 #define DEFAULT_MAX_FEEDRATE          { 400, 400, 2, 45 }
727 727
 
728
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
729
+#if ENABLED(LIMITED_MAX_FR_EDITING)
730
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
731
+#endif
732
+
728 733
 /**
729 734
  * Default Max Acceleration (change/s) change = mm/s
730 735
  * (Maximum start speed for accelerated moves)
@@ -733,6 +738,11 @@
733 738
  */
734 739
 #define DEFAULT_MAX_ACCELERATION      { 4000, 4000, 40, 4000 }
735 740
 
741
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
742
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
743
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
744
+#endif
745
+
736 746
 /**
737 747
  * Default Acceleration (change/s) change = mm/s
738 748
  * Override with M204
@@ -771,6 +781,11 @@
771 781
   #define DEFAULT_XJERK  5.0
772 782
   #define DEFAULT_YJERK  5.0
773 783
   #define DEFAULT_ZJERK  0.3
784
+
785
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
786
+  #if ENABLED(LIMITED_JERK_EDITING)
787
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
788
+  #endif
774 789
 #endif
775 790
 
776 791
 #define DEFAULT_EJERK    4.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Geeetech/MeCreator2/Configuration.h View File

@@ -732,6 +732,11 @@
732 732
  */
733 733
 #define DEFAULT_MAX_FEEDRATE          { 250, 250, 400, 45 }
734 734
 
735
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
736
+#if ENABLED(LIMITED_MAX_FR_EDITING)
737
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
738
+#endif
739
+
735 740
 /**
736 741
  * Default Max Acceleration (change/s) change = mm/s
737 742
  * (Maximum start speed for accelerated moves)
@@ -740,6 +745,11 @@
740 745
  */
741 746
 #define DEFAULT_MAX_ACCELERATION      { 2000, 2000, 100, 10000 }
742 747
 
748
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
749
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
750
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
751
+#endif
752
+
743 753
 /**
744 754
  * Default Acceleration (change/s) change = mm/s
745 755
  * Override with M204
@@ -778,6 +788,11 @@
778 788
   #define DEFAULT_XJERK  0
779 789
   #define DEFAULT_YJERK  0
780 790
   #define DEFAULT_ZJERK  0.6
791
+
792
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
793
+  #if ENABLED(LIMITED_JERK_EDITING)
794
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
795
+  #endif
781 796
 #endif
782 797
 
783 798
 #define DEFAULT_EJERK   50.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h View File

@@ -745,6 +745,11 @@
745 745
  */
746 746
 #define DEFAULT_MAX_FEEDRATE          { 400, 400, 2, 45 }
747 747
 
748
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
749
+#if ENABLED(LIMITED_MAX_FR_EDITING)
750
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
751
+#endif
752
+
748 753
 /**
749 754
  * Default Max Acceleration (change/s) change = mm/s
750 755
  * (Maximum start speed for accelerated moves)
@@ -753,6 +758,11 @@
753 758
  */
754 759
 #define DEFAULT_MAX_ACCELERATION      { 5000, 5000, 75, 5000 }
755 760
 
761
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
762
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
763
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
764
+#endif
765
+
756 766
 /**
757 767
  * Default Acceleration (change/s) change = mm/s
758 768
  * Override with M204
@@ -791,6 +801,11 @@
791 801
   #define DEFAULT_XJERK 10.0
792 802
   #define DEFAULT_YJERK 10.0
793 803
   #define DEFAULT_ZJERK  0.3
804
+
805
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
806
+  #if ENABLED(LIMITED_JERK_EDITING)
807
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
808
+  #endif
794 809
 #endif
795 810
 
796 811
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h View File

@@ -745,6 +745,11 @@
745 745
  */
746 746
 #define DEFAULT_MAX_FEEDRATE          { 400, 400, 2, 45 }
747 747
 
748
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
749
+#if ENABLED(LIMITED_MAX_FR_EDITING)
750
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
751
+#endif
752
+
748 753
 /**
749 754
  * Default Max Acceleration (change/s) change = mm/s
750 755
  * (Maximum start speed for accelerated moves)
@@ -753,6 +758,11 @@
753 758
  */
754 759
 #define DEFAULT_MAX_ACCELERATION      { 5000, 5000, 75, 5000 }
755 760
 
761
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
762
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
763
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
764
+#endif
765
+
756 766
 /**
757 767
  * Default Acceleration (change/s) change = mm/s
758 768
  * Override with M204
@@ -791,6 +801,11 @@
791 801
   #define DEFAULT_XJERK 10.0
792 802
   #define DEFAULT_YJERK 10.0
793 803
   #define DEFAULT_ZJERK  0.3
804
+
805
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
806
+  #if ENABLED(LIMITED_JERK_EDITING)
807
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
808
+  #endif
794 809
 #endif
795 810
 
796 811
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Geeetech/Prusa i3 Pro C/Configuration.h View File

@@ -725,6 +725,11 @@
725 725
  */
726 726
 #define DEFAULT_MAX_FEEDRATE          { 300, 300, 5, 25 }
727 727
 
728
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
729
+#if ENABLED(LIMITED_MAX_FR_EDITING)
730
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
731
+#endif
732
+
728 733
 /**
729 734
  * Default Max Acceleration (change/s) change = mm/s
730 735
  * (Maximum start speed for accelerated moves)
@@ -733,6 +738,11 @@
733 738
  */
734 739
 #define DEFAULT_MAX_ACCELERATION      { 3000, 3000, 100, 10000 }
735 740
 
741
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
742
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
743
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
744
+#endif
745
+
736 746
 /**
737 747
  * Default Acceleration (change/s) change = mm/s
738 748
  * Override with M204
@@ -771,6 +781,11 @@
771 781
   #define DEFAULT_XJERK 10.0
772 782
   #define DEFAULT_YJERK 10.0
773 783
   #define DEFAULT_ZJERK  0.3
784
+
785
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
786
+  #if ENABLED(LIMITED_JERK_EDITING)
787
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
788
+  #endif
774 789
 #endif
775 790
 
776 791
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Geeetech/Prusa i3 Pro W/Configuration.h View File

@@ -725,6 +725,11 @@
725 725
  */
726 726
 #define DEFAULT_MAX_FEEDRATE          { 300, 300, 5, 25 }
727 727
 
728
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
729
+#if ENABLED(LIMITED_MAX_FR_EDITING)
730
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
731
+#endif
732
+
728 733
 /**
729 734
  * Default Max Acceleration (change/s) change = mm/s
730 735
  * (Maximum start speed for accelerated moves)
@@ -733,6 +738,11 @@
733 738
  */
734 739
 #define DEFAULT_MAX_ACCELERATION      { 3000, 3000, 100, 10000 }
735 740
 
741
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
742
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
743
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
744
+#endif
745
+
736 746
 /**
737 747
  * Default Acceleration (change/s) change = mm/s
738 748
  * Override with M204
@@ -771,6 +781,11 @@
771 781
   #define DEFAULT_XJERK 10.0
772 782
   #define DEFAULT_YJERK 10.0
773 783
   #define DEFAULT_ZJERK  0.3
784
+
785
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
786
+  #if ENABLED(LIMITED_JERK_EDITING)
787
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
788
+  #endif
774 789
 #endif
775 790
 
776 791
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/HMS434/Configuration.h View File

@@ -712,6 +712,11 @@
712 712
  */
713 713
 #define DEFAULT_MAX_FEEDRATE          { 1000, 1000, 40, 25 }
714 714
 
715
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
716
+#if ENABLED(LIMITED_MAX_FR_EDITING)
717
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
718
+#endif
719
+
715 720
 /**
716 721
  * Default Max Acceleration (change/s) change = mm/s
717 722
  * (Maximum start speed for accelerated moves)
@@ -720,6 +725,11 @@
720 725
  */
721 726
 #define DEFAULT_MAX_ACCELERATION      { 500, 500, 100, 10000 }
722 727
 
728
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
729
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
730
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
731
+#endif
732
+
723 733
 /**
724 734
  * Default Acceleration (change/s) change = mm/s
725 735
  * Override with M204
@@ -758,6 +768,11 @@
758 768
   #define DEFAULT_XJERK 10.0
759 769
   #define DEFAULT_YJERK 10.0
760 770
   #define DEFAULT_ZJERK  0.3
771
+
772
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
773
+  #if ENABLED(LIMITED_JERK_EDITING)
774
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
775
+  #endif
761 776
 #endif
762 777
 
763 778
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Infitary/i3-M508/Configuration.h View File

@@ -729,6 +729,11 @@
729 729
  */
730 730
 #define DEFAULT_MAX_FEEDRATE          { 400, 400, 5, 25 }
731 731
 
732
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
733
+#if ENABLED(LIMITED_MAX_FR_EDITING)
734
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
735
+#endif
736
+
732 737
 /**
733 738
  * Default Max Acceleration (change/s) change = mm/s
734 739
  * (Maximum start speed for accelerated moves)
@@ -737,6 +742,11 @@
737 742
  */
738 743
 #define DEFAULT_MAX_ACCELERATION      { 9000, 9000, 100, 10000 }
739 744
 
745
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
746
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
747
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
748
+#endif
749
+
740 750
 /**
741 751
  * Default Acceleration (change/s) change = mm/s
742 752
  * Override with M204
@@ -775,6 +785,11 @@
775 785
   #define DEFAULT_XJERK 10.0
776 786
   #define DEFAULT_YJERK 10.0
777 787
   #define DEFAULT_ZJERK  0.3
788
+
789
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
790
+  #if ENABLED(LIMITED_JERK_EDITING)
791
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
792
+  #endif
778 793
 #endif
779 794
 
780 795
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/JGAurora/A5/Configuration.h View File

@@ -737,6 +737,11 @@
737 737
  */
738 738
 #define DEFAULT_MAX_FEEDRATE          { 500, 500, 15, 25 }
739 739
 
740
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
741
+#if ENABLED(LIMITED_MAX_FR_EDITING)
742
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
743
+#endif
744
+
740 745
 /**
741 746
  * Default Max Acceleration (change/s) change = mm/s
742 747
  * (Maximum start speed for accelerated moves)
@@ -745,6 +750,11 @@
745 750
  */
746 751
 #define DEFAULT_MAX_ACCELERATION      { 1000, 500, 100, 5000 }
747 752
 
753
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
754
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
755
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
756
+#endif
757
+
748 758
 /**
749 759
  * Default Acceleration (change/s) change = mm/s
750 760
  * Override with M204
@@ -783,6 +793,11 @@
783 793
   #define DEFAULT_XJERK  8.0
784 794
   #define DEFAULT_YJERK  3.0
785 795
   #define DEFAULT_ZJERK  0.3
796
+
797
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
798
+  #if ENABLED(LIMITED_JERK_EDITING)
799
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
800
+  #endif
786 801
 #endif
787 802
 
788 803
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/MakerParts/Configuration.h View File

@@ -745,6 +745,11 @@
745 745
  */
746 746
 #define DEFAULT_MAX_FEEDRATE            { 300, 300, 2, 30 } // For 300mm/s printing
747 747
 
748
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
749
+#if ENABLED(LIMITED_MAX_FR_EDITING)
750
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
751
+#endif
752
+
748 753
 /**
749 754
  * Default Max Acceleration (change/s) change = mm/s
750 755
  * (Maximum start speed for accelerated moves)
@@ -753,6 +758,11 @@
753 758
  */
754 759
 #define DEFAULT_MAX_ACCELERATION        { MAX_XYAXIS_ACCEL, MAX_XYAXIS_ACCEL, 10, 200 }
755 760
 
761
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
762
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
763
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
764
+#endif
765
+
756 766
 /**
757 767
  * Default Acceleration (change/s) change = mm/s
758 768
  * Override with M204
@@ -791,6 +801,11 @@
791 801
   #define DEFAULT_XJERK  2.0
792 802
   #define DEFAULT_YJERK  2.0
793 803
   #define DEFAULT_ZJERK  0.4
804
+
805
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
806
+  #if ENABLED(LIMITED_JERK_EDITING)
807
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
808
+  #endif
794 809
 #endif
795 810
 
796 811
 #define DEFAULT_EJERK    8.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Malyan/M150/Configuration.h View File

@@ -745,6 +745,11 @@
745 745
  */
746 746
 #define DEFAULT_MAX_FEEDRATE          { 300, 300, 5, 25 }
747 747
 
748
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
749
+#if ENABLED(LIMITED_MAX_FR_EDITING)
750
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
751
+#endif
752
+
748 753
 /**
749 754
  * Default Max Acceleration (change/s) change = mm/s
750 755
  * (Maximum start speed for accelerated moves)
@@ -753,6 +758,11 @@
753 758
  */
754 759
 #define DEFAULT_MAX_ACCELERATION      { 700, 700, 100, 10000 }
755 760
 
761
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
762
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
763
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
764
+#endif
765
+
756 766
 /**
757 767
  * Default Acceleration (change/s) change = mm/s
758 768
  * Override with M204
@@ -791,6 +801,11 @@
791 801
   #define DEFAULT_XJERK  8.0
792 802
   #define DEFAULT_YJERK  8.0
793 803
   #define DEFAULT_ZJERK  0.3
804
+
805
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
806
+  #if ENABLED(LIMITED_JERK_EDITING)
807
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
808
+  #endif
794 809
 #endif
795 810
 
796 811
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Malyan/M200/Configuration.h View File

@@ -724,6 +724,11 @@
724 724
  */
725 725
 #define DEFAULT_MAX_FEEDRATE          { 300, 300, 5, 25 }
726 726
 
727
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
728
+#if ENABLED(LIMITED_MAX_FR_EDITING)
729
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
730
+#endif
731
+
727 732
 /**
728 733
  * Default Max Acceleration (change/s) change = mm/s
729 734
  * (Maximum start speed for accelerated moves)
@@ -732,6 +737,11 @@
732 737
  */
733 738
 #define DEFAULT_MAX_ACCELERATION      { 3000, 3000, 100, 10000 }
734 739
 
740
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
741
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
742
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
743
+#endif
744
+
735 745
 /**
736 746
  * Default Acceleration (change/s) change = mm/s
737 747
  * Override with M204
@@ -770,6 +780,11 @@
770 780
   #define DEFAULT_XJERK 10.0
771 781
   #define DEFAULT_YJERK 10.0
772 782
   #define DEFAULT_ZJERK  0.3
783
+
784
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
785
+  #if ENABLED(LIMITED_JERK_EDITING)
786
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
787
+  #endif
773 788
 #endif
774 789
 
775 790
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Micromake/C1/basic/Configuration.h View File

@@ -729,6 +729,11 @@
729 729
  */
730 730
 #define DEFAULT_MAX_FEEDRATE          { 200, 200, 200, 30 }
731 731
 
732
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
733
+#if ENABLED(LIMITED_MAX_FR_EDITING)
734
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
735
+#endif
736
+
732 737
 /**
733 738
  * Default Max Acceleration (change/s) change = mm/s
734 739
  * (Maximum start speed for accelerated moves)
@@ -737,6 +742,11 @@
737 742
  */
738 743
  #define DEFAULT_MAX_ACCELERATION      { 3000, 3000, 3000, 4000 }
739 744
 
745
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
746
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
747
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
748
+#endif
749
+
740 750
 /**
741 751
  * Default Acceleration (change/s) change = mm/s
742 752
  * Override with M204
@@ -775,6 +785,11 @@
775 785
   #define DEFAULT_XJERK 10.0
776 786
   #define DEFAULT_YJERK DEFAULT_XJERK
777 787
   #define DEFAULT_ZJERK DEFAULT_XJERK // Must be same as XY for delta
788
+
789
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
790
+  #if ENABLED(LIMITED_JERK_EDITING)
791
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
792
+  #endif
778 793
 #endif
779 794
 
780 795
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Micromake/C1/enhanced/Configuration.h View File

@@ -729,6 +729,11 @@
729 729
  */
730 730
  #define DEFAULT_MAX_FEEDRATE          { 200, 200, 200, 30 }
731 731
 
732
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
733
+#if ENABLED(LIMITED_MAX_FR_EDITING)
734
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
735
+#endif
736
+
732 737
 /**
733 738
  * Default Max Acceleration (change/s) change = mm/s
734 739
  * (Maximum start speed for accelerated moves)
@@ -737,6 +742,11 @@
737 742
  */
738 743
  #define DEFAULT_MAX_ACCELERATION      { 3000, 3000, 3000, 4000 }
739 744
 
745
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
746
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
747
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
748
+#endif
749
+
740 750
 /**
741 751
  * Default Acceleration (change/s) change = mm/s
742 752
  * Override with M204
@@ -775,6 +785,11 @@
775 785
   #define DEFAULT_XJERK 10.0
776 786
   #define DEFAULT_YJERK DEFAULT_XJERK
777 787
   #define DEFAULT_ZJERK DEFAULT_XJERK // Must be same as XY for delta
788
+
789
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
790
+  #if ENABLED(LIMITED_JERK_EDITING)
791
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
792
+  #endif
778 793
 #endif
779 794
 
780 795
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Mks/Robin/Configuration.h View File

@@ -726,6 +726,11 @@
726 726
  */
727 727
 #define DEFAULT_MAX_FEEDRATE          { 300, 300, 5, 25 }
728 728
 
729
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
730
+#if ENABLED(LIMITED_MAX_FR_EDITING)
731
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
732
+#endif
733
+
729 734
 /**
730 735
  * Default Max Acceleration (change/s) change = mm/s
731 736
  * (Maximum start speed for accelerated moves)
@@ -734,6 +739,11 @@
734 739
  */
735 740
 #define DEFAULT_MAX_ACCELERATION      { 3000, 3000, 100, 10000 }
736 741
 
742
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
743
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
744
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
745
+#endif
746
+
737 747
 /**
738 748
  * Default Acceleration (change/s) change = mm/s
739 749
  * Override with M204
@@ -772,6 +782,11 @@
772 782
   #define DEFAULT_XJERK 10.0
773 783
   #define DEFAULT_YJERK 10.0
774 784
   #define DEFAULT_ZJERK  0.3
785
+
786
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
787
+  #if ENABLED(LIMITED_JERK_EDITING)
788
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
789
+  #endif
775 790
 #endif
776 791
 
777 792
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Mks/Sbase/Configuration.h View File

@@ -725,6 +725,11 @@
725 725
  */
726 726
 #define DEFAULT_MAX_FEEDRATE          { 500, 500, 5, 25 }
727 727
 
728
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
729
+#if ENABLED(LIMITED_MAX_FR_EDITING)
730
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
731
+#endif
732
+
728 733
 /**
729 734
  * Default Max Acceleration (change/s) change = mm/s
730 735
  * (Maximum start speed for accelerated moves)
@@ -733,6 +738,11 @@
733 738
  */
734 739
 #define DEFAULT_MAX_ACCELERATION      { 9000, 9000, 100, 10000 }
735 740
 
741
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
742
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
743
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
744
+#endif
745
+
736 746
 /**
737 747
  * Default Acceleration (change/s) change = mm/s
738 748
  * Override with M204
@@ -771,6 +781,11 @@
771 781
   #define DEFAULT_XJERK 10.0
772 782
   #define DEFAULT_YJERK 10.0
773 783
   #define DEFAULT_ZJERK  0.3
784
+
785
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
786
+  #if ENABLED(LIMITED_JERK_EDITING)
787
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
788
+  #endif
774 789
 #endif
775 790
 
776 791
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Printrbot/PrintrboardG2/Configuration.h View File

@@ -728,6 +728,11 @@
728 728
 //#define DEFAULT_MAX_FEEDRATE          { 300, 300, 5, 25 }
729 729
 #define DEFAULT_MAX_FEEDRATE          { 30, 30,30,30 }
730 730
 
731
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
732
+#if ENABLED(LIMITED_MAX_FR_EDITING)
733
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
734
+#endif
735
+
731 736
 /**
732 737
  * Default Max Acceleration (change/s) change = mm/s
733 738
  * (Maximum start speed for accelerated moves)
@@ -737,6 +742,11 @@
737 742
 //#define DEFAULT_MAX_ACCELERATION      { 3000, 3000, 100, 10000 }
738 743
 #define DEFAULT_MAX_ACCELERATION      { 100, 100, 100, 100 }
739 744
 
745
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
746
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
747
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
748
+#endif
749
+
740 750
 /**
741 751
  * Default Acceleration (change/s) change = mm/s
742 752
  * Override with M204
@@ -779,6 +789,11 @@
779 789
   #define DEFAULT_XJERK 1.0
780 790
   #define DEFAULT_YJERK 1.0
781 791
   #define DEFAULT_ZJERK  0.3
792
+
793
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
794
+  #if ENABLED(LIMITED_JERK_EDITING)
795
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
796
+  #endif
782 797
 #endif
783 798
 
784 799
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/RapideLite/RL200/Configuration.h View File

@@ -725,6 +725,11 @@
725 725
  */
726 726
 #define DEFAULT_MAX_FEEDRATE          { 500, 500, 5, 25 }
727 727
 
728
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
729
+#if ENABLED(LIMITED_MAX_FR_EDITING)
730
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
731
+#endif
732
+
728 733
 /**
729 734
  * Default Max Acceleration (change/s) change = mm/s
730 735
  * (Maximum start speed for accelerated moves)
@@ -733,6 +738,11 @@
733 738
  */
734 739
 #define DEFAULT_MAX_ACCELERATION      { 9000, 9000, 100, 10000 }
735 740
 
741
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
742
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
743
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
744
+#endif
745
+
736 746
 /**
737 747
  * Default Acceleration (change/s) change = mm/s
738 748
  * Override with M204
@@ -771,6 +781,11 @@
771 781
   #define DEFAULT_XJERK 10.0
772 782
   #define DEFAULT_YJERK 10.0
773 783
   #define DEFAULT_ZJERK  0.3
784
+
785
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
786
+  #if ENABLED(LIMITED_JERK_EDITING)
787
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
788
+  #endif
774 789
 #endif
775 790
 
776 791
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/RepRapPro/Huxley/Configuration.h View File

@@ -765,6 +765,11 @@ Black rubber belt(MXL), 18 - tooth aluminium pulley : 87.489 step per mm (Huxley
765 765
 #define DEFAULT_MAX_Z_FEEDRATE        3.3 // older Huxley has problem with speeds > 3.3 mm/s on Z axis
766 766
 #define DEFAULT_MAX_FEEDRATE          { 200, 200, DEFAULT_MAX_Z_FEEDRATE, 25 }
767 767
 
768
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
769
+#if ENABLED(LIMITED_MAX_FR_EDITING)
770
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
771
+#endif
772
+
768 773
 /**
769 774
  * Default Max Acceleration (change/s) change = mm/s
770 775
  * (Maximum start speed for accelerated moves)
@@ -773,6 +778,11 @@ Black rubber belt(MXL), 18 - tooth aluminium pulley : 87.489 step per mm (Huxley
773 778
  */
774 779
 #define DEFAULT_MAX_ACCELERATION      { 1000, 1000, 50, 1000 }
775 780
 
781
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
782
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
783
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
784
+#endif
785
+
776 786
 /**
777 787
  * Default Acceleration (change/s) change = mm/s
778 788
  * Override with M204
@@ -811,6 +821,11 @@ Black rubber belt(MXL), 18 - tooth aluminium pulley : 87.489 step per mm (Huxley
811 821
   #define DEFAULT_XJERK 10.0
812 822
   #define DEFAULT_YJERK 10.0
813 823
   #define DEFAULT_ZJERK  0.3
824
+
825
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
826
+  #if ENABLED(LIMITED_JERK_EDITING)
827
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
828
+  #endif
814 829
 #endif
815 830
 
816 831
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/RepRapWorld/Megatronics/Configuration.h View File

@@ -725,6 +725,11 @@
725 725
  */
726 726
 #define DEFAULT_MAX_FEEDRATE          { 300, 300, 5, 25 }
727 727
 
728
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
729
+#if ENABLED(LIMITED_MAX_FR_EDITING)
730
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
731
+#endif
732
+
728 733
 /**
729 734
  * Default Max Acceleration (change/s) change = mm/s
730 735
  * (Maximum start speed for accelerated moves)
@@ -733,6 +738,11 @@
733 738
  */
734 739
 #define DEFAULT_MAX_ACCELERATION      { 3000, 3000, 100, 10000 }
735 740
 
741
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
742
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
743
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
744
+#endif
745
+
736 746
 /**
737 747
  * Default Acceleration (change/s) change = mm/s
738 748
  * Override with M204
@@ -771,6 +781,11 @@
771 781
   #define DEFAULT_XJERK 10.0
772 782
   #define DEFAULT_YJERK 10.0
773 783
   #define DEFAULT_ZJERK  0.3
784
+
785
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
786
+  #if ENABLED(LIMITED_JERK_EDITING)
787
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
788
+  #endif
774 789
 #endif
775 790
 
776 791
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/RigidBot/Configuration.h View File

@@ -723,6 +723,11 @@
723 723
  */
724 724
 #define DEFAULT_MAX_FEEDRATE          { 500, 500, 5, 25 }
725 725
 
726
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
727
+#if ENABLED(LIMITED_MAX_FR_EDITING)
728
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
729
+#endif
730
+
726 731
 /**
727 732
  * Default Max Acceleration (change/s) change = mm/s
728 733
  * (Maximum start speed for accelerated moves)
@@ -731,6 +736,11 @@
731 736
  */
732 737
 #define DEFAULT_MAX_ACCELERATION      { 800, 800, 100, 10000 }
733 738
 
739
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
740
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
741
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
742
+#endif
743
+
734 744
 /**
735 745
  * Default Acceleration (change/s) change = mm/s
736 746
  * Override with M204
@@ -769,6 +779,11 @@
769 779
   #define DEFAULT_XJERK  8.0
770 780
   #define DEFAULT_YJERK  8.0
771 781
   #define DEFAULT_ZJERK  0.3
782
+
783
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
784
+  #if ENABLED(LIMITED_JERK_EDITING)
785
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
786
+  #endif
772 787
 #endif
773 788
 
774 789
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/SCARA/Configuration.h View File

@@ -734,6 +734,11 @@
734 734
  */
735 735
 #define DEFAULT_MAX_FEEDRATE          { 300, 300, 30, 25 }
736 736
 
737
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
738
+#if ENABLED(LIMITED_MAX_FR_EDITING)
739
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
740
+#endif
741
+
737 742
 /**
738 743
  * Default Max Acceleration (change/s) change = mm/s
739 744
  * (Maximum start speed for accelerated moves)
@@ -742,6 +747,11 @@
742 747
  */
743 748
 #define DEFAULT_MAX_ACCELERATION      { 300, 300, 20, 1000 }
744 749
 
750
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
751
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
752
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
753
+#endif
754
+
745 755
 /**
746 756
  * Default Acceleration (change/s) change = mm/s
747 757
  * Override with M204
@@ -780,6 +790,11 @@
780 790
   #define DEFAULT_XJERK  5.0
781 791
   #define DEFAULT_YJERK  5.0
782 792
   #define DEFAULT_ZJERK  0.3
793
+
794
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
795
+  #if ENABLED(LIMITED_JERK_EDITING)
796
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
797
+  #endif
783 798
 #endif
784 799
 
785 800
 #define DEFAULT_EJERK    3.0  // May be used by Linear Advance

+ 15
- 0
config/examples/STM32/Black_STM32F407VET6/Configuration.h View File

@@ -725,6 +725,11 @@
725 725
  */
726 726
 #define DEFAULT_MAX_FEEDRATE          { 300, 300, 5, 25 }
727 727
 
728
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
729
+#if ENABLED(LIMITED_MAX_FR_EDITING)
730
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
731
+#endif
732
+
728 733
 /**
729 734
  * Default Max Acceleration (change/s) change = mm/s
730 735
  * (Maximum start speed for accelerated moves)
@@ -733,6 +738,11 @@
733 738
  */
734 739
 #define DEFAULT_MAX_ACCELERATION      { 3000, 3000, 100, 10000 }
735 740
 
741
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
742
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
743
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
744
+#endif
745
+
736 746
 /**
737 747
  * Default Acceleration (change/s) change = mm/s
738 748
  * Override with M204
@@ -771,6 +781,11 @@
771 781
   #define DEFAULT_XJERK 10.0
772 782
   #define DEFAULT_YJERK 10.0
773 783
   #define DEFAULT_ZJERK  0.3
784
+
785
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
786
+  #if ENABLED(LIMITED_JERK_EDITING)
787
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
788
+  #endif
774 789
 #endif
775 790
 
776 791
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/STM32/STM32F103RE/Configuration.h View File

@@ -727,6 +727,11 @@
727 727
  */
728 728
 #define DEFAULT_MAX_FEEDRATE          { 400, 400, 2, 45 }
729 729
 
730
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
731
+#if ENABLED(LIMITED_MAX_FR_EDITING)
732
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
733
+#endif
734
+
730 735
 /**
731 736
  * Default Max Acceleration (change/s) change = mm/s
732 737
  * (Maximum start speed for accelerated moves)
@@ -735,6 +740,11 @@
735 740
  */
736 741
 #define DEFAULT_MAX_ACCELERATION      { 1400, 1400, 100, 80000 }
737 742
 
743
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
744
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
745
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
746
+#endif
747
+
738 748
 /**
739 749
  * Default Acceleration (change/s) change = mm/s
740 750
  * Override with M204
@@ -773,6 +783,11 @@
773 783
   #define DEFAULT_XJERK 13.0
774 784
   #define DEFAULT_YJERK 13.0
775 785
   #define DEFAULT_ZJERK  0.3
786
+
787
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
788
+  #if ENABLED(LIMITED_JERK_EDITING)
789
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
790
+  #endif
776 791
 #endif
777 792
 
778 793
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/STM32/STM32F4/Configuration.h View File

@@ -725,6 +725,11 @@
725 725
  */
726 726
 #define DEFAULT_MAX_FEEDRATE          { 300, 300, 5, 25 }
727 727
 
728
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
729
+#if ENABLED(LIMITED_MAX_FR_EDITING)
730
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
731
+#endif
732
+
728 733
 /**
729 734
  * Default Max Acceleration (change/s) change = mm/s
730 735
  * (Maximum start speed for accelerated moves)
@@ -733,6 +738,11 @@
733 738
  */
734 739
 #define DEFAULT_MAX_ACCELERATION      { 3000, 3000, 100, 10000 }
735 740
 
741
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
742
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
743
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
744
+#endif
745
+
736 746
 /**
737 747
  * Default Acceleration (change/s) change = mm/s
738 748
  * Override with M204
@@ -771,6 +781,11 @@
771 781
   #define DEFAULT_XJERK 10.0
772 782
   #define DEFAULT_YJERK 10.0
773 783
   #define DEFAULT_ZJERK  0.3
784
+
785
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
786
+  #if ENABLED(LIMITED_JERK_EDITING)
787
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
788
+  #endif
774 789
 #endif
775 790
 
776 791
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/STM32/stm32f103ret6/Configuration.h View File

@@ -727,6 +727,11 @@
727 727
  */
728 728
 #define DEFAULT_MAX_FEEDRATE          { 400, 400, 2, 45 }
729 729
 
730
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
731
+#if ENABLED(LIMITED_MAX_FR_EDITING)
732
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
733
+#endif
734
+
730 735
 /**
731 736
  * Default Max Acceleration (change/s) change = mm/s
732 737
  * (Maximum start speed for accelerated moves)
@@ -735,6 +740,11 @@
735 740
  */
736 741
 #define DEFAULT_MAX_ACCELERATION      { 1400, 1400, 100, 80000 }
737 742
 
743
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
744
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
745
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
746
+#endif
747
+
738 748
 /**
739 749
  * Default Acceleration (change/s) change = mm/s
740 750
  * Override with M204
@@ -773,6 +783,11 @@
773 783
   #define DEFAULT_XJERK 13.0
774 784
   #define DEFAULT_YJERK 13.0
775 785
   #define DEFAULT_ZJERK  0.3
786
+
787
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
788
+  #if ENABLED(LIMITED_JERK_EDITING)
789
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
790
+  #endif
776 791
 #endif
777 792
 
778 793
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Sanguinololu/Configuration.h View File

@@ -756,6 +756,11 @@
756 756
  */
757 757
 #define DEFAULT_MAX_FEEDRATE          { 500, 500, 8, 45 }
758 758
 
759
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
760
+#if ENABLED(LIMITED_MAX_FR_EDITING)
761
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
762
+#endif
763
+
759 764
 /**
760 765
  * Default Max Acceleration (change/s) change = mm/s
761 766
  * (Maximum start speed for accelerated moves)
@@ -764,6 +769,11 @@
764 769
  */
765 770
 #define DEFAULT_MAX_ACCELERATION      { 3000, 3000, 100, 10000 }
766 771
 
772
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
773
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
774
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
775
+#endif
776
+
767 777
 /**
768 778
  * Default Acceleration (change/s) change = mm/s
769 779
  * Override with M204
@@ -802,6 +812,11 @@
802 812
   #define DEFAULT_XJERK 10.0
803 813
   #define DEFAULT_YJERK 10.0
804 814
   #define DEFAULT_ZJERK  0.3
815
+
816
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
817
+  #if ENABLED(LIMITED_JERK_EDITING)
818
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
819
+  #endif
805 820
 #endif
806 821
 
807 822
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Tevo/Michelangelo/Configuration.h View File

@@ -730,6 +730,11 @@
730 730
  */
731 731
 #define DEFAULT_MAX_FEEDRATE          { 500, 500, 60, 55 }
732 732
 
733
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
734
+#if ENABLED(LIMITED_MAX_FR_EDITING)
735
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
736
+#endif
737
+
733 738
 /**
734 739
  * Default Max Acceleration (change/s) change = mm/s
735 740
  * (Maximum start speed for accelerated moves)
@@ -738,6 +743,11 @@
738 743
  */
739 744
 #define DEFAULT_MAX_ACCELERATION      { 10000, 10000, 400, 10000 }
740 745
 
746
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
747
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
748
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
749
+#endif
750
+
741 751
 /**
742 752
  * Default Acceleration (change/s) change = mm/s
743 753
  * Override with M204
@@ -776,6 +786,11 @@
776 786
   #define DEFAULT_XJERK 10.0
777 787
   #define DEFAULT_YJERK 10.0
778 788
   #define DEFAULT_ZJERK  0.3
789
+
790
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
791
+  #if ENABLED(LIMITED_JERK_EDITING)
792
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
793
+  #endif
779 794
 #endif
780 795
 
781 796
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/Tevo/Tarantula Pro/Configuration.h View File

@@ -730,6 +730,11 @@
730 730
  */
731 731
 #define DEFAULT_MAX_FEEDRATE          { 400, 400, 50, 45 }
732 732
 
733
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
734
+#if ENABLED(LIMITED_MAX_FR_EDITING)
735
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
736
+#endif
737
+
733 738
 /**
734 739
  * Default Max Acceleration (change/s) change = mm/s
735 740
  * (Maximum start speed for accelerated moves)
@@ -738,6 +743,11 @@
738 743
  */
739 744
 #define DEFAULT_MAX_ACCELERATION      { 3000, 3000, 100, 10000 }
740 745
 
746
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
747
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
748
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
749
+#endif
750
+
741 751
 /**
742 752
  * Default Acceleration (change/s) change = mm/s
743 753
  * Override with M204
@@ -776,6 +786,11 @@
776 786
   #define DEFAULT_XJERK 10.0
777 787
   #define DEFAULT_YJERK 10.0
778 788
   #define DEFAULT_ZJERK  0.3
789
+
790
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
791
+  #if ENABLED(LIMITED_JERK_EDITING)
792
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
793
+  #endif
779 794
 #endif
780 795
 
781 796
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/TheBorg/Configuration.h View File

@@ -725,6 +725,11 @@
725 725
  */
726 726
 #define DEFAULT_MAX_FEEDRATE          { 500, 500, 5, 25 }
727 727
 
728
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
729
+#if ENABLED(LIMITED_MAX_FR_EDITING)
730
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
731
+#endif
732
+
728 733
 /**
729 734
  * Default Max Acceleration (change/s) change = mm/s
730 735
  * (Maximum start speed for accelerated moves)
@@ -733,6 +738,11 @@
733 738
  */
734 739
 #define DEFAULT_MAX_ACCELERATION      { 9000, 9000, 100, 10000 }
735 740
 
741
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
742
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
743
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
744
+#endif
745
+
736 746
 /**
737 747
  * Default Acceleration (change/s) change = mm/s
738 748
  * Override with M204
@@ -771,6 +781,11 @@
771 781
   #define DEFAULT_XJERK 10.0
772 782
   #define DEFAULT_YJERK 10.0
773 783
   #define DEFAULT_ZJERK  0.3
784
+
785
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
786
+  #if ENABLED(LIMITED_JERK_EDITING)
787
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
788
+  #endif
774 789
 #endif
775 790
 
776 791
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 15
- 0
config/examples/TinyBoy2/Configuration.h View File

@@ -776,6 +776,11 @@
776 776
  */
777 777
 #define DEFAULT_MAX_FEEDRATE          { 300, 300, 7, 35 }
778 778
 
779
+//#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
780
+#if ENABLED(LIMITED_MAX_FR_EDITING)
781
+  #define MAX_FEEDRATE_EDIT_VALUES    { 600, 600, 10, 50 } // ...or, set your own edit limits
782
+#endif
783
+
779 784
 /**
780 785
  * Default Max Acceleration (change/s) change = mm/s
781 786
  * (Maximum start speed for accelerated moves)
@@ -784,6 +789,11 @@
784 789
  */
785 790
 #define DEFAULT_MAX_ACCELERATION      { 3000, 3000, 100, 10000 }
786 791
 
792
+//#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
793
+#if ENABLED(LIMITED_MAX_ACCEL_EDITING)
794
+  #define MAX_ACCEL_EDIT_VALUES       { 6000, 6000, 200, 20000 } // ...or, set your own edit limits
795
+#endif
796
+
787 797
 /**
788 798
  * Default Acceleration (change/s) change = mm/s
789 799
  * Override with M204
@@ -822,6 +832,11 @@
822 832
   #define DEFAULT_XJERK 10.0
823 833
   #define DEFAULT_YJERK 10.0
824 834
   #define DEFAULT_ZJERK  0.3
835
+
836
+  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
837
+  #if ENABLED(LIMITED_JERK_EDITING)
838
+    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
839
+  #endif
825 840
 #endif
826 841
 
827 842
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance

+ 0
- 0
config/examples/Tronxy/X1/Configuration.h View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save