Bladeren bron

Some documentation updates

Scott Lahteine 6 jaren geleden
bovenliggende
commit
fc52c43a26
2 gewijzigde bestanden met toevoegingen van 21 en 14 verwijderingen
  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 Bestand weergeven

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
  * J - select which driver(s) to monitor on multi-driver axis
40
  * J - select which driver(s) to monitor on multi-driver axis

+ 20
- 13
Marlin/src/gcode/gcode.h Bestand weergeven

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

Laden…
Annuleren
Opslaan