<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>What is the first file called when Marlin begins printing?</title>
        <description> I am trying to modify ttsalo&#039;s fork of Marlin that is used for SCARA printers. The program begins by homing each axis like this:

G21 ; set units to millimeters
M107

G28
G92 X0 Y0 Z0
G1 Z5 F5000

G90 ; use absolute coordinates
G92 E0
M82 ; use absolute distances for extrusion
G1 F1800.000 E-1.00000
G92 E0
G1 Z0.300 F1800.000
G1 X79.507 Y77.641 F1800.000
G1 E1.00000 F1800.000

However once the homing is complete, the X axis rotates, then the extruder waits to heat up and then the print begins. My question is which part of Marlin governs this initial movement?</description>
        <link>https://reprap.org/forum/read.php?147,490295,490295#msg-490295</link>
        <lastBuildDate>Wed, 22 Apr 2026 14:06:49 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?147,490295,490317#msg-490317</guid>
            <title>Re: What is the first file called when Marlin begins printing?</title>
            <link>https://reprap.org/forum/read.php?147,490295,490317#msg-490317</link>
            <description><![CDATA[ I think it has something to do with the G92 command.]]></description>
            <dc:creator>Evil Monkey</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Sun, 29 Mar 2015 21:25:28 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,490295,490312#msg-490312</guid>
            <title>Re: What is the first file called when Marlin begins printing?</title>
            <link>https://reprap.org/forum/read.php?147,490295,490312#msg-490312</link>
            <description><![CDATA[ Do you mean Marlin_main.cpp? I've been digging around in there but can't seem to find what is causing this.]]></description>
            <dc:creator>Evil Monkey</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Sun, 29 Mar 2015 20:54:44 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,490295,490311#msg-490311</guid>
            <title>Re: What is the first file called when Marlin begins printing?</title>
            <link>https://reprap.org/forum/read.php?147,490295,490311#msg-490311</link>
            <description><![CDATA[ Take a look at Marlin.cpp, that is where the G-code is interpreted.]]></description>
            <dc:creator>AndrewBCN</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Sun, 29 Mar 2015 20:45:52 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,490295,490308#msg-490308</guid>
            <title>Re: What is the first file called when Marlin begins printing?</title>
            <link>https://reprap.org/forum/read.php?147,490295,490308#msg-490308</link>
            <description><![CDATA[ Something else is going on because x and y home, then the x arm swings over, the z axis then drops 5 mm, this code has the hot end heating portion deleted but normal it would wait until the hot end heated up, then the z axis raises to 0.3 mm spacing from the hot end and the x arm swings the hot end to the center of the bed. Something else must be going on, some programed routine is causing this.<br />
<br />
Its occurring right here:<br />
<br />
G28<br />
G92 X0 Y0 Z0<br />
<br />
????????????<br />
<br />
G1 Z5 F5000]]></description>
            <dc:creator>Evil Monkey</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Sun, 29 Mar 2015 20:16:57 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,490295,490305#msg-490305</guid>
            <title>Re: What is the first file called when Marlin begins printing?</title>
            <link>https://reprap.org/forum/read.php?147,490295,490305#msg-490305</link>
            <description><![CDATA[ It's not marlin at all.  Marlin just executes the G Code it's given.  <br />
<br />
For what you are looking for, I think you want to look at the start G Code that is inserted by your slicer.]]></description>
            <dc:creator>jbernardis</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Sun, 29 Mar 2015 19:51:36 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,490295,490295#msg-490295</guid>
            <title>What is the first file called when Marlin begins printing?</title>
            <link>https://reprap.org/forum/read.php?147,490295,490295#msg-490295</link>
            <description><![CDATA[ I am trying to modify ttsalo's fork of Marlin that is used for SCARA printers. The program begins by homing each axis like this:<br />
<br />
G21 ; set units to millimeters<br />
M107<br />
<br />
G28<br />
G92 X0 Y0 Z0<br />
G1 Z5 F5000<br />
<br />
G90 ; use absolute coordinates<br />
G92 E0<br />
M82 ; use absolute distances for extrusion<br />
G1 F1800.000 E-1.00000<br />
G92 E0<br />
G1 Z0.300 F1800.000<br />
G1 X79.507 Y77.641 F1800.000<br />
G1 E1.00000 F1800.000<br />
<br />
However once the homing is complete, the X axis rotates, then the extruder waits to heat up and then the print begins. My question is which part of Marlin governs this initial movement?]]></description>
            <dc:creator>Evil Monkey</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Sun, 29 Mar 2015 19:08:38 -0400</pubDate>
        </item>
    </channel>
</rss>
