<p><strong>Before the question, here is my setup;</strong>  </p>

<ul>
<li>Prusa i3 (with mainboard Mks Gen v1.2)</li>
<li>Repetier as slicer</li>
<li>Marlin source code </li>
</ul>

<p>My main task is to convert my 3D printer into a chocolate printer.
I have replaced the filament extruder with a chocolate extruder. And it is there that my issue began. Because, the new extruder is stopping slightly off the y-axis when homing. It is going out of the standard 20x20 cm bed. The other X and Z axes are OK.</p>

<p>So, I have played with the <code>#defines</code> explained below, but I couldn't even make any single mm difference by homing. They are all ignored when the printer is homing. It goes and rests on the hardware end-stops and stops there eventually.</p>

<p>All I want 10 mm offset for Y axis.</p>

<p><strong>Started with this;</strong> </p>

<pre><code>// Travel limits after homing
#define X_MAX_POS 200
#define X_MIN_POS 0
#define Y_MAX_POS 190  &lt;&lt;&lt;&lt; (tested with 190 and 210)
#define Y_MIN_POS 0
#define Z_MAX_POS 200
#define Z_MIN_POS 0
</code></pre>

<p><strong>and this;</strong></p>

<pre><code>// The position of the homing switches
#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used

//Manual homing switch locations:
// For deltabots this means top and center of the cartesian print volume.
#define MANUAL_X_HOME_POS 0
#define MANUAL_Y_HOME_POS 10 &lt;&lt;&lt; (tested with 10 or -10)
#define MANUAL_Z_HOME_POS 0
</code></pre>

<p>I have also played with the <strong>slicer tool (Repetier)</strong> settings where homing related values are mentioned but no joy there as well.</p>

<p>Any input highly appreciated.</p>

[{'answer_id': 1485, 'author': 'Lars Pötter', 'author_id': 204, 'author_profile': 'https://3dprinting.stackexchange.com/users/204', 'pm_score': 4, 'selected': True, 'text': '<p>The Y-Max setting does not help, because it is the software end stop for the  other end of the axis.</p>\n\n<p>The Y Home position also doesn\'t help as it only changes the coordinate that the printer assumes for when it hits the home position. That is used for printers (like deltas) that home to the max end switches.</p>\n\n<p>What could help is a little bit of G-Code right after the Homing. The Homing is a G28. Just add a G1Y10 after that. That will move your Y Axis 10 mm right after homing. So it will then be in the position that you want. If you then add a G92 then this position will become the home position for the print. So adding these two lines should fix it. Cura lets you edit these start G-Codes so that it then will automatically add the modified codes to all your prints.</p>\n\n<p>You can also try a G10 (with a firmware that supports it.</p>\n\n<p>For Details on G-Codes see:  <a href="http://reprap.org/wiki/Gcode" rel="noreferrer">http://reprap.org/wiki/Gcode</a></p>\n'}, {'answer_id': 1487, 'author': 'kamuro', 'author_id': 168, 'author_profile': 'https://3dprinting.stackexchange.com/users/168', 'pm_score': 2, 'selected': False, 'text': "<p>Now I've finally had time to look into this, since I knew it somehow existed, but wasn't sure how it worked:</p>\n\n<p>Use the M206 G-code command in Marlin, Sprinter, Smoothie, or RepRap Firmware to offset the 0,0,0 coordinate of your printbed relative to the endstops.</p>\n\n<p>The reprap.org wiki page says:</p>\n\n<blockquote>\n  <p>The values specified are added to the endstop position when the axes\n  are referenced. The same can be achieved with a G92 right after homing\n  (G28, G161).</p>\n  \n  <p>With Marlin firmware, this value can be saved to EEPROM using the M500\n  command.</p>\n  \n  <p>A similar command is G10, aligning these two is subject to discussion.</p>\n  \n  <p>With Marlin 1.0.0 RC2 a negative value for z lifts(!) your printhead.</p>\n</blockquote>\n\n<p>We see, this basically is the same suggested by @LarsPoetter, but it comes with the great advantage that it can be saved to EEPROM, hence you don't need to add it every time or into every different sliccer (if I understand it correctly, - I haven't yet tried it myself)</p>\n\n<p>Let us know if this works for a permanent solution.</p>\n"}]
['https://3dprinting.stackexchange.com/questions/1465', 'https://3dprinting.stackexchange.com', 'https://3dprinting.stackexchange.com/users/2355/']