<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>LCD menu for dual x carriage</title>
        <description> I am building a dual x carriage 3D printer and using the Marlin firmware 1.0.x to setup.
But the lcd menu tree can only control X Y Z and one extruder E
I want to add X2 and E2 in the Menu Prepare -&amp;gt; Move Axis, so I can manually move the second carriage and extruder
So far I have looked into the Ultralcd.cpp file and add the following line:

          static void lcd_move_x2() { _lcd_move(PSTR(&quot;X2&quot;), X_AXIS, X_MIN_POS, X_MAX_POS); }

          MENU_ITEM(submenu, MSG_MOVE_X2, lcd_move_x2);

This adds another line in the lcd and shows the X2 option however it only moves the first carriage X1
I think the problem is that I should not use the X_AXIS in the code, but I dont know what command should I use.
How should I define something like  X2_AXIS so that I can control X2</description>
        <link>https://reprap.org/forum/read.php?1,777623,777623#msg-777623</link>
        <lastBuildDate>Fri, 11 Sep 2026 21:29:54 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?1,777623,835175#msg-835175</guid>
            <title>Re: LCD menu for dual x carriage</title>
            <link>https://reprap.org/forum/read.php?1,777623,835175#msg-835175</link>
            <description><![CDATA[ IDEX needs that!]]></description>
            <dc:creator>datesheet</dc:creator>
            <category>General</category>
            <pubDate>Mon, 01 Oct 2018 12:56:28 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,777623,805980#msg-805980</guid>
            <title>Re: LCD menu for dual x carriage</title>
            <link>https://reprap.org/forum/read.php?1,777623,805980#msg-805980</link>
            <description><![CDATA[ Were you able to get a solution for this?  Did you find it in another forum?]]></description>
            <dc:creator>3DLTech</dc:creator>
            <category>General</category>
            <pubDate>Wed, 17 Jan 2018 14:57:09 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,777623,777623#msg-777623</guid>
            <title>LCD menu for dual x carriage</title>
            <link>https://reprap.org/forum/read.php?1,777623,777623#msg-777623</link>
            <description><![CDATA[ I am building a dual x carriage 3D printer and using the Marlin firmware 1.0.x to setup.<br />
But the lcd menu tree can only control X Y Z and one extruder E<br />
I want to add X2 and E2 in the Menu Prepare -&gt; Move Axis, so I can manually move the second carriage and extruder<br />
So far I have looked into the Ultralcd.cpp file and add the following line:<br />
<br />
          static void lcd_move_x2() { _lcd_move(PSTR("X2"), X_AXIS, X_MIN_POS, X_MAX_POS); }<br />
<br />
          MENU_ITEM(submenu, MSG_MOVE_X2, lcd_move_x2);<br />
<br />
This adds another line in the lcd and shows the X2 option however it only moves the first carriage X1<br />
I think the problem is that I should not use the X_AXIS in the code, but I dont know what command should I use.<br />
How should I define something like  X2_AXIS so that I can control X2]]></description>
            <dc:creator>welcometotaiwan</dc:creator>
            <category>General</category>
            <pubDate>Tue, 11 Jul 2017 22:51:28 -0400</pubDate>
        </item>
    </channel>
</rss>
