Pārlūkot izejas kodu

Some documentation updates

Scott Lahteine 6 gadus atpakaļ
vecāks
revīzija
fc52c43a26
2 mainītis faili ar 21 papildinājumiem un 14 dzēšanām
  1. 1
    1
      Marlin/src/gcode/feature/L6470/M916-918.cpp
  2. 20
    13
      Marlin/src/gcode/gcode.h

+ 1
- 1
Marlin/src/gcode/feature/L6470/M916-918.cpp Parādīt failu

@@ -34,7 +34,7 @@
34 34
 
35 35
 /**
36 36
  *
37
- * M916: increase KVAL_HOLD until get thermal warning
37
+ * M916: Increase KVAL_HOLD until thermal warning
38 38
  *
39 39
  *
40 40
  * J - select which driver(s) to monitor on multi-driver axis

+ 20
- 13
Marlin/src/gcode/gcode.h Parādīt failu

@@ -103,6 +103,7 @@
103 103
  * M42  - Change pin status via gcode: M42 P<pin> S<value>. LED pin assumed if P is omitted.
104 104
  * M43  - Display pin status, watch pins for changes, watch endstops & toggle LED, Z servo probe test, toggle pins
105 105
  * M48  - Measure Z Probe repeatability: M48 P<points> X<pos> Y<pos> V<level> E<engage> L<legs> S<chizoid>. (Requires Z_MIN_PROBE_REPEATABILITY_TEST)
106
+ * M73  - Set the progress percentage. (Requires LCD_SET_PROGRESS_MANUALLY)
106 107
  * M75  - Start the print job timer.
107 108
  * M76  - Pause the print job timer.
108 109
  * M77  - Stop the print job timer.
@@ -121,8 +122,8 @@
121 122
  * M106 - Set print fan speed.
122 123
  * M107 - Print fan off.
123 124
  * M108 - Break out of heating loops (M109, M190, M303). With no controller, breaks out of M0/M1. (Requires EMERGENCY_PARSER)
124
- * M109 - Sxxx Wait for extruder current temp to reach target temp. Waits only when heating
125
- *        Rxxx Wait for extruder current temp to reach target temp. Waits when heating and cooling
125
+ * M109 - S<temp> Wait for extruder current temp to reach target temp. ** Wait only when heating! **
126
+ *        R<temp> Wait for extruder current temp to reach target temp. ** Wait for heating or cooling. **
126 127
  *        If AUTOTEMP is enabled, S<mintemp> B<maxtemp> F<factor>. Exit autotemp by any M109 without F
127 128
  * M110 - Set the current line number. (Used by host printing)
128 129
  * M111 - Set debug flags: "M111 S<flagbits>". See flag bits defined in enum.h.
@@ -135,13 +136,14 @@
135 136
  * M119 - Report endstops status.
136 137
  * M120 - Enable endstops detection.
137 138
  * M121 - Disable endstops detection.
138
- * M122 - Debug stepper (Requires at least one _DRIVER_TYPE defined as TMC2130/TMC2208/TMC2660)
139
+ * M122 - Debug stepper (Requires at least one _DRIVER_TYPE defined as TMC2130/TMC2208/TMC2660 or L6470)
139 140
  * M125 - Save current position and move to filament change position. (Requires PARK_HEAD_ON_PAUSE)
140 141
  * M126 - Solenoid Air Valve Open. (Requires BARICUDA)
141 142
  * M127 - Solenoid Air Valve Closed. (Requires BARICUDA)
142 143
  * M128 - EtoP Open. (Requires BARICUDA)
143 144
  * M129 - EtoP Closed. (Requires BARICUDA)
144 145
  * M140 - Set bed target temp. S<temp>
146
+ * M141 - Set heated chamber target temp. S<temp> (Requires a chamber heater)
145 147
  * M145 - Set heatup values for materials on the LCD. H<hotend> B<bed> F<fan speed> for S<material> (0=PLA, 1=ABS)
146 148
  * M149 - Set temperature units. (Requires TEMPERATURE_UNITS_SUPPORT)
147 149
  * M150 - Set Status LED Color as R<red> U<green> B<blue> P<bright>. Values 0-255. (Requires BLINKM, RGB_LED, RGBW_LED, NEOPIXEL_LED, PCA9533, or PCA9632).
@@ -150,8 +152,8 @@
150 152
  * M164 - Commit the mix and save to a virtual tool (current, or as specified by 'S'). (Requires MIXING_EXTRUDER)
151 153
  * M165 - Set the mix for the mixing extruder (and current virtual tool) with parameters ABCDHI. (Requires MIXING_EXTRUDER and DIRECT_MIXING_IN_G1)
152 154
  * M166 - Set the Gradient Mix for the mixing extruder. (Requires GRADIENT_MIX)
153
- * M190 - Sxxx Wait for bed current temp to reach target temp. ** Waits only when heating! **
154
- *        Rxxx Wait for bed current temp to reach target temp. ** Waits for heating or cooling. **
155
+ * M190 - S<temp> Wait for bed current temp to reach target temp. ** Wait only when heating! **
156
+ *        R<temp> Wait for bed current temp to reach target temp. ** Wait for heating or cooling. **
155 157
  * M200 - Set filament diameter, D<diameter>, setting E axis units to cubic. (Use S0 to revert to linear units.)
156 158
  * M201 - Set max acceleration in units/s^2 for print moves: "M201 X<accel> Y<accel> Z<accel> E<accel>"
157 159
  * M202 - Set max acceleration in units/s^2 for travel moves: "M202 X<accel> Y<accel> Z<accel> E<accel>" ** UNUSED IN MARLIN! **
@@ -210,9 +212,10 @@
210 212
  * M501 - Restore parameters from EEPROM. (Requires EEPROM_SETTINGS)
211 213
  * M502 - Revert to the default "factory settings". ** Does not write them to EEPROM! **
212 214
  * M503 - Print the current settings (in memory): "M503 S<verbose>". S0 specifies compact output.
215
+ * M504 - Validate EEPROM contents. (Requires EEPROM_SETTINGS)
213 216
  * M524 - Abort the current SD print job (started with M24)
214 217
  * M540 - Enable/disable SD card abort on endstop hit: "M540 S<state>". (Requires ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED)
215
- * M569 - Enable stealthChop on an axis. (Requires at least one #_X_DRIVER_TYPE to be TMC2130 or TMC2208)
218
+ * M569 - Enable stealthChop on an axis. (Requires at least one _DRIVER_TYPE to be TMC2130 or TMC2208)
216 219
  * M600 - Pause for filament change: "M600 X<pos> Y<pos> Z<raise> E<first_retract> L<later_retract>". (Requires ADVANCED_PAUSE_FEATURE)
217 220
  * M603 - Configure filament change: "M603 T<tool> U<unload_length> L<load_length>". (Requires ADVANCED_PAUSE_FEATURE)
218 221
  * M605 - Set Dual X-Carriage movement mode: "M605 S<mode> [X<x_offset>] [R<temp_offset>]". (Requires DUAL_X_CARRIAGE)
@@ -233,8 +236,9 @@
233 236
  * M867 - Enable/disable or toggle error correction for position encoder modules.
234 237
  * M868 - Report or set position encoder module error correction threshold.
235 238
  * M869 - Report position encoder module error.
239
+ * M876 - Handle Prompt Response. (Requires HOST_PROMPT_SUPPORT and not EMERGENCY_PARSER)
236 240
  * M900 - Get or Set Linear Advance K-factor. (Requires LIN_ADVANCE)
237
- * M906 - Set or get motor current in milliamps using axis codes X, Y, Z, E. Report values if no axis codes given. (Requires at least one _DRIVER_TYPE defined as TMC2130/TMC2208/TMC2660)
241
+ * M906 - Set or get motor current in milliamps using axis codes X, Y, Z, E. Report values if no axis codes given. (Requires at least one _DRIVER_TYPE defined as TMC2130/TMC2208/TMC2660 or L6470)
238 242
  * M907 - Set digital trimpot motor current using axis codes. (Requires a board with digital trimpots)
239 243
  * M908 - Control digital trimpot directly. (Requires DAC_STEPPER_CURRENT or DIGIPOTSS_PIN)
240 244
  * M909 - Print digipot/DAC current value. (Requires DAC_STEPPER_CURRENT)
@@ -243,9 +247,11 @@
243 247
  * M912 - Clear stepper driver overtemperature pre-warn condition flag. (Requires at least one _DRIVER_TYPE defined as TMC2130/TMC2208/TMC2660)
244 248
  * M913 - Set HYBRID_THRESHOLD speed. (Requires HYBRID_THRESHOLD)
245 249
  * M914 - Set StallGuard sensitivity. (Requires SENSORLESS_HOMING or SENSORLESS_PROBING)
246
- * M917 - L6470 tuning: Find minimum current thresholds
247
- * M918 - L6470 tuning: Increase speed until max or error
250
+ * M916 - L6470 tuning: Increase KVAL_HOLD until thermal warning. (Requires at least one _DRIVER_TYPE L6470)
251
+ * M917 - L6470 tuning: Find minimum current thresholds. (Requires at least one _DRIVER_TYPE L6470)
252
+ * M918 - L6470 tuning: Increase speed until max or error. (Requires at least one _DRIVER_TYPE L6470)
248 253
  * M951 - Set Magnetic Parking Extruder parameters. (Requires MAGNETIC_PARKING_EXTRUDER)
254
+ * M7219 - Control Max7219 Matrix LEDs. (Requires MAX7219_GCODE)
249 255
  *
250 256
  * M360 - SCARA calibration: Move to cal-position ThetaA (0 deg calibration)
251 257
  * M361 - SCARA calibration: Move to cal-position ThetaB (90 deg calibration - steps per degree)
@@ -254,6 +260,7 @@
254 260
  * M364 - SCARA calibration: Move to cal-position PSIC (90 deg to Theta calibration position)
255 261
  *
256 262
  * ************ Custom codes - This can change to suit future G-code regulations
263
+ * G425 - Calibrate using a conductive object. (Requires CALIBRATION_GCODE)
257 264
  * M928 - Start SD logging: "M928 filename.gco". Stop with M29. (Requires SDSUPPORT)
258 265
  * M997 - Perform in-application firmware update
259 266
  * M999 - Restart after being stopped by error
@@ -788,10 +795,6 @@ private:
788 795
     static void M702();
789 796
   #endif
790 797
 
791
-  #if ENABLED(MAX7219_GCODE)
792
-    static void M7219();
793
-  #endif
794
-
795 798
   #if ENABLED(GCODE_MACROS)
796 799
     static void M810_819();
797 800
   #endif
@@ -877,6 +880,10 @@ private:
877 880
     static void M1000();
878 881
   #endif
879 882
 
883
+  #if ENABLED(MAX7219_GCODE)
884
+    static void M7219();
885
+  #endif
886
+
880 887
   static void T(const uint8_t tool_index);
881 888
 
882 889
 };

Notiek ielāde…
Atcelt
Saglabāt