<p>There is no "standard" g-code, especially for the auxiliary functions of calibration, and even more so for the calibration of delta-class printers.  I find that the Reprap Wiki includes a fairly comprehensive list: <a href="http://reprap.org/wiki/RepRap_Firmware_G-Codes" rel="nofollow noreferrer">http://reprap.org/wiki/RepRap_Firmware_G-Codes</a> and <a href="http://reprap.org/wiki/G-code" rel="nofollow noreferrer">http://reprap.org/wiki/G-code</a>.  These lists address the RepRap firmware, although they include some g-code functions which are specific to other types of applications.</p>

<p>If the Monoprice Delta firmware is based on the RepRap firmware, the lists might be helpful, although detailed documention from Monoprice would be the best reference.</p>

<p>Assuming there is no available or known g-code to adjust this, you work from the hypothesis that your three switches are not responding identically.  If possible, use a micrometer to measure the difference between the "idle" position of the bed and the point where the switch actuates.  It could be that the front switch requires more travel before actuation, which would then cause the leveling calculation to have a lower point for the front switch.  In the alternative to measuring, it may be possible to exchange the front switch with a rear/side switch and see if the problem moves.</p>

<p>Delta machines are more difficult to calibrate because everything interacts.  The three actuator delta machine is a simplification of a more complex 6-axis Stewart platform.  As I see it, a delta machine is a 6-actuator machine in which pairs of actuators operate "identically", except that minor variations cause unexpected positioning errors.  Sometimes these are modeled as a bowl shape with positive or negative curvature, although measurements I've made on my home-brew delta show an error that looks more like a carpet in a high wind.  Some factors improve the design, such as longer actuator arm pairs and smaller build diameter, which may help you with the Monoprice.</p>

CC BY-SA 3.0
2017-08-21T21:00:02.420Z
2017-08-21T21:00:02.420Z
cmm
<p>On my Monoprice Delta Mini, auto-leveling is performed based on three pushbuttons, on which the printer platform rests: The nozzle moves downwards until one of the buttons detects being pushed down. Using the <code>G29</code> G-code, this is performed automatically at three points close to the locations of these sensor buttons.</p>
<p>However, even after this calibration, the printer expects the platform at one of the test points to be lower than it actually is. Thus, when printing close to the front right sensor button, the printer &quot;smears&quot; the plastic onto the platform. At the other locations, the printing works fine. Therefore, I cannot simply adjust the overall Z-distance. (Multi-point auto-leveling gives even worse results since the platform tilts during the probing.)</p>
<p>Is there a G-code-based option to modify the Z-height of just one of the calibration points of the auto-leveling?</p>
<p>Edit: The bad leveling seems to be a common problem of this printer:</p>
<p><a href="https://www.reddit.com/r/mpminidelta/comments/73xcxg/leveling_doesnt_seem_right/" rel="nofollow noreferrer">https://www.reddit.com/r/mpminidelta/comments/73xcxg/leveling_doesnt_seem_right/</a></p>
<p><a href="https://www.reddit.com/r/mpminidelta/comments/6tqe7f/follow_up_on_bed_leveling_issue/" rel="nofollow noreferrer">https://www.reddit.com/r/mpminidelta/comments/6tqe7f/follow_up_on_bed_leveling_issue/</a></p>
<p>Till now, nobody seems to have a solution.</p>

<g-code><delta><monoprice-mini-delta>
Single point Z-correction after 3-point auto-leveling
Jan
# Single point Z-correction after 3-point auto-leveling

(Asked by: username_0 on 2017-08-21)

On my Monoprice Delta Mini, auto-leveling is performed based on three pushbuttons, on which the printer platform rests: The nozzle moves downwards until one of the buttons detects being pushed down. Using the `G29` G-code, this is performed automatically at three points close to the locations of these sensor buttons.

However, even after this calibration, the printer expects the platform at one of the test points to be lower than it actually is. Thus, when printing close to the front right sensor button, the printer "smears" the plastic onto the platform. At the other locations, the printing works fine. Therefore, I cannot simply adjust the overall Z-distance. (Multi-point auto-leveling gives even worse results since the platform tilts during the probing.)

Is there a G-code-based option to modify the Z-height of just one of the calibration points of the auto-leveling?

Edit: The bad leveling seems to be a common problem of this printer:

<https://www.reddit.com/r/mpminidelta/comments/73xcxg/leveling_doesnt_seem_right/>

<https://www.reddit.com/r/mpminidelta/comments/6tqe7f/follow_up_on_bed_leveling_issue/>

Till now, nobody seems to have a solution.

**Tags:** g-code, delta, monoprice-mini-delta

---

## 1 answers

### Answer by username_1 on 2017-08-21. Score: 2

There is no "standard" g-code, especially for the auxiliary functions of calibration, and even more so for the calibration of delta-class printers. I find that the Reprap Wiki includes a fairly comprehensive list: <http://reprap.org/wiki/RepRap_Firmware_G-Codes> and <http://reprap.org/wiki/G-code>. These lists address the RepRap firmware, although they include some g-code functions which are specific to other types of applications.

If the Monoprice Delta firmware is based on the RepRap firmware, the lists might be helpful, although detailed documention from Monoprice would be the best reference.

Assuming there is no available or known g-code to adjust this, you work from the hypothesis that your three switches are not responding identically. If possible, use a micrometer to measure the difference between the "idle" position of the bed and the point where the switch actuates. It could be that the front switch requires more travel before actuation, which would then cause the leveling calculation to have a lower point for the front switch. In the alternative to measuring, it may be possible to exchange the front switch with a rear/side switch and see if the problem moves.

Delta machines are more difficult to calibrate because everything interacts. The three actuator delta machine is a simplification of a more complex 6-axis Stewart platform. As I see it, a delta machine is a 6-actuator machine in which pairs of actuators operate "identically", except that minor variations cause unexpected positioning errors. Sometimes these are modeled as a bowl shape with positive or negative curvature, although measurements I've made on my home-brew delta show an error that looks more like a carpet in a high wind. Some factors improve the design, such as longer actuator arm pairs and smaller build diameter, which may help you with the Monoprice.


---

