From 84cb37390570e0bc624cac83599eb64abb7f5476 Mon Sep 17 00:00:00 2001
From: 3d-gussner <3d.gussner@gmail.com>
Date: Tue, 26 Nov 2019 20:11:55 +0100
Subject: [PATCH] More G codes documented in RR wiki M44, M45, M47, M403, M509,
M851, M601, M602, M603, M862
---
Firmware/Marlin_main.cpp | 31 +++++++++++++++++--------------
1 file changed, 17 insertions(+), 14 deletions(-)
diff --git a/Firmware/Marlin_main.cpp b/Firmware/Marlin_main.cpp
index c6e9783c5..5ffb54602 100755
--- a/Firmware/Marlin_main.cpp
+++ b/Firmware/Marlin_main.cpp
@@ -5739,7 +5739,7 @@ if(eSoundMode!=e_SOUND_MODE_SILENT)
/*!
- ### M44 - Reset the bed skew and offset calibrationM44: Reset the bed skew and offset calibration
+ ### M44 - Reset the bed skew and offset calibration M44: Reset the bed skew and offset calibration
*/ --------------------------------------------------------------------
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 upM45: Bed skew and offset with manual Z up
+ ### M45 - Bed skew and offset with manual Z up M45: Bed skew and offset with manual Z up
- 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 M46: Show the assigned IP address.
+ */ ----------------------------------------------------
/*
- 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 displayM47: Show end stops dialog on the display
+ ### M47 - Show end stops dialog on the display M47: Show end stops dialog on the display
*/ ----------------------------------------------------
case 47:
@@ -5851,7 +5854,7 @@ if(eSoundMode!=e_SOUND_MODE_SILENT)
#ifdef Z_PROBE_REPEATABILITY_TEST
/*!
- ### M48 - Z-Probe repeatability measurement function. M48: Measure Z-Probe repeatability
+ ### M48 - Z-Probe repeatability measurement function M48: Measure Z-Probe repeatability
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 M403 - Set filament type (material) for particular extruder and notify the MMU
+ ### M403 - Set filament type (material) for particular extruder and notify the MMU M403 - Set filament type (material) for particular extruder and notify the MMU
M403 [ E | F ]
@@ -7724,7 +7727,7 @@ Sigma_Exit:
#endif //FILAMENTCHANGEENABLE
/*!
- ### M601 - Pause print G32: Undock Z Probe sled
+ ### M601 - Pause print M601: Pause print
*/ -------------------------------
case 601:
{
@@ -7734,7 +7737,7 @@ Sigma_Exit:
break;
/*!
- ### M602 - Resume print G32: Undock Z Probe sled
+ ### M602 - Resume print M602: Resume print
*/ -------------------------------
case 602: {
lcd_resume_print();
@@ -7742,7 +7745,7 @@ Sigma_Exit:
break;
/*!
- ### M603 - Stop print G32: Undock Z Probe sled
+ ### M603 - Stop print M603: Stop print
*/ -------------------------------
case 603: {
lcd_print_stop();
@@ -7889,14 +7892,14 @@ Sigma_Exit:
#endif //PINDA_THERMISTOR
/*!
- ### M862 - Print checking G32: Undock Z Probe sled
+ ### M862 - Print checking M862: Print checking
Checks the parameters of the printer and gcode and performs compatibility check
- - M862.1 { P | Q }
+ - M862.1 { P | Q } 0.25/0.40/0.60
- M862.2 { P | Q }
- M862.3 { P"" | Q }
- M862.4 { P | Q }
- - M862.5 { P | Q }
+ - M862.5 { P | 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