Browse Source

Cleanup M600 documentation comments

Scott Lahteine 10 years ago
parent
commit
fb16a83b8a
1 changed files with 11 additions and 1 deletions
  1. 11
    1
      Marlin/Marlin_main.cpp

+ 11
- 1
Marlin/Marlin_main.cpp View File

4887
 #ifdef FILAMENTCHANGEENABLE
4887
 #ifdef FILAMENTCHANGEENABLE
4888
 
4888
 
4889
   /**
4889
   /**
4890
-   * M600: Pause for filament change X[pos] Y[pos] Z[relative lift] E[initial retract] L[later retract distance for removal]
4890
+   * M600: Pause for filament change
4891
+   *
4892
+   *  E[distance] - Retract the filament this far (negative value)
4893
+   *  Z[distance] - Move the Z axis by this distance
4894
+   *  X[position] - Move to this X position, with Y
4895
+   *  Y[position] - Move to this Y position, with X
4896
+   *  L[distance] - Retract distance for removal (manual reload)
4897
+   *
4898
+   *  Default values are used for omitted arguments.
4899
+   *
4891
    */
4900
    */
4892
   inline void gcode_M600() {
4901
   inline void gcode_M600() {
4893
 
4902
 
4987
     lcd_reset_alert_level();
4996
     lcd_reset_alert_level();
4988
 
4997
 
4989
     #ifdef DELTA
4998
     #ifdef DELTA
4999
+      // Move XYZ to starting position, then E
4990
       calculate_delta(lastpos);
5000
       calculate_delta(lastpos);
4991
       plan_buffer_line(delta[X_AXIS], delta[Y_AXIS], delta[Z_AXIS], destination[E_AXIS], fr60, active_extruder);
5001
       plan_buffer_line(delta[X_AXIS], delta[Y_AXIS], delta[Z_AXIS], destination[E_AXIS], fr60, active_extruder);
4992
       plan_buffer_line(delta[X_AXIS], delta[Y_AXIS], delta[Z_AXIS], lastpos[E_AXIS], fr60, active_extruder);
5002
       plan_buffer_line(delta[X_AXIS], delta[Y_AXIS], delta[Z_AXIS], lastpos[E_AXIS], fr60, active_extruder);

Loading…
Cancel
Save