ソースを参照

max_jerk array, DEFAULT_XYJERK => DEFAULT_[XY]JERK

Scott Lahteine 8年前
コミット
d19cfcfc1d
54個のファイルの変更192行の追加146行の削除
  1. 2
    1
      Marlin/Configuration.h
  2. 8
    7
      Marlin/Marlin_main.cpp
  3. 2
    0
      Marlin/SanityCheck.h
  4. 54
    55
      Marlin/configuration_store.cpp
  5. 2
    1
      Marlin/example_configurations/Cartesio/Configuration.h
  6. 2
    1
      Marlin/example_configurations/Felix/Configuration.h
  7. 2
    1
      Marlin/example_configurations/Felix/DUAL/Configuration.h
  8. 2
    1
      Marlin/example_configurations/Hephestos/Configuration.h
  9. 2
    1
      Marlin/example_configurations/Hephestos_2/Configuration.h
  10. 2
    1
      Marlin/example_configurations/K8200/Configuration.h
  11. 2
    1
      Marlin/example_configurations/K8400/Configuration.h
  12. 2
    1
      Marlin/example_configurations/K8400/Dual-head/Configuration.h
  13. 2
    1
      Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h
  14. 2
    1
      Marlin/example_configurations/RigidBot/Configuration.h
  15. 2
    1
      Marlin/example_configurations/SCARA/Configuration.h
  16. 2
    1
      Marlin/example_configurations/TAZ4/Configuration.h
  17. 2
    1
      Marlin/example_configurations/WITBOX/Configuration.h
  18. 2
    1
      Marlin/example_configurations/adafruit/ST7565/Configuration.h
  19. 2
    1
      Marlin/example_configurations/delta/biv2.5/Configuration.h
  20. 2
    1
      Marlin/example_configurations/delta/generic/Configuration.h
  21. 2
    1
      Marlin/example_configurations/delta/kossel_mini/Configuration.h
  22. 2
    1
      Marlin/example_configurations/delta/kossel_pro/Configuration.h
  23. 2
    1
      Marlin/example_configurations/delta/kossel_xl/Configuration.h
  24. 2
    1
      Marlin/example_configurations/makibox/Configuration.h
  25. 2
    1
      Marlin/example_configurations/tvrrug/Round2/Configuration.h
  26. 2
    1
      Marlin/language_an.h
  27. 2
    1
      Marlin/language_bg.h
  28. 2
    1
      Marlin/language_ca.h
  29. 2
    1
      Marlin/language_cn.h
  30. 2
    1
      Marlin/language_cz.h
  31. 2
    1
      Marlin/language_da.h
  32. 4
    3
      Marlin/language_de.h
  33. 2
    1
      Marlin/language_el-gr.h
  34. 2
    1
      Marlin/language_el.h
  35. 5
    2
      Marlin/language_en.h
  36. 2
    1
      Marlin/language_es.h
  37. 2
    1
      Marlin/language_eu.h
  38. 2
    1
      Marlin/language_fi.h
  39. 2
    1
      Marlin/language_fr.h
  40. 2
    1
      Marlin/language_gl.h
  41. 2
    1
      Marlin/language_hr.h
  42. 2
    1
      Marlin/language_it.h
  43. 4
    2
      Marlin/language_kana.h
  44. 2
    1
      Marlin/language_kana_utf8.h
  45. 2
    1
      Marlin/language_nl.h
  46. 2
    1
      Marlin/language_pl.h
  47. 2
    1
      Marlin/language_pt-br.h
  48. 2
    1
      Marlin/language_pt-br_utf8.h
  49. 2
    1
      Marlin/language_pt.h
  50. 2
    1
      Marlin/language_pt_utf8.h
  51. 2
    1
      Marlin/language_ru.h
  52. 19
    25
      Marlin/planner.cpp
  53. 1
    3
      Marlin/planner.h
  54. 5
    4
      Marlin/ultralcd.cpp

+ 2
- 1
Marlin/Configuration.h ファイルの表示

@@ -498,7 +498,8 @@
498 498
  * When changing speed and direction, if the difference is less than the
499 499
  * value set here, it may happen instantaneously.
500 500
  */
501
-#define DEFAULT_XYJERK                20.0
501
+#define DEFAULT_XJERK                 20.0
502
+#define DEFAULT_YJERK                 20.0
502 503
 #define DEFAULT_ZJERK                  0.4
503 504
 #define DEFAULT_EJERK                  5.0
504 505
 

+ 8
- 7
Marlin/Marlin_main.cpp ファイルの表示

@@ -5548,11 +5548,11 @@ inline void gcode_M92() {
5548 5548
         float value = code_value_per_axis_unit(i);
5549 5549
         if (value < 20.0) {
5550 5550
           float factor = planner.axis_steps_per_mm[i] / value; // increase e constants if M92 E14 is given for netfab.
5551
-          planner.max_e_jerk *= factor;
5552
-          planner.max_feedrate_mm_s[i] *= factor;
5553
-          planner.max_acceleration_steps_per_s2[i] *= factor;
5551
+          planner.max_jerk[E_AXIS] *= factor;
5552
+          planner.max_feedrate_mm_s[E_AXIS] *= factor;
5553
+          planner.max_acceleration_steps_per_s2[E_AXIS] *= factor;
5554 5554
         }
5555
-        planner.axis_steps_per_mm[i] = value;
5555
+        planner.axis_steps_per_mm[E_AXIS] = value;
5556 5556
       }
5557 5557
       else {
5558 5558
         planner.axis_steps_per_mm[i] = code_value_per_axis_unit(i);
@@ -5788,9 +5788,10 @@ inline void gcode_M205() {
5788 5788
   if (code_seen('S')) planner.min_feedrate_mm_s = code_value_linear_units();
5789 5789
   if (code_seen('T')) planner.min_travel_feedrate_mm_s = code_value_linear_units();
5790 5790
   if (code_seen('B')) planner.min_segment_time = code_value_millis();
5791
-  if (code_seen('X')) planner.max_xy_jerk = code_value_linear_units();
5792
-  if (code_seen('Z')) planner.max_z_jerk = code_value_axis_units(Z_AXIS);
5793
-  if (code_seen('E')) planner.max_e_jerk = code_value_axis_units(E_AXIS);
5791
+  if (code_seen('X')) planner.max_jerk[X_AXIS] = code_value_axis_units(X_AXIS);
5792
+  if (code_seen('Y')) planner.max_jerk[Y_AXIS] = code_value_axis_units(Y_AXIS);
5793
+  if (code_seen('Z')) planner.max_jerk[Z_AXIS] = code_value_axis_units(Z_AXIS);
5794
+  if (code_seen('E')) planner.max_jerk[E_AXIS] = code_value_axis_units(E_AXIS);
5794 5795
 }
5795 5796
 
5796 5797
 /**

+ 2
- 0
Marlin/SanityCheck.h ファイルの表示

@@ -91,6 +91,8 @@
91 91
   #error "SERVO_ENDSTOP_ANGLES is deprecated. Use Z_SERVO_ANGLES instead."
92 92
 #elif defined(X_ENDSTOP_SERVO_NR) || defined(Y_ENDSTOP_SERVO_NR)
93 93
   #error "X_ENDSTOP_SERVO_NR and Y_ENDSTOP_SERVO_NR are deprecated and should be removed."
94
+#elif defined(DEFAULT_XYJERK)
95
+  #error "DEFAULT_XYJERK is deprecated. Use DEFAULT_XJERK and DEFAULT_YJERK instead."
94 96
 #elif defined(XY_TRAVEL_SPEED)
95 97
   #error "XY_TRAVEL_SPEED is deprecated. Use XY_PROBE_SPEED instead."
96 98
 #elif defined(PROBE_SERVO_DEACTIVATION_DELAY)

+ 54
- 55
Marlin/configuration_store.cpp ファイルの表示

@@ -36,7 +36,7 @@
36 36
  *
37 37
  */
38 38
 
39
-#define EEPROM_VERSION "V25"
39
+#define EEPROM_VERSION "V26"
40 40
 
41 41
 // Change EEPROM version if these are changed:
42 42
 #define EEPROM_OFFSET 100
@@ -57,69 +57,70 @@
57 57
  *  166  M205 S    planner.min_feedrate_mm_s (float)
58 58
  *  170  M205 T    planner.min_travel_feedrate_mm_s (float)
59 59
  *  174  M205 B    planner.min_segment_time (ulong)
60
- *  178  M205 X    planner.max_xy_jerk (float)
61
- *  182  M205 Z    planner.max_z_jerk (float)
62
- *  186  M205 E    planner.max_e_jerk (float)
63
- *  190  M206 XYZ  home_offset (float x3)
60
+ *  178  M205 X    planner.max_jerk[X_AXIS] (float)
61
+ *  182  M205 Y    planner.max_jerk[Y_AXIS] (float)
62
+ *  186  M205 Z    planner.max_jerk[Z_AXIS] (float)
63
+ *  190  M205 E    planner.max_jerk[E_AXIS] (float)
64
+ *  194  M206 XYZ  home_offset (float x3)
64 65
  *
65 66
  * Mesh bed leveling:
66
- *  202  M420 S    status (uint8)
67
- *  203            z_offset (float)
68
- *  207            mesh_num_x (uint8 as set in firmware)
69
- *  208            mesh_num_y (uint8 as set in firmware)
70
- *  209 G29 S3 XYZ z_values[][] (float x9, by default, up to float x 81)
67
+ *  206  M420 S    status (uint8)
68
+ *  207            z_offset (float)
69
+ *  211            mesh_num_x (uint8 as set in firmware)
70
+ *  212            mesh_num_y (uint8 as set in firmware)
71
+ *  213 G29 S3 XYZ z_values[][] (float x9, by default, up to float x 81)
71 72
  *
72 73
  * AUTO BED LEVELING
73
- *  245  M851      zprobe_zoffset (float)
74
+ *  249  M851      zprobe_zoffset (float)
74 75
  *
75 76
  * DELTA:
76
- *  249  M666 XYZ  endstop_adj (float x3)
77
- *  261  M665 R    delta_radius (float)
78
- *  265  M665 L    delta_diagonal_rod (float)
79
- *  269  M665 S    delta_segments_per_second (float)
80
- *  273  M665 A    delta_diagonal_rod_trim_tower_1 (float)
81
- *  277  M665 B    delta_diagonal_rod_trim_tower_2 (float)
82
- *  281  M665 C    delta_diagonal_rod_trim_tower_3 (float)
77
+ *  253  M666 XYZ  endstop_adj (float x3)
78
+ *  265  M665 R    delta_radius (float)
79
+ *  269  M665 L    delta_diagonal_rod (float)
80
+ *  273  M665 S    delta_segments_per_second (float)
81
+ *  277  M665 A    delta_diagonal_rod_trim_tower_1 (float)
82
+ *  281  M665 B    delta_diagonal_rod_trim_tower_2 (float)
83
+ *  285  M665 C    delta_diagonal_rod_trim_tower_3 (float)
83 84
  *
84 85
  * Z_DUAL_ENDSTOPS:
85
- *  285  M666 Z    z_endstop_adj (float)
86
+ *  289  M666 Z    z_endstop_adj (float)
86 87
  *
87 88
  * ULTIPANEL:
88
- *  289  M145 S0 H preheatHotendTemp1 (int)
89
- *  291  M145 S0 B preheatBedTemp1 (int)
90
- *  293  M145 S0 F preheatFanSpeed1 (int)
91
- *  295  M145 S1 H preheatHotendTemp2 (int)
92
- *  297  M145 S1 B preheatBedTemp2 (int)
93
- *  299  M145 S1 F preheatFanSpeed2 (int)
89
+ *  293  M145 S0 H preheatHotendTemp1 (int)
90
+ *  295  M145 S0 B preheatBedTemp1 (int)
91
+ *  297  M145 S0 F preheatFanSpeed1 (int)
92
+ *  299  M145 S1 H preheatHotendTemp2 (int)
93
+ *  301  M145 S1 B preheatBedTemp2 (int)
94
+ *  303  M145 S1 F preheatFanSpeed2 (int)
94 95
  *
95 96
  * PIDTEMP:
96
- *  301  M301 E0 PIDC  Kp[0], Ki[0], Kd[0], Kc[0] (float x4)
97
- *  317  M301 E1 PIDC  Kp[1], Ki[1], Kd[1], Kc[1] (float x4)
98
- *  333  M301 E2 PIDC  Kp[2], Ki[2], Kd[2], Kc[2] (float x4)
99
- *  349  M301 E3 PIDC  Kp[3], Ki[3], Kd[3], Kc[3] (float x4)
100
- *  365  M301 L        lpq_len (int)
97
+ *  305  M301 E0 PIDC  Kp[0], Ki[0], Kd[0], Kc[0] (float x4)
98
+ *  321  M301 E1 PIDC  Kp[1], Ki[1], Kd[1], Kc[1] (float x4)
99
+ *  337  M301 E2 PIDC  Kp[2], Ki[2], Kd[2], Kc[2] (float x4)
100
+ *  353  M301 E3 PIDC  Kp[3], Ki[3], Kd[3], Kc[3] (float x4)
101
+ *  369  M301 L        lpq_len (int)
101 102
  *
102 103
  * PIDTEMPBED:
103
- *  367  M304 PID  thermalManager.bedKp, thermalManager.bedKi, thermalManager.bedKd (float x3)
104
+ *  371  M304 PID  thermalManager.bedKp, thermalManager.bedKi, thermalManager.bedKd (float x3)
104 105
  *
105 106
  * DOGLCD:
106
- *  379  M250 C    lcd_contrast (int)
107
+ *  383  M250 C    lcd_contrast (int)
107 108
  *
108 109
  * FWRETRACT:
109
- *  381  M209 S    autoretract_enabled (bool)
110
- *  382  M207 S    retract_length (float)
111
- *  386  M207 W    retract_length_swap (float)
112
- *  390  M207 F    retract_feedrate_mm_s (float)
113
- *  394  M207 Z    retract_zlift (float)
114
- *  398  M208 S    retract_recover_length (float)
115
- *  402  M208 W    retract_recover_length_swap (float)
116
- *  406  M208 F    retract_recover_feedrate_mm_s (float)
110
+ *  385  M209 S    autoretract_enabled (bool)
111
+ *  386  M207 S    retract_length (float)
112
+ *  390  M207 W    retract_length_swap (float)
113
+ *  394  M207 F    retract_feedrate_mm_s (float)
114
+ *  399  M207 Z    retract_zlift (float)
115
+ *  402  M208 S    retract_recover_length (float)
116
+ *  406  M208 W    retract_recover_length_swap (float)
117
+ *  410  M208 F    retract_recover_feedrate_mm_s (float)
117 118
  *
118 119
  * Volumetric Extrusion:
119
- *  410  M200 D    volumetric_enabled (bool)
120
- *  411  M200 T D  filament_size (float x4) (T0..3)
120
+ *  414  M200 D    volumetric_enabled (bool)
121
+ *  415  M200 T D  filament_size (float x4) (T0..3)
121 122
  *
122
- *  427  This Slot is Available!
123
+ *  431  This Slot is Available!
123 124
  *
124 125
  */
125 126
 #include "Marlin.h"
@@ -219,9 +220,7 @@ void Config_StoreSettings()  {
219 220
   EEPROM_WRITE(planner.min_feedrate_mm_s);
220 221
   EEPROM_WRITE(planner.min_travel_feedrate_mm_s);
221 222
   EEPROM_WRITE(planner.min_segment_time);
222
-  EEPROM_WRITE(planner.max_xy_jerk);
223
-  EEPROM_WRITE(planner.max_z_jerk);
224
-  EEPROM_WRITE(planner.max_e_jerk);
223
+  EEPROM_WRITE(planner.max_jerk);
225 224
   EEPROM_WRITE(home_offset);
226 225
 
227 226
   #if ENABLED(MESH_BED_LEVELING)
@@ -405,9 +404,7 @@ void Config_RetrieveSettings() {
405 404
     EEPROM_READ(planner.min_feedrate_mm_s);
406 405
     EEPROM_READ(planner.min_travel_feedrate_mm_s);
407 406
     EEPROM_READ(planner.min_segment_time);
408
-    EEPROM_READ(planner.max_xy_jerk);
409
-    EEPROM_READ(planner.max_z_jerk);
410
-    EEPROM_READ(planner.max_e_jerk);
407
+    EEPROM_READ(planner.max_jerk);
411 408
     EEPROM_READ(home_offset);
412 409
 
413 410
     uint8_t dummy_uint8 = 0, mesh_num_x = 0, mesh_num_y = 0;
@@ -576,9 +573,10 @@ void Config_ResetDefault() {
576 573
   planner.min_feedrate_mm_s = DEFAULT_MINIMUMFEEDRATE;
577 574
   planner.min_segment_time = DEFAULT_MINSEGMENTTIME;
578 575
   planner.min_travel_feedrate_mm_s = DEFAULT_MINTRAVELFEEDRATE;
579
-  planner.max_xy_jerk = DEFAULT_XYJERK;
580
-  planner.max_z_jerk = DEFAULT_ZJERK;
581
-  planner.max_e_jerk = DEFAULT_EJERK;
576
+  planner.max_jerk[X_AXIS] = DEFAULT_XJERK;
577
+  planner.max_jerk[Y_AXIS] = DEFAULT_YJERK;
578
+  planner.max_jerk[Z_AXIS] = DEFAULT_ZJERK;
579
+  planner.max_jerk[E_AXIS] = DEFAULT_EJERK;
582 580
   home_offset[X_AXIS] = home_offset[Y_AXIS] = home_offset[Z_AXIS] = 0;
583 581
 
584 582
   #if ENABLED(MESH_BED_LEVELING)
@@ -734,9 +732,10 @@ void Config_PrintSettings(bool forReplay) {
734 732
   SERIAL_ECHOPAIR("  M205 S", planner.min_feedrate_mm_s);
735 733
   SERIAL_ECHOPAIR(" T", planner.min_travel_feedrate_mm_s);
736 734
   SERIAL_ECHOPAIR(" B", planner.min_segment_time);
737
-  SERIAL_ECHOPAIR(" X", planner.max_xy_jerk);
738
-  SERIAL_ECHOPAIR(" Z", planner.max_z_jerk);
739
-  SERIAL_ECHOPAIR(" E", planner.max_e_jerk);
735
+  SERIAL_ECHOPAIR(" X", planner.max_jerk[X_AXIS]);
736
+  SERIAL_ECHOPAIR(" Y", planner.max_jerk[Y_AXIS]);
737
+  SERIAL_ECHOPAIR(" Z", planner.max_jerk[Z_AXIS]);
738
+  SERIAL_ECHOPAIR(" E", planner.max_jerk[E_AXIS]);
740 739
   SERIAL_EOL;
741 740
 
742 741
   CONFIG_ECHO_START;

+ 2
- 1
Marlin/example_configurations/Cartesio/Configuration.h ファイルの表示

@@ -498,7 +498,8 @@
498 498
  * When changing speed and direction, if the difference is less than the
499 499
  * value set here, it may happen instantaneously.
500 500
  */
501
-#define DEFAULT_XYJERK                10.0
501
+#define DEFAULT_XJERK                 10.0
502
+#define DEFAULT_YJERK                 10.0
502 503
 #define DEFAULT_ZJERK                  0.4
503 504
 #define DEFAULT_EJERK                  5.0
504 505
 

+ 2
- 1
Marlin/example_configurations/Felix/Configuration.h ファイルの表示

@@ -481,7 +481,8 @@
481 481
  * When changing speed and direction, if the difference is less than the
482 482
  * value set here, it may happen instantaneously.
483 483
  */
484
-#define DEFAULT_XYJERK                10.0
484
+#define DEFAULT_XJERK                 10.0
485
+#define DEFAULT_YJERK                 10.0
485 486
 #define DEFAULT_ZJERK                  0.3
486 487
 #define DEFAULT_EJERK                  5.0
487 488
 

+ 2
- 1
Marlin/example_configurations/Felix/DUAL/Configuration.h ファイルの表示

@@ -481,7 +481,8 @@
481 481
  * When changing speed and direction, if the difference is less than the
482 482
  * value set here, it may happen instantaneously.
483 483
  */
484
-#define DEFAULT_XYJERK                10.0
484
+#define DEFAULT_XJERK                 10.0
485
+#define DEFAULT_YJERK                 10.0
485 486
 #define DEFAULT_ZJERK                  0.3
486 487
 #define DEFAULT_EJERK                  5.0
487 488
 

+ 2
- 1
Marlin/example_configurations/Hephestos/Configuration.h ファイルの表示

@@ -490,7 +490,8 @@
490 490
  * When changing speed and direction, if the difference is less than the
491 491
  * value set here, it may happen instantaneously.
492 492
  */
493
-#define DEFAULT_XYJERK                10.0
493
+#define DEFAULT_XJERK                 10.0
494
+#define DEFAULT_YJERK                 10.0
494 495
 #define DEFAULT_ZJERK                  0.4
495 496
 #define DEFAULT_EJERK                  5.0
496 497
 

+ 2
- 1
Marlin/example_configurations/Hephestos_2/Configuration.h ファイルの表示

@@ -492,7 +492,8 @@
492 492
  * When changing speed and direction, if the difference is less than the
493 493
  * value set here, it may happen instantaneously.
494 494
  */
495
-#define DEFAULT_XYJERK                20.0
495
+#define DEFAULT_XJERK                 20.0
496
+#define DEFAULT_YJERK                 20.0
496 497
 #define DEFAULT_ZJERK                  0.4
497 498
 #define DEFAULT_EJERK                  2.0
498 499
 

+ 2
- 1
Marlin/example_configurations/K8200/Configuration.h ファイルの表示

@@ -515,7 +515,8 @@
515 515
  * When changing speed and direction, if the difference is less than the
516 516
  * value set here, it may happen instantaneously.
517 517
  */
518
-#define DEFAULT_XYJERK                20.0
518
+#define DEFAULT_XJERK                 20.0
519
+#define DEFAULT_YJERK                 20.0
519 520
 #define DEFAULT_ZJERK                  0.4
520 521
 #define DEFAULT_EJERK                  5.0
521 522
 

+ 2
- 1
Marlin/example_configurations/K8400/Configuration.h ファイルの表示

@@ -498,7 +498,8 @@
498 498
  * When changing speed and direction, if the difference is less than the
499 499
  * value set here, it may happen instantaneously.
500 500
  */
501
-#define DEFAULT_XYJERK                10.0
501
+#define DEFAULT_XJERK                 10.0
502
+#define DEFAULT_YJERK                 10.0
502 503
 #define DEFAULT_ZJERK                  0.5
503 504
 #define DEFAULT_EJERK                 20.0
504 505
 

+ 2
- 1
Marlin/example_configurations/K8400/Dual-head/Configuration.h ファイルの表示

@@ -498,7 +498,8 @@
498 498
  * When changing speed and direction, if the difference is less than the
499 499
  * value set here, it may happen instantaneously.
500 500
  */
501
-#define DEFAULT_XYJERK                10.0
501
+#define DEFAULT_XJERK                 10.0
502
+#define DEFAULT_YJERK                 10.0
502 503
 #define DEFAULT_ZJERK                  0.5
503 504
 #define DEFAULT_EJERK                 20.0
504 505
 

+ 2
- 1
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h ファイルの表示

@@ -498,7 +498,8 @@
498 498
  * When changing speed and direction, if the difference is less than the
499 499
  * value set here, it may happen instantaneously.
500 500
  */
501
-#define DEFAULT_XYJERK                20.0
501
+#define DEFAULT_XJERK                 20.0
502
+#define DEFAULT_YJERK                 20.0
502 503
 #define DEFAULT_ZJERK                  0.4
503 504
 #define DEFAULT_EJERK                  5.0
504 505
 

+ 2
- 1
Marlin/example_configurations/RigidBot/Configuration.h ファイルの表示

@@ -496,7 +496,8 @@
496 496
  * When changing speed and direction, if the difference is less than the
497 497
  * value set here, it may happen instantaneously.
498 498
  */
499
-#define DEFAULT_XYJERK                8.0
499
+#define DEFAULT_XJERK                 8.0
500
+#define DEFAULT_YJERK                 8.0
500 501
 #define DEFAULT_ZJERK                 0.4
501 502
 #define DEFAULT_EJERK                 5.0
502 503
 

+ 2
- 1
Marlin/example_configurations/SCARA/Configuration.h ファイルの表示

@@ -513,7 +513,8 @@
513 513
  * When changing speed and direction, if the difference is less than the
514 514
  * value set here, it may happen instantaneously.
515 515
  */
516
-#define DEFAULT_XYJERK                5.0
516
+#define DEFAULT_XJERK                 5.0
517
+#define DEFAULT_YJERK                 5.0
517 518
 #define DEFAULT_ZJERK                 0.4
518 519
 #define DEFAULT_EJERK                 3.0
519 520
 

+ 2
- 1
Marlin/example_configurations/TAZ4/Configuration.h ファイルの表示

@@ -519,7 +519,8 @@
519 519
  * When changing speed and direction, if the difference is less than the
520 520
  * value set here, it may happen instantaneously.
521 521
  */
522
-#define DEFAULT_XYJERK                 8.0
522
+#define DEFAULT_XJERK                  8.0
523
+#define DEFAULT_YJERK                  8.0
523 524
 #define DEFAULT_ZJERK                  0.4
524 525
 #define DEFAULT_EJERK                 10.0
525 526
 

+ 2
- 1
Marlin/example_configurations/WITBOX/Configuration.h ファイルの表示

@@ -490,7 +490,8 @@
490 490
  * When changing speed and direction, if the difference is less than the
491 491
  * value set here, it may happen instantaneously.
492 492
  */
493
-#define DEFAULT_XYJERK                10.0
493
+#define DEFAULT_XJERK                 10.0
494
+#define DEFAULT_YJERK                 10.0
494 495
 #define DEFAULT_ZJERK                  0.4
495 496
 #define DEFAULT_EJERK                  5.0
496 497
 

+ 2
- 1
Marlin/example_configurations/adafruit/ST7565/Configuration.h ファイルの表示

@@ -498,7 +498,8 @@
498 498
  * When changing speed and direction, if the difference is less than the
499 499
  * value set here, it may happen instantaneously.
500 500
  */
501
-#define DEFAULT_XYJERK                20.0
501
+#define DEFAULT_XJERK                 20.0
502
+#define DEFAULT_YJERK                 20.0
502 503
 #define DEFAULT_ZJERK                  0.4
503 504
 #define DEFAULT_EJERK                  5.0
504 505
 

+ 2
- 1
Marlin/example_configurations/delta/biv2.5/Configuration.h ファイルの表示

@@ -541,7 +541,8 @@
541 541
  * When changing speed and direction, if the difference is less than the
542 542
  * value set here, it may happen instantaneously.
543 543
  */
544
-#define DEFAULT_XYJERK                15.0
544
+#define DEFAULT_XJERK                 15.0
545
+#define DEFAULT_YJERK                 15.0
545 546
 #define DEFAULT_ZJERK                 15.0 // Must be same as XY for delta
546 547
 #define DEFAULT_EJERK                  5.0
547 548
 

+ 2
- 1
Marlin/example_configurations/delta/generic/Configuration.h ファイルの表示

@@ -541,7 +541,8 @@
541 541
  * When changing speed and direction, if the difference is less than the
542 542
  * value set here, it may happen instantaneously.
543 543
  */
544
-#define DEFAULT_XYJERK                20.0
544
+#define DEFAULT_XJERK                 20.0
545
+#define DEFAULT_YJERK                 20.0
545 546
 #define DEFAULT_ZJERK                 20.0 // Must be same as XY for delta
546 547
 #define DEFAULT_EJERK                  5.0
547 548
 

+ 2
- 1
Marlin/example_configurations/delta/kossel_mini/Configuration.h ファイルの表示

@@ -541,7 +541,8 @@
541 541
  * When changing speed and direction, if the difference is less than the
542 542
  * value set here, it may happen instantaneously.
543 543
  */
544
-#define DEFAULT_XYJERK                20.0
544
+#define DEFAULT_XJERK                 20.0
545
+#define DEFAULT_YJERK                 20.0
545 546
 #define DEFAULT_ZJERK                 20.0 // Must be same as XY for delta
546 547
 #define DEFAULT_EJERK                  5.0
547 548
 

+ 2
- 1
Marlin/example_configurations/delta/kossel_pro/Configuration.h ファイルの表示

@@ -537,7 +537,8 @@
537 537
  * When changing speed and direction, if the difference is less than the
538 538
  * value set here, it may happen instantaneously.
539 539
  */
540
-#define DEFAULT_XYJERK                20.0
540
+#define DEFAULT_XJERK                 20.0
541
+#define DEFAULT_YJERK                 20.0
541 542
 #define DEFAULT_ZJERK                 20.0 // Must be same as XY for delta
542 543
 #define DEFAULT_EJERK                  5.0
543 544
 

+ 2
- 1
Marlin/example_configurations/delta/kossel_xl/Configuration.h ファイルの表示

@@ -547,7 +547,8 @@
547 547
  * When changing speed and direction, if the difference is less than the
548 548
  * value set here, it may happen instantaneously.
549 549
  */
550
-#define DEFAULT_XYJERK                20.0
550
+#define DEFAULT_XJERK                 20.0
551
+#define DEFAULT_YJERK                 20.0
551 552
 #define DEFAULT_ZJERK                 20.0
552 553
 #define DEFAULT_EJERK                 20.0
553 554
 

+ 2
- 1
Marlin/example_configurations/makibox/Configuration.h ファイルの表示

@@ -501,7 +501,8 @@
501 501
  * When changing speed and direction, if the difference is less than the
502 502
  * value set here, it may happen instantaneously.
503 503
  */
504
-#define DEFAULT_XYJERK                20.0
504
+#define DEFAULT_XJERK                 20.0
505
+#define DEFAULT_YJERK                 20.0
505 506
 #define DEFAULT_ZJERK                  0.4
506 507
 #define DEFAULT_EJERK                  5.0
507 508
 

+ 2
- 1
Marlin/example_configurations/tvrrug/Round2/Configuration.h ファイルの表示

@@ -494,7 +494,8 @@
494 494
  * When changing speed and direction, if the difference is less than the
495 495
  * value set here, it may happen instantaneously.
496 496
  */
497
-#define DEFAULT_XYJERK                20.0
497
+#define DEFAULT_XJERK                 20.0
498
+#define DEFAULT_YJERK                 20.0
498 499
 #define DEFAULT_ZJERK                  0.4
499 500
 #define DEFAULT_EJERK                  5.0
500 501
 

+ 2
- 1
Marlin/language_an.h ファイルの表示

@@ -86,7 +86,8 @@
86 86
 #define MSG_PID_D                           "PID-D"
87 87
 #define MSG_PID_C                           "PID-C"
88 88
 #define MSG_ACC                             "Acel"
89
-#define MSG_VXY_JERK                        "Vxy-jerk"
89
+#define MSG_VX_JERK                         "Vx-jerk"
90
+#define MSG_VY_JERK                         "Vy-jerk"
90 91
 #define MSG_VZ_JERK                         "Vz-jerk"
91 92
 #define MSG_VE_JERK                         "Ves-jerk"
92 93
 #define MSG_VMAX                            "Vmax"

+ 2
- 1
Marlin/language_bg.h ファイルの表示

@@ -88,7 +88,8 @@
88 88
 #define MSG_PID_D                           "PID-D"
89 89
 #define MSG_PID_C                           "PID-C"
90 90
 #define MSG_ACC                             "Acc"
91
-#define MSG_VXY_JERK                        "Vxy-jerk"
91
+#define MSG_VX_JERK                         "Vx-jerk"
92
+#define MSG_VY_JERK                         "Vy-jerk"
92 93
 #define MSG_VZ_JERK                         "Vz-jerk"
93 94
 #define MSG_VE_JERK                         "Ve-jerk"
94 95
 #define MSG_VMAX                            "Vmax "

+ 2
- 1
Marlin/language_ca.h ファイルの表示

@@ -87,7 +87,8 @@
87 87
 #define MSG_PID_D                           "PID-D"
88 88
 #define MSG_PID_C                           "PID-C"
89 89
 #define MSG_ACC                             "Accel"
90
-#define MSG_VXY_JERK                        "Vxy-jerk"
90
+#define MSG_VX_JERK                         "Vx-jerk"
91
+#define MSG_VY_JERK                         "Vy-jerk"
91 92
 #define MSG_VZ_JERK                         "Vz-jerk"
92 93
 #define MSG_VE_JERK                         "Ve-jerk"
93 94
 #define MSG_VMAX                            "Vmax "

+ 2
- 1
Marlin/language_cn.h ファイルの表示

@@ -86,7 +86,8 @@
86 86
 #define MSG_PID_D                           "PID-D"
87 87
 #define MSG_PID_C                           "PID-C"
88 88
 #define MSG_ACC                             "Accel"
89
-#define MSG_VXY_JERK                        "Vxy-jerk"
89
+#define MSG_VX_JERK                         "Vx-jerk"
90
+#define MSG_VY_JERK                         "Vy-jerk"
90 91
 #define MSG_VZ_JERK                         "Vz-jerk"
91 92
 #define MSG_VE_JERK                         "Ve-jerk"
92 93
 #define MSG_VMAX                            "Vmax "

+ 2
- 1
Marlin/language_cz.h ファイルの表示

@@ -98,7 +98,8 @@
98 98
 #define MSG_PID_C                           "PID-C"
99 99
 #define MSG_SELECT                          "Vybrat"
100 100
 #define MSG_ACC                             "Zrychl"
101
-#define MSG_VXY_JERK                        "Vxy-jerk"
101
+#define MSG_VX_JERK                         "Vx-jerk"
102
+#define MSG_VY_JERK                         "Vy-jerk"
102 103
 #define MSG_VZ_JERK                         "Vz-jerk"
103 104
 #define MSG_VE_JERK                         "Ve-jerk"
104 105
 #define MSG_VMAX                            "Vmax "

+ 2
- 1
Marlin/language_da.h ファイルの表示

@@ -96,7 +96,8 @@
96 96
 #define MSG_PID_C                           "PID-C"
97 97
 #define MSG_SELECT                          "Vælg"
98 98
 #define MSG_ACC                             "Accel"
99
-#define MSG_VXY_JERK                        "Vxy-jerk"
99
+#define MSG_VX_JERK                         "Vx-jerk"
100
+#define MSG_VY_JERK                         "Vy-jerk"
100 101
 #define MSG_VZ_JERK                         "Vz-jerk"
101 102
 #define MSG_VE_JERK                         "Ve-jerk"
102 103
 #define MSG_VMAX                            "Vmax "

+ 4
- 3
Marlin/language_de.h ファイルの表示

@@ -95,9 +95,10 @@
95 95
 #define MSG_PID_C                           "PID C"
96 96
 #define MSG_SELECT                          "Auswählen"
97 97
 #define MSG_ACC                             "A"
98
-#define MSG_VXY_JERK                        "V XY Jerk"
99
-#define MSG_VZ_JERK                         "V Z  Jerk"
100
-#define MSG_VE_JERK                         "V E  Jerk"
98
+#define MSG_VX_JERK                         "V X Jerk"
99
+#define MSG_VY_JERK                         "V Y Jerk"
100
+#define MSG_VZ_JERK                         "V Z Jerk"
101
+#define MSG_VE_JERK                         "V E Jerk"
101 102
 #define MSG_VMAX                            "V max " // space by purpose
102 103
 #define MSG_VMIN                            "V min"
103 104
 #define MSG_VTRAV_MIN                       "V min Leerfahrt"

+ 2
- 1
Marlin/language_el-gr.h ファイルの表示

@@ -94,7 +94,8 @@
94 94
 #define MSG_PID_D                           "PID-D"
95 95
 #define MSG_PID_C                           "PID-C"
96 96
 #define MSG_ACC                             "Επιτάχυνση"
97
-#define MSG_VXY_JERK                        "Vαντίδραση xy"
97
+#define MSG_VX_JERK                         "Vαντίδραση x"
98
+#define MSG_VY_JERK                         "Vαντίδραση y"
98 99
 #define MSG_VZ_JERK                         "Vαντίδραση z"
99 100
 #define MSG_VE_JERK                         "Vαντίδραση e"
100 101
 #define MSG_VMAX                            "Vμεγ "

+ 2
- 1
Marlin/language_el.h ファイルの表示

@@ -94,7 +94,8 @@
94 94
 #define MSG_PID_D                           "PID-D"
95 95
 #define MSG_PID_C                           "PID-C"
96 96
 #define MSG_ACC                             "Επιτάχυνση"
97
-#define MSG_VXY_JERK                        "Vαντίδραση xy"
97
+#define MSG_VX_JERK                         "Vαντίδραση x"
98
+#define MSG_VY_JERK                         "Vαντίδραση y"
98 99
 #define MSG_VZ_JERK                         "Vαντίδραση z"
99 100
 #define MSG_VE_JERK                         "Vαντίδραση e"
100 101
 #define MSG_VMAX                            "V Μέγιστο"

+ 5
- 2
Marlin/language_en.h ファイルの表示

@@ -216,8 +216,11 @@
216 216
 #ifndef MSG_ACC
217 217
   #define MSG_ACC                             "Accel"
218 218
 #endif
219
-#ifndef MSG_VXY_JERK
220
-  #define MSG_VXY_JERK                        "Vxy-jerk"
219
+#ifndef MSG_VX_JERK
220
+  #define MSG_VX_JERK                         "Vx-jerk"
221
+#endif
222
+#ifndef MSG_VY_JERK
223
+  #define MSG_VY_JERK                         "Vy-jerk"
221 224
 #endif
222 225
 #ifndef MSG_VZ_JERK
223 226
   #define MSG_VZ_JERK                         "Vz-jerk"

+ 2
- 1
Marlin/language_es.h ファイルの表示

@@ -92,7 +92,8 @@
92 92
 #define MSG_PID_D                           "PID-D"
93 93
 #define MSG_PID_C                           "PID-C"
94 94
 #define MSG_ACC                             "Aceleracion"
95
-#define MSG_VXY_JERK                        "Vxy-jerk"
95
+#define MSG_VX_JERK                         "Vx-jerk"
96
+#define MSG_VY_JERK                         "Vy-jerk"
96 97
 #define MSG_VZ_JERK                         "Vz-jerk"
97 98
 #define MSG_VE_JERK                         "Ve-jerk"
98 99
 #define MSG_VMAX                            "Vmax"

+ 2
- 1
Marlin/language_eu.h ファイルの表示

@@ -86,7 +86,8 @@
86 86
 #define MSG_PID_D                           "PID-D"
87 87
 #define MSG_PID_C                           "PID-C"
88 88
 #define MSG_ACC                             "Azelerazioa"
89
-#define MSG_VXY_JERK                        "Vxy-astindua"
89
+#define MSG_VX_JERK                         "Vx-astindua"
90
+#define MSG_VY_JERK                         "Vy-astindua"
90 91
 #define MSG_VZ_JERK                         "Vz-astindua"
91 92
 #define MSG_VE_JERK                         "Ve-astindua"
92 93
 #define MSG_VMAX                            "Vmax "

+ 2
- 1
Marlin/language_fi.h ファイルの表示

@@ -87,7 +87,8 @@
87 87
 #define MSG_PID_D                           "PID-D"
88 88
 #define MSG_PID_C                           "PID-C"
89 89
 #define MSG_ACC                             "Kiihtyv"
90
-#define MSG_VXY_JERK                        "Vxy-jerk"
90
+#define MSG_VX_JERK                         "Vx-jerk"
91
+#define MSG_VY_JERK                         "Vy-jerk"
91 92
 #define MSG_VZ_JERK                         "Vz-jerk"
92 93
 #define MSG_VE_JERK                         "Ve-jerk"
93 94
 #define MSG_VMAX                            "Vmax "

+ 2
- 1
Marlin/language_fr.h ファイルの表示

@@ -94,7 +94,8 @@
94 94
 #define MSG_PID_C                           "PID-C"
95 95
 #define MSG_SELECT                          "Selectionner"
96 96
 #define MSG_ACC                             "Acceleration"
97
-#define MSG_VXY_JERK                        "Vxy-jerk"
97
+#define MSG_VX_JERK                         "Vx-jerk"
98
+#define MSG_VY_JERK                         "Vy-jerk"
98 99
 #define MSG_VZ_JERK                         "Vz-jerk"
99 100
 #define MSG_VE_JERK                         "Ve-jerk"
100 101
 #define MSG_VMAX                            "Vmax"

+ 2
- 1
Marlin/language_gl.h ファイルの表示

@@ -95,7 +95,8 @@
95 95
 #define MSG_PID_C                           "PID-C"
96 96
 #define MSG_SELECT                          "Escolla"
97 97
 #define MSG_ACC                             "Acel"
98
-#define MSG_VXY_JERK                        "Vxy-jerk"
98
+#define MSG_VX_JERK                         "Vx-jerk"
99
+#define MSG_VY_JERK                         "Vy-jerk"
99 100
 #define MSG_VZ_JERK                         "Vz-jerk"
100 101
 #define MSG_VE_JERK                         "Ve-jerk"
101 102
 #define MSG_VMAX                            "Vmax "

+ 2
- 1
Marlin/language_hr.h ファイルの表示

@@ -93,7 +93,8 @@
93 93
 #define MSG_PID_D                           "PID-D"
94 94
 #define MSG_PID_C                           "PID-C"
95 95
 #define MSG_ACC                             "Accel"
96
-#define MSG_VXY_JERK                        "Vxy-jerk"
96
+#define MSG_VX_JERK                         "Vx-jerk"
97
+#define MSG_VY_JERK                         "Vy-jerk"
97 98
 #define MSG_VZ_JERK                         "Vz-jerk"
98 99
 #define MSG_VE_JERK                         "Ve-jerk"
99 100
 #define MSG_VMAX                            "Vmax "

+ 2
- 1
Marlin/language_it.h ファイルの表示

@@ -102,7 +102,8 @@
102 102
 #define MSG_PID_C                           "PID-C"
103 103
 #define MSG_SELECT                          "Seleziona"
104 104
 #define MSG_ACC                             "Accel"
105
-#define MSG_VXY_JERK                        "Vxy-jerk"
105
+#define MSG_VX_JERK                         "Vx-jerk"
106
+#define MSG_VY_JERK                         "Vy-jerk"
106 107
 #define MSG_VZ_JERK                         "Vz-jerk"
107 108
 #define MSG_VE_JERK                         "Ve-jerk"
108 109
 #define MSG_VMAX                            "Vmax "

+ 4
- 2
Marlin/language_kana.h ファイルの表示

@@ -103,7 +103,8 @@
103 103
 #define MSG_SELECT                          "\xbe\xdd\xc0\xb8"                                                 // "センタク" ("Select")
104 104
 #if LCD_WIDTH > 19
105 105
   #define MSG_ACC                           "\xb6\xbf\xb8\xc4\xde mm/s2"                                       // "カソクド mm/s2" ("Accel")
106
-  #define MSG_VXY_JERK                      "XY\xbc\xde\xb8\x20\xd4\xb8\xc4\xde mm/s"                          // "XYジク ヤクド mm/s" ("Vxy-jerk")
106
+  #define MSG_VX_JERK                       "X\xbc\xde\xb8\x20\xd4\xb8\xc4\xde mm/s"                           // "XYジク ヤクド mm/s" ("Vx-jerk")
107
+  #define MSG_VY_JERK                       "Y\xbc\xde\xb8\x20\xd4\xb8\xc4\xde mm/s"                           // "XYジク ヤクド mm/s" ("Vy-jerk")
107 108
   #define MSG_VZ_JERK                       "Z\xbc\xde\xb8\x20\xd4\xb8\xc4\xde mm/s"                           // "Zジク ヤクド mm/s" ("Vz-jerk")
108 109
   #define MSG_VE_JERK                       "\xb4\xb8\xbd\xc4\xd9\xb0\xc0\xde\xb0\x20\xd4\xb8\xc4\xde"         // "エクストルーダー ヤクド" ("Ve-jerk")
109 110
   #define MSG_VMAX                          "\xbb\xb2\xc0\xde\xb2\xb5\xb8\xd8\xbf\xb8\xc4\xde "                // "サイダイオクリソクド " ("Vmax ")
@@ -112,7 +113,8 @@
112 113
   #define MSG_AMAX                          "\xbb\xb2\xc0\xde\xb2\xb6\xbf\xb8\xc4\xde "                        // "サイダイカソクド " ("Amax ")
113 114
 #else
114 115
   #define MSG_ACC                           "\xb6\xbf\xb8\xc4\xde"                                             // "カソクド" ("Accel")
115
-  #define MSG_VXY_JERK                      "XY\xbc\xde\xb8\x20\xd4\xb8\xc4\xde"                               // "XYジク ヤクド" ("Vxy-jerk")
116
+  #define MSG_VX_JERK                       "X\xbc\xde\xb8\x20\xd4\xb8\xc4\xde"                                // "XYジク ヤクド" ("Vx-jerk")
117
+  #define MSG_VY_JERK                       "Y\xbc\xde\xb8\x20\xd4\xb8\xc4\xde"                                // "XYジク ヤクド" ("Vy-jerk")
116 118
   #define MSG_VZ_JERK                       "Z\xbc\xde\xb8\x20\xd4\xb8\xc4\xde"                                // "Zジク ヤクド" ("Vz-jerk")
117 119
   #define MSG_VE_JERK                       "E\x20\xd4\xb8\xc4\xde"                                            // "E ヤクド" ("Ve-jerk")
118 120
   #define MSG_VMAX                          "max\xb5\xb8\xd8\xbf\xb8\xc4\xde "                                 // "maxオクリソクド" ("Vmax ")

+ 2
- 1
Marlin/language_kana_utf8.h ファイルの表示

@@ -100,7 +100,8 @@
100 100
 #define MSG_PID_C                           "PID-C"
101 101
 #define MSG_SELECT                          "センタク"                     // "Select"
102 102
 #define MSG_ACC                             "カソクド mm/s2"               // "Accel"
103
-#define MSG_VXY_JERK                        "XYジク ヤクド mm/s"            // "Vxy-jerk"
103
+#define MSG_VX_JERK                         "Xジク ヤクド mm/s"             // "Vx-jerk"
104
+#define MSG_VY_JERK                         "Yジク ヤクド mm/s"             // "Vy-jerk"
104 105
 #define MSG_VZ_JERK                         "Zジク ヤクド mm/s"             // "Vz-jerk"
105 106
 #define MSG_VE_JERK                         "エクストルーダー ヤクド"          // "Ve-jerk"
106 107
 #define MSG_VMAX                            "サイダイオクリソクド "            // "Vmax "

+ 2
- 1
Marlin/language_nl.h ファイルの表示

@@ -87,7 +87,8 @@
87 87
 #define MSG_PID_D                           "PID-D"
88 88
 #define MSG_PID_C                           "PID-C"
89 89
 #define MSG_ACC                             "Versn"
90
-#define MSG_VXY_JERK                        "Vxy-jerk"
90
+#define MSG_VX_JERK                         "Vx-jerk"
91
+#define MSG_VY_JERK                         "Vy-jerk"
91 92
 #define MSG_VZ_JERK                         "Vz-jerk"
92 93
 #define MSG_VE_JERK                         "Ve-jerk"
93 94
 #define MSG_VMAX                            "Vmax "

+ 2
- 1
Marlin/language_pl.h ファイルの表示

@@ -90,7 +90,8 @@
90 90
 #define MSG_PID_D                           "PID-D"
91 91
 #define MSG_PID_C                           "PID-C"
92 92
 #define MSG_ACC                             "Przyspieszenie"
93
-#define MSG_VXY_JERK                        "Zryw Vxy"
93
+#define MSG_VX_JERK                         "Zryw Vx"
94
+#define MSG_VY_JERK                         "Zryw Vy"
94 95
 #define MSG_VZ_JERK                         "Zryw Vz"
95 96
 #define MSG_VE_JERK                         "Zryw Ve"
96 97
 #define MSG_VMAX                            "Vmax "

+ 2
- 1
Marlin/language_pt-br.h ファイルの表示

@@ -87,7 +87,8 @@
87 87
 #define MSG_PID_D                           "PID-D"
88 88
 #define MSG_PID_C                           "PID-C"
89 89
 #define MSG_ACC                             "Acc"
90
-#define MSG_VXY_JERK                        "jogo VXY"
90
+#define MSG_VX_JERK                         "jogo VX"
91
+#define MSG_VY_JERK                         "jogo VY"
91 92
 #define MSG_VZ_JERK                         "jogo VZ"
92 93
 #define MSG_VE_JERK                         "jogo VE"
93 94
 #define MSG_VMAX                            " Vmax "

+ 2
- 1
Marlin/language_pt-br_utf8.h ファイルの表示

@@ -87,7 +87,8 @@
87 87
 #define MSG_PID_D                           "PID-D"
88 88
 #define MSG_PID_C                           "PID-C"
89 89
 #define MSG_ACC                             "Acc"
90
-#define MSG_VXY_JERK                        "jogo VXY"
90
+#define MSG_VX_JERK                         "jogo VX"
91
+#define MSG_VY_JERK                         "jogo VY"
91 92
 #define MSG_VZ_JERK                         "jogo VZ"
92 93
 #define MSG_VE_JERK                         "jogo VE"
93 94
 #define MSG_VMAX                            " Vmax "

+ 2
- 1
Marlin/language_pt.h ファイルの表示

@@ -91,7 +91,8 @@
91 91
 #define MSG_PID_D                           "PID-D"
92 92
 #define MSG_PID_C                           "PID-C"
93 93
 #define MSG_ACC                             "Acc"
94
-#define MSG_VXY_JERK                        "Vxy-jerk"
94
+#define MSG_VX_JERK                         "Vx-jerk"
95
+#define MSG_VY_JERK                         "Vy-jerk"
95 96
 #define MSG_VZ_JERK                         "Vz-jerk"
96 97
 #define MSG_VE_JERK                         "Ve-jerk"
97 98
 #define MSG_VMAX                            " Vmax "

+ 2
- 1
Marlin/language_pt_utf8.h ファイルの表示

@@ -91,7 +91,8 @@
91 91
 #define MSG_PID_D                           "PID-D"
92 92
 #define MSG_PID_C                           "PID-C"
93 93
 #define MSG_ACC                             "Acc"
94
-#define MSG_VXY_JERK                        "Vxy-jerk"
94
+#define MSG_VX_JERK                         "Vx-jerk"
95
+#define MSG_VY_JERK                         "Vy-jerk"
95 96
 #define MSG_VZ_JERK                         "Vz-jerk"
96 97
 #define MSG_VE_JERK                         "Ve-jerk"
97 98
 #define MSG_VMAX                            " Vmax "

+ 2
- 1
Marlin/language_ru.h ファイルの表示

@@ -91,7 +91,8 @@
91 91
 #define MSG_PID_D                           "PID-D"
92 92
 #define MSG_PID_C                           "PID-C"
93 93
 #define MSG_ACC                             "Acc"
94
-#define MSG_VXY_JERK                        "Vxy-рывок"
94
+#define MSG_VX_JERK                         "Vx-рывок"
95
+#define MSG_VY_JERK                         "Vy-рывок"
95 96
 #define MSG_VZ_JERK                         "Vz-рывок"
96 97
 #define MSG_VE_JERK                         "Ve-рывок"
97 98
 #define MSG_VMAX                            "Vмакс "

+ 19
- 25
Marlin/planner.cpp ファイルの表示

@@ -93,9 +93,7 @@ float Planner::min_feedrate_mm_s,
93 93
       Planner::acceleration,         // Normal acceleration mm/s^2  DEFAULT ACCELERATION for all printing moves. M204 SXXXX
94 94
       Planner::retract_acceleration, // Retract acceleration mm/s^2 filament pull-back and push-forward while standing still in the other axes M204 TXXXX
95 95
       Planner::travel_acceleration,  // Travel acceleration mm/s^2  DEFAULT ACCELERATION for all NON printing moves. M204 MXXXX
96
-      Planner::max_xy_jerk,          // The largest speed change requiring no acceleration
97
-      Planner::max_z_jerk,
98
-      Planner::max_e_jerk,
96
+      Planner::max_jerk[XYZE],       // The largest speed change requiring no acceleration
99 97
       Planner::min_travel_feedrate_mm_s;
100 98
 
101 99
 #if HAS_ABL
@@ -1101,30 +1099,26 @@ void Planner::buffer_line(ARG_X, ARG_Y, ARG_Z, const float &e, float fr_mm_s, co
1101 1099
   #endif
1102 1100
 
1103 1101
   // Start with a safe speed
1104
-  float vmax_junction = max_xy_jerk * 0.5,
1105
-        vmax_junction_factor = 1.0,
1106
-        mz2 = max_z_jerk * 0.5,
1107
-        me2 = max_e_jerk * 0.5,
1108
-        csz = current_speed[Z_AXIS],
1109
-        cse = current_speed[E_AXIS];
1110
-  if (fabs(csz) > mz2) vmax_junction = min(vmax_junction, mz2);
1111
-  if (fabs(cse) > me2) vmax_junction = min(vmax_junction, me2);
1112
-  vmax_junction = min(vmax_junction, block->nominal_speed);
1102
+  float vmax_junction = max_jerk[X_AXIS] * 0.5, vmax_junction_factor = 1.0;
1103
+  if (max_jerk[Y_AXIS] * 0.5 < fabs(current_speed[Y_AXIS])) NOMORE(vmax_junction, max_jerk[Y_AXIS] * 0.5);
1104
+  if (max_jerk[Z_AXIS] * 0.5 < fabs(current_speed[Z_AXIS])) NOMORE(vmax_junction, max_jerk[Z_AXIS] * 0.5);
1105
+  if (max_jerk[E_AXIS] * 0.5 < fabs(current_speed[E_AXIS])) NOMORE(vmax_junction, max_jerk[E_AXIS] * 0.5);
1106
+  NOMORE(vmax_junction, block->nominal_speed);
1113 1107
   float safe_speed = vmax_junction;
1114 1108
 
1115
-  if ((moves_queued > 1) && (previous_nominal_speed > 0.0001)) {
1116
-    float dsx = current_speed[X_AXIS] - previous_speed[X_AXIS],
1117
-          dsy = current_speed[Y_AXIS] - previous_speed[Y_AXIS],
1118
-          dsz = fabs(csz - previous_speed[Z_AXIS]),
1119
-          dse = fabs(cse - previous_speed[E_AXIS]),
1120
-          jerk = HYPOT(dsx, dsy);
1109
+  if (moves_queued > 1 && previous_nominal_speed > 0.0001) {
1110
+    //if ((fabs(previous_speed[X_AXIS]) > 0.0001) || (fabs(previous_speed[Y_AXIS]) > 0.0001)) {
1111
+        vmax_junction = block->nominal_speed;
1112
+    //}
1121 1113
 
1122
-    //    if ((fabs(previous_speed[X_AXIS]) > 0.0001) || (fabs(previous_speed[Y_AXIS]) > 0.0001)) {
1123
-    vmax_junction = block->nominal_speed;
1124
-    //    }
1125
-    if (jerk > max_xy_jerk) vmax_junction_factor = max_xy_jerk / jerk;
1126
-    if (dsz > max_z_jerk) vmax_junction_factor = min(vmax_junction_factor, max_z_jerk / dsz);
1127
-    if (dse > max_e_jerk) vmax_junction_factor = min(vmax_junction_factor, max_e_jerk / dse);
1114
+    float dsx = fabs(current_speed[X_AXIS] - previous_speed[X_AXIS]),
1115
+          dsy = fabs(current_speed[Y_AXIS] - previous_speed[Y_AXIS]),
1116
+          dsz = fabs(current_speed[Z_AXIS] - previous_speed[Z_AXIS]),
1117
+          dse = fabs(current_speed[E_AXIS] - previous_speed[E_AXIS]);
1118
+    if (dsx > max_jerk[X_AXIS]) NOMORE(vmax_junction_factor, max_jerk[X_AXIS] / dsx);
1119
+    if (dsy > max_jerk[Y_AXIS]) NOMORE(vmax_junction_factor, max_jerk[Y_AXIS] / dsy);
1120
+    if (dsz > max_jerk[Z_AXIS]) NOMORE(vmax_junction_factor, max_jerk[Z_AXIS] / dsz);
1121
+    if (dse > max_jerk[E_AXIS]) NOMORE(vmax_junction_factor, max_jerk[E_AXIS] / dse);
1128 1122
 
1129 1123
     vmax_junction = min(previous_nominal_speed, vmax_junction * vmax_junction_factor); // Limit speed to max previous speed
1130 1124
   }
@@ -1173,7 +1167,7 @@ void Planner::buffer_line(ARG_X, ARG_Y, ARG_Z, const float &e, float fr_mm_s, co
1173 1167
     }
1174 1168
     else {
1175 1169
       long acc_dist = estimate_acceleration_distance(0, block->nominal_rate, block->acceleration_steps_per_s2);
1176
-      float advance = ((STEPS_PER_CUBIC_MM_E) * (EXTRUDER_ADVANCE_K)) * HYPOT(cse, EXTRUSION_AREA) * 256;
1170
+      float advance = ((STEPS_PER_CUBIC_MM_E) * (EXTRUDER_ADVANCE_K)) * HYPOT(current_speed[E_AXIS], EXTRUSION_AREA) * 256;
1177 1171
       block->advance = advance;
1178 1172
       block->advance_rate = acc_dist ? advance / (float)acc_dist : 0;
1179 1173
     }

+ 1
- 3
Marlin/planner.h ファイルの表示

@@ -132,9 +132,7 @@ class Planner {
132 132
     static float acceleration;         // Normal acceleration mm/s^2  DEFAULT ACCELERATION for all printing moves. M204 SXXXX
133 133
     static float retract_acceleration; // Retract acceleration mm/s^2 filament pull-back and push-forward while standing still in the other axes M204 TXXXX
134 134
     static float travel_acceleration;  // Travel acceleration mm/s^2  DEFAULT ACCELERATION for all NON printing moves. M204 MXXXX
135
-    static float max_xy_jerk;          // The largest speed change requiring no acceleration
136
-    static float max_z_jerk;
137
-    static float max_e_jerk;
135
+    static float max_jerk[XYZE];       // The largest speed change requiring no acceleration
138 136
     static float min_travel_feedrate_mm_s;
139 137
 
140 138
     #if HAS_ABL

+ 5
- 4
Marlin/ultralcd.cpp ファイルの表示

@@ -1812,13 +1812,14 @@ void kill_screen(const char* lcd_msg) {
1812 1812
       MENU_ITEM_EDIT(float43, MSG_BED_Z, &mbl.z_offset, -1, 1);
1813 1813
     #endif
1814 1814
     MENU_ITEM_EDIT(float5, MSG_ACC, &planner.acceleration, 10, 99000);
1815
-    MENU_ITEM_EDIT(float3, MSG_VXY_JERK, &planner.max_xy_jerk, 1, 990);
1815
+    MENU_ITEM_EDIT(float3, MSG_VX_JERK, &planner.max_jerk[X_AXIS], 1, 990);
1816
+    MENU_ITEM_EDIT(float3, MSG_VY_JERK, &planner.max_jerk[Y_AXIS], 1, 990);
1816 1817
     #if ENABLED(DELTA)
1817
-      MENU_ITEM_EDIT(float3, MSG_VZ_JERK, &planner.max_z_jerk, 1, 990);
1818
+      MENU_ITEM_EDIT(float3, MSG_VZ_JERK, &planner.max_jerk[Y_AXIS], 1, 990);
1818 1819
     #else
1819
-      MENU_ITEM_EDIT(float52, MSG_VZ_JERK, &planner.max_z_jerk, 0.1, 990);
1820
+      MENU_ITEM_EDIT(float52, MSG_VZ_JERK, &planner.max_jerk[Z_AXIS], 0.1, 990);
1820 1821
     #endif
1821
-    MENU_ITEM_EDIT(float3, MSG_VE_JERK, &planner.max_e_jerk, 1, 990);
1822
+    MENU_ITEM_EDIT(float3, MSG_VE_JERK, &planner.max_jerk[E_AXIS], 1, 990);
1822 1823
     MENU_ITEM_EDIT(float3, MSG_VMAX MSG_X, &planner.max_feedrate_mm_s[X_AXIS], 1, 999);
1823 1824
     MENU_ITEM_EDIT(float3, MSG_VMAX MSG_Y, &planner.max_feedrate_mm_s[Y_AXIS], 1, 999);
1824 1825
     MENU_ITEM_EDIT(float3, MSG_VMAX MSG_Z, &planner.max_feedrate_mm_s[Z_AXIS], 1, 999);

読み込み中…
キャンセル
保存