Browse Source

More G codes documented in RR wiki
M44, M45, M47, M403, M509, M851, M601, M602, M603, M862

3d-gussner 5 years ago
parent
commit
84cb373905
1 changed files with 17 additions and 14 deletions
  1. 17 14
      Firmware/Marlin_main.cpp

+ 17 - 14
Firmware/Marlin_main.cpp

@@ -5739,7 +5739,7 @@ if(eSoundMode!=e_SOUND_MODE_SILENT)
 
 
     /*!
-	### M44 - Reset the bed skew and offset calibration<a href="https://reprap.org/wiki/G-code#G32:_Undock_Z_Probe_sled">M44: Reset the bed skew and offset calibration</a>
+	### M44 - Reset the bed skew and offset calibration <a href="https://reprap.org/wiki/G-code#M44:_Reset_the_bed_skew_and_offset_calibration">M44: Reset the bed skew and offset calibration</a>
     */ --------------------------------------------------------------------
     case 44: // M44: Prusa3D: Reset the bed skew and offset calibration.
 
@@ -5756,9 +5756,9 @@ if(eSoundMode!=e_SOUND_MODE_SILENT)
         break;
 
     /*!
-	### M45 - Bed skew and offset with manual Z up<a href="https://reprap.org/wiki/G-code#G32:_Undock_Z_Probe_sled">M45: Bed skew and offset with manual Z up</a>
+	### M45 - Bed skew and offset with manual Z up <a href="https://reprap.org/wiki/G-code#M45:_Bed_skew_and_offset_with_manual_Z_up">M45: Bed skew and offset with manual Z up</a>
 	  
-	    G80 [ V ]
+	    M45 [ V ]
 	  - `V` - Verbosity level 1, 10 and 20 (low, mid, high). Only when SUPPORT_VERBOSITY is defined.
     */ ------------------------------------------------------
     case 45: // M45: Prusa3D: bed skew and offset with manual Z up
@@ -5777,8 +5777,11 @@ if(eSoundMode!=e_SOUND_MODE_SILENT)
     }
 	break;
 
+    /*!
+	### M46 - Show the assigned IP address <a href="https://reprap.org/wiki/G-code#M46:_Show_the_assigned_IP_address">M46: Show the assigned IP address.</a>
+    */ ---------------------------------------------------- 
     /*
-    case 46:
+     case 46:
     {
         // M46: Prusa3D: Show the assigned IP address.
         uint8_t ip[4];
@@ -5801,7 +5804,7 @@ if(eSoundMode!=e_SOUND_MODE_SILENT)
     */
 
     /*!
-	### M47 - Show end stops dialog on the display<a href="https://reprap.org/wiki/G-code#G32:_Undock_Z_Probe_sled">M47: Show end stops dialog on the display</a>
+	### M47 - Show end stops dialog on the display <a href="https://reprap.org/wiki/G-code#M47:_Show_end_stops_dialog_on_the_display">M47: Show end stops dialog on the display</a>
     */ ---------------------------------------------------- 
     case 47:
         
@@ -5851,7 +5854,7 @@ if(eSoundMode!=e_SOUND_MODE_SILENT)
 #ifdef Z_PROBE_REPEATABILITY_TEST 
 
     /*!
-	### M48 - Z-Probe repeatability measurement function. <a href="https://reprap.org/wiki/G-code#M48:_Measure_Z-Probe_repeatability">M48: Measure Z-Probe repeatability</a>
+	### M48 - Z-Probe repeatability measurement function <a href="https://reprap.org/wiki/G-code#M48:_Measure_Z-Probe_repeatability">M48: Measure Z-Probe repeatability</a>
     
      This function assumes the bed has been homed.  Specifically, that a G28 command as been issued prior to invoking the M48 Z-Probe repeatability measurement function. Any information generated by a prior G29 Bed leveling command will be lost and need to be regenerated.
      
@@ -7485,7 +7488,7 @@ Sigma_Exit:
     break;
 
     /*!
-	### M403 - Set filament type (material) for particular extruder and notify the MMU <a href="https://reprap.org/wiki/G-code#M403:Set_filament_type_(material)_for_particular extruder_and_notify_the_MMU">M403 - Set filament type (material) for particular extruder and notify the MMU</a>
+	### M403 - Set filament type (material) for particular extruder and notify the MMU <a href="https://reprap.org/wiki/G-code#M403:_Set_filament_type_.28material.29_for_particular_extruder_and_notify_the_MMU.">M403 - Set filament type (material) for particular extruder and notify the MMU</a>
       
           M403 [ E | F ]
       
@@ -7724,7 +7727,7 @@ Sigma_Exit:
     #endif //FILAMENTCHANGEENABLE
 
     /*!
-    ### M601 - Pause print <a href="https://reprap.org/wiki/G-code#G32:_Undock_Z_Probe_sled">G32: Undock Z Probe sled</a>
+    ### M601 - Pause print <a href="https://reprap.org/wiki/G-code#M601:_Pause_print">M601: Pause print</a>
     */ -------------------------------
 	case 601:
 	{
@@ -7734,7 +7737,7 @@ Sigma_Exit:
 	break;
 
     /*!
-	### M602 - Resume print <a href="https://reprap.org/wiki/G-code#G32:_Undock_Z_Probe_sled">G32: Undock Z Probe sled</a>
+	### M602 - Resume print <a href="https://reprap.org/wiki/G-code#M602:_Resume_print">M602: Resume print</a>
     */ -------------------------------
 	case 602: {
 		lcd_resume_print();
@@ -7742,7 +7745,7 @@ Sigma_Exit:
 	break;
 
     /*!
-    ### M603 - Stop print <a href="https://reprap.org/wiki/G-code#G32:_Undock_Z_Probe_sled">G32: Undock Z Probe sled</a>
+    ### M603 - Stop print <a href="https://reprap.org/wiki/G-code#M603:_Stop_print">M603: Stop print</a>
     */ -------------------------------
     case 603: {
 		lcd_print_stop();
@@ -7889,14 +7892,14 @@ Sigma_Exit:
 #endif //PINDA_THERMISTOR
    
     /*!
-	### M862 - Print checking <a href="https://reprap.org/wiki/G-code#G32:_Undock_Z_Probe_sled">G32: Undock Z Probe sled</a>
+	### M862 - Print checking <a href="https://reprap.org/wiki/G-code#M862:_Print_checking">M862: Print checking</a>
     Checks the parameters of the printer and gcode and performs compatibility check
 	
-      - M862.1 { P<nozzle_diameter> | Q }
+      - M862.1 { P<nozzle_diameter> | Q } 0.25/0.40/0.60
       - M862.2 { P<model_code> | Q }
       - M862.3 { P"<model_name>" | Q }
       - M862.4 { P<fw_version> | Q }
-      - M862.5 { P<gcode_level> | Q }
+      - M862.5 { P<gcode_level> | Q } 0 = none, 1 = warn, 2 = strict
     
     When run with P<> argument, the check is performed against the input value.
     When run with Q argument, the current value is shown.
@@ -7920,7 +7923,7 @@ Sigma_Exit:
       - MK3         (300)
       - MK3MMU2     (20300)
       - MK3S        (302)
-      - MK3SMMU2S	(20302)
+      - MK3SMMU2S   (20302)
 	
     */ ----------------------------------------------
     case 862: // M862: print checking