<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Change Marlin Z_MAX_POS with gCode ?</title>
        <description> In my Marlin config I have the setting :

#define Z_MAX_POS 300

I am extending the Z axis to 400mm temporarily for a print.

Is there a gCode that I can use to change the Z_MAX_POS to 400 without having to reflash the Arduino ?</description>
        <link>https://reprap.org/forum/read.php?1,792058,792058#msg-792058</link>
        <lastBuildDate>Fri, 11 Sep 2026 13:13:12 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?1,792058,792095#msg-792095</guid>
            <title>Re: Change Marlin Z_MAX_POS with gCode ?</title>
            <link>https://reprap.org/forum/read.php?1,792058,792095#msg-792095</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>Floyd</strong><br />
How can you temporarily grow your printer 100mm?</div></blockquote>
<br />
it's a home modified i3 design that has makerslides and threadbar on the Z axis that I can change up to the limit of the threadbar ( 900mm )]]></description>
            <dc:creator>DaveOB</dc:creator>
            <category>General</category>
            <pubDate>Fri, 13 Oct 2017 00:35:19 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,792058,792077#msg-792077</guid>
            <title>Re: Change Marlin Z_MAX_POS with gCode ?</title>
            <link>https://reprap.org/forum/read.php?1,792058,792077#msg-792077</link>
            <description><![CDATA[ There was a gcode defined to set the axis length many years ago (M208), but according to the Gcode wiki at [<a href="http://reprap.org/wiki/G-code#M208:_Set_axis_max_travel" target="_blank"  rel="nofollow">reprap.org</a>] Marlin uses M208 for a different function.]]></description>
            <dc:creator>dc42</dc:creator>
            <category>General</category>
            <pubDate>Thu, 12 Oct 2017 18:30:55 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,792058,792069#msg-792069</guid>
            <title>Re: Change Marlin Z_MAX_POS with gCode ?</title>
            <link>https://reprap.org/forum/read.php?1,792058,792069#msg-792069</link>
            <description><![CDATA[ Hi<br />
<br />
Because my Z axis at 300mm fits in my heated enclosure for ABS prints.<br />
<br />
Not very often that I want to increase the Z to 400 or 600, so prefer to change it with gCode if possible]]></description>
            <dc:creator>DaveOB</dc:creator>
            <category>General</category>
            <pubDate>Thu, 12 Oct 2017 17:01:42 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,792058,792067#msg-792067</guid>
            <title>Re: Change Marlin Z_MAX_POS with gCode ?</title>
            <link>https://reprap.org/forum/read.php?1,792058,792067#msg-792067</link>
            <description><![CDATA[ How can you temporarily grow your printer 100mm?<br />
Why not just set it at 400mm and leave it there.]]></description>
            <dc:creator>Floyd</dc:creator>
            <category>General</category>
            <pubDate>Thu, 12 Oct 2017 16:58:06 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,792058,792058#msg-792058</guid>
            <title>Change Marlin Z_MAX_POS with gCode ?</title>
            <link>https://reprap.org/forum/read.php?1,792058,792058#msg-792058</link>
            <description><![CDATA[ In my Marlin config I have the setting :<br />
<pre class="bbcode">
#define Z_MAX_POS 300</pre>
<br />
I am extending the Z axis to 400mm temporarily for a print.<br />
<br />
Is there a gCode that I can use to change the Z_MAX_POS to 400 without having to reflash the Arduino ?]]></description>
            <dc:creator>DaveOB</dc:creator>
            <category>General</category>
            <pubDate>Thu, 12 Oct 2017 16:05:43 -0400</pubDate>
        </item>
    </channel>
</rss>
