<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Z Home at X=100 Y=100</title>
        <description> I would like to home the Z axis of my Prusa i3 printer with the nozzle in the middle of the bed.  The printer is running Marlin firmware.
Any suggestion on where and what code to change, please?</description>
        <link>https://reprap.org/forum/read.php?4,551896,551896#msg-551896</link>
        <lastBuildDate>Fri, 17 Jul 2026 04:18:09 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?4,551896,553076#msg-553076</guid>
            <title>Re: Z Home at X=100 Y=100</title>
            <link>https://reprap.org/forum/read.php?4,551896,553076#msg-553076</link>
            <description><![CDATA[ You can save the above gcode in a file and put it on the sd card. I don't know why you don't just add it to the start gcode in the slicer for every job. That would make it redundant in the menu.<br />
I don't know exactly but if you know a little about c coding I gues you can take these steps:<br />
- Add a menu entry, see the appropriate file and duplicate one item and make it point to your function<br />
- create a function and put the gcode into the buffer and send it to the gcode processor, or find out how the other functions do it and copy and change the code<br />
- recomplie and program the arduino<br />
<br />
You could ask this in the marlin github, the devs there will definitely know how to do it. It may be useful to be able to add menu items executing custom gcode.]]></description>
            <dc:creator>imqqmi</dc:creator>
            <category>Reprappers</category>
            <pubDate>Wed, 02 Sep 2015 12:55:28 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?4,551896,553026#msg-553026</guid>
            <title>Re: Z Home at X=100 Y=100</title>
            <link>https://reprap.org/forum/read.php?4,551896,553026#msg-553026</link>
            <description><![CDATA[ Thanks, all for the G code solutions.  <br />
<br />
What I guess I was not clear on is I would like to add this to the Marlin 'Auto Home' function under the Prepare menu.  I run this printer almost exclusively using the SD card.<br />
<br />
Thanks again,<br />
Paul]]></description>
            <dc:creator>Paul McCoy</dc:creator>
            <category>Reprappers</category>
            <pubDate>Wed, 02 Sep 2015 09:58:46 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?4,551896,552766#msg-552766</guid>
            <title>Re: Z Home at X=100 Y=100</title>
            <link>https://reprap.org/forum/read.php?4,551896,552766#msg-552766</link>
            <description><![CDATA[ ... you can combine the XY-moves - the difference is the diagonal move to the center:<br />
<br />
G28 X Y<br />
G1 X100 Y100<br />
<br />
To get this running in Pronterface I'm writing the lines into a macro and add a custom button with a spelling name ...]]></description>
            <dc:creator>VDX</dc:creator>
            <category>Reprappers</category>
            <pubDate>Tue, 01 Sep 2015 16:38:16 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?4,551896,552762#msg-552762</guid>
            <title>Re: Z Home at X=100 Y=100</title>
            <link>https://reprap.org/forum/read.php?4,551896,552762#msg-552762</link>
            <description><![CDATA[ Just break them down in single actions. G28 with an x y or z parameter homes the given axis only. G30 homes z at current xy position. G28 Z should also work if it's done within the time out period. You can find the gcode reference on reprap.org.<br />
<br />
G28 X<br />
G1 X100<br />
G28 Y<br />
G1 Y100<br />
G30<br />
<br />
That should do the trick.]]></description>
            <dc:creator>imqqmi</dc:creator>
            <category>Reprappers</category>
            <pubDate>Tue, 01 Sep 2015 16:29:02 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?4,551896,552448#msg-552448</guid>
            <title>Re: Z Home at X=100 Y=100</title>
            <link>https://reprap.org/forum/read.php?4,551896,552448#msg-552448</link>
            <description><![CDATA[ Hi,<br />
<br />
G30 P(1-4) ?<br />
<br />
++JM]]></description>
            <dc:creator>J-Max</dc:creator>
            <category>Reprappers</category>
            <pubDate>Tue, 01 Sep 2015 04:52:35 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?4,551896,552153#msg-552153</guid>
            <title>Re: Z Home at X=100 Y=100</title>
            <link>https://reprap.org/forum/read.php?4,551896,552153#msg-552153</link>
            <description><![CDATA[ Hi imqqmi,<br />
<br />
I have Z_SAFE_HOMING set already...what I would like to do is:<br />
1. Home X axis<br />
2. Move X axis to 100mm<br />
3. Home Y axis<br />
4. Move Y axis to 100mm<br />
5. Home Z axis<br />
<br />
Inserting the 2 moves is the challenge for me.  What commands and where to insert them.<br />
<br />
Thanks,<br />
Paul]]></description>
            <dc:creator>Paul McCoy</dc:creator>
            <category>Reprappers</category>
            <pubDate>Mon, 31 Aug 2015 11:51:09 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?4,551896,552128#msg-552128</guid>
            <title>Re: Z Home at X=100 Y=100</title>
            <link>https://reprap.org/forum/read.php?4,551896,552128#msg-552128</link>
            <description><![CDATA[ You can enable safe homing:<br />
<br />
 #define Z_SAFE_HOMING<br />
<br />
This will require you to home x and y first, and they must not time out or it will not home. Generally you can use G28 to home all axes at once.<br />
See comments in configuration.h.]]></description>
            <dc:creator>imqqmi</dc:creator>
            <category>Reprappers</category>
            <pubDate>Mon, 31 Aug 2015 10:59:45 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?4,551896,551896#msg-551896</guid>
            <title>Z Home at X=100 Y=100</title>
            <link>https://reprap.org/forum/read.php?4,551896,551896#msg-551896</link>
            <description><![CDATA[ I would like to home the Z axis of my Prusa i3 printer with the nozzle in the middle of the bed.  The printer is running Marlin firmware.<br />
Any suggestion on where and what code to change, please?]]></description>
            <dc:creator>Paul McCoy</dc:creator>
            <category>Reprappers</category>
            <pubDate>Sun, 30 Aug 2015 18:30:45 -0400</pubDate>
        </item>
    </channel>
</rss>
