<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
               xmlns:atom="http://www.w3.org/2005/Atom"
               xmlns:dc="http://purl.org/dc/elements/1.1/"
               xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
               xmlns:admin="http://webns.net/mvcb/"
               xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
               xmlns:content="http://purl.org/rss/1.0/modules/content/">
            <channel>
                <title>
					                		G-Code to set the loaded filament type for a given tool? - How do I print this? (Printing help)                                    </title>
                <link>https://forum.prusa3d.com/forum/original-prusa-xl-tool-changer-how-do-i-print-this-printing-help/g-code-to-set-the-loaded-filament-type-for-a-given-tool/</link>
                <description>Prusa3D Forum Discussion Board</description>
                <language>en-US</language>
                <lastBuildDate>Sun, 19 Apr 2026 12:01:55 +0000</lastBuildDate>
                <generator>wpForo</generator>
                <ttl>60</ttl>
                					                    <item>
                        <title>RE: G-Code to set the loaded filament type for a given tool?</title>
                        <link>https://forum.prusa3d.com/forum/original-prusa-xl-tool-changer-how-do-i-print-this-printing-help/g-code-to-set-the-loaded-filament-type-for-a-given-tool/#post-704306</link>
                        <pubDate>Sun, 17 Mar 2024 16:41:49 +0000</pubDate>
                        <description><![CDATA[For me that sounds like moisture in the filament. Especially the &quot;puff&quot;I thought so too. The filament is dry (~11% relative humidity according to the hygrometer in the dry box I keep it in),...]]></description>
                        <content:encoded><![CDATA[<blockquote><p>For me that sounds like moisture in the filament. Especially the "puff"</p></blockquote><p>I thought so too. The filament is dry (~11% relative humidity according to the hygrometer in the dry box I keep it in), so I can only think that the moister got into the filament while it was sitting in the nozzle for a few weeks? Still odd as it is enclosed in PTFE tubing all the way between the extruder and the dry-box. At any rate, it only happens during loading and unloading, so thus far it's not been a problem during printing. 🤷</p><blockquote><p>With the increasing range of materials becoming available do we need an 'Other' option with settable load temperatures?</p></blockquote><p>Personally I would really like that. I had a read of the Prusa Buddy Firmware source code and think I found my way around it. It seems to record the filament type as an enum (i.e. an integer) and so must be one of:</p><ul><li>PLA</li><li>PETG</li><li>PETG_NH ("No heatbed")</li><li>ASA</li><li>PC</li><li>PVB</li><li>ABS</li><li>HIPS</li><li>PP</li><li>PA</li><li>FLEX</li></ul><p>(Based on my reading of https://github.com/prusa3d/Prusa-Firmware-Buddy/blob/master/src/common/filament.cpp#L11 )</p><p>So my strategy is to abuse one of the types I don't personally use, such as PA. Of course I don't want the nozzle at PA's 285ºC when I am loading allPHA, I want it at, say, 190ºC. So I've created some tiny G-Code files I can print when I want to load allPHA:</p><pre contenteditable="false">M109 S190   ; Set and wait for nozzle temperature
M701 S"PA"  ; Load to nozzle, set type to "PA"</pre><p>This is based on my reading of the <a href="https://help.prusa3d.com/article/buddy-firmware-specific-g-code-commands_633112#h5o-131" target="_blank" rel="noopener">Prusa Buddy firmware-specific G-codes</a>. I'll edit my allPHA filament profile to declare itself as "PA" as well which should keep the XL's pre-print filament type check useful to me.</p><p>Another which caught my eye was <a href="https://help.prusa3d.com/article/buddy-firmware-specific-g-code-commands_633112#h5o-165" target="_blank" rel="noopener">M1600 Change filament menu</a>, which looks like it might let me set the filament type after the fact. However when I tried it the printer initiated a filament unload procedure which I aborted, so I don't know what state it would leave things in.</p>]]></content:encoded>
                        <category domain="https://forum.prusa3d.com/forum/original-prusa-xl-tool-changer-how-do-i-print-this-printing-help/">How do I print this? (Printing help)</category>                        <dc:creator>Meerman</dc:creator>
                        <guid isPermaLink="true">https://forum.prusa3d.com/forum/original-prusa-xl-tool-changer-how-do-i-print-this-printing-help/g-code-to-set-the-loaded-filament-type-for-a-given-tool/#post-704306</guid>
                    </item>
                                        <item>
                        <title></title>
                        <link>https://forum.prusa3d.com/forum/original-prusa-xl-tool-changer-how-do-i-print-this-printing-help/g-code-to-set-the-loaded-filament-type-for-a-given-tool/#post-704294</link>
                        <pubDate>Sun, 17 Mar 2024 15:03:24 +0000</pubDate>
                        <description><![CDATA[With the increasing range of materials becoming available do we need an &#039;Other&#039; option with settable load temperatures?Thoughts?Cheerio,]]></description>
                        <content:encoded><![CDATA[<p>With the increasing range of materials becoming available do we need an 'Other' option with settable load temperatures?</p><p>Thoughts?</p><p>Cheerio,</p>]]></content:encoded>
                        <category domain="https://forum.prusa3d.com/forum/original-prusa-xl-tool-changer-how-do-i-print-this-printing-help/">How do I print this? (Printing help)</category>                        <dc:creator>Diem</dc:creator>
                        <guid isPermaLink="true">https://forum.prusa3d.com/forum/original-prusa-xl-tool-changer-how-do-i-print-this-printing-help/g-code-to-set-the-loaded-filament-type-for-a-given-tool/#post-704294</guid>
                    </item>
                                        <item>
                        <title>RE: G-Code to set the loaded filament type for a given tool?</title>
                        <link>https://forum.prusa3d.com/forum/original-prusa-xl-tool-changer-how-do-i-print-this-printing-help/g-code-to-set-the-loaded-filament-type-for-a-given-tool/#post-704290</link>
                        <pubDate>Sun, 17 Mar 2024 14:19:12 +0000</pubDate>
                        <description><![CDATA[melt it literally drips from the nozzle like it was water. Sometimes accompanied by an ugly puffFor me that sounds like moisture in the filament. Especially the &quot;puff&quot;to avoid the warning wh...]]></description>
                        <content:encoded><![CDATA[<blockquote data-userid="0" data-postid="704278" data-mention=""><p>melt it literally drips from the nozzle like it was water. Sometimes accompanied by an ugly puff</p></blockquote><p>For me that sounds like moisture in the filament. Especially the "puff"</p><blockquote data-userid="0" data-postid="704278" data-mention=""><p>to avoid the warning when I start a print that the loaded filament does not match the G-Code</p></blockquote><p>Have you made a profile based on PLA?<br />If you load it als PLA and make a filament profile for allPHA in Prusaslicer based on PLA that shouldn't be an issue. See  =&gt;  =&gt;  =&gt; .</p><p>You only get that warning if the filament type loaded doesn't match the type used in the slicer. </p>]]></content:encoded>
                        <category domain="https://forum.prusa3d.com/forum/original-prusa-xl-tool-changer-how-do-i-print-this-printing-help/">How do I print this? (Printing help)</category>                        <dc:creator>Marc</dc:creator>
                        <guid isPermaLink="true">https://forum.prusa3d.com/forum/original-prusa-xl-tool-changer-how-do-i-print-this-printing-help/g-code-to-set-the-loaded-filament-type-for-a-given-tool/#post-704290</guid>
                    </item>
                                        <item>
                        <title>RE: G-Code to set the loaded filament type for a given tool?</title>
                        <link>https://forum.prusa3d.com/forum/original-prusa-xl-tool-changer-how-do-i-print-this-printing-help/g-code-to-set-the-loaded-filament-type-for-a-given-tool/#post-704278</link>
                        <pubDate>Sun, 17 Mar 2024 12:38:36 +0000</pubDate>
                        <description><![CDATA[If the temperature is too high, the filament doesn&#039;t just melt it literally drips from the nozzle like it was water. Sometimes accompanied by an ugly puff of some sort of gas.More to the poi...]]></description>
                        <content:encoded><![CDATA[<p>If the temperature is too high, the filament doesn't just melt it literally drips from the nozzle like it was water. Sometimes accompanied by an ugly puff of some sort of gas.</p><p>More to the point, I want to avoid the warning when I start a print that the loaded filament does not match the G-Code.</p>]]></content:encoded>
                        <category domain="https://forum.prusa3d.com/forum/original-prusa-xl-tool-changer-how-do-i-print-this-printing-help/">How do I print this? (Printing help)</category>                        <dc:creator>Meerman</dc:creator>
                        <guid isPermaLink="true">https://forum.prusa3d.com/forum/original-prusa-xl-tool-changer-how-do-i-print-this-printing-help/g-code-to-set-the-loaded-filament-type-for-a-given-tool/#post-704278</guid>
                    </item>
                                        <item>
                        <title>RE:</title>
                        <link>https://forum.prusa3d.com/forum/original-prusa-xl-tool-changer-how-do-i-print-this-printing-help/g-code-to-set-the-loaded-filament-type-for-a-given-tool/#post-702428</link>
                        <pubDate>Mon, 04 Mar 2024 19:17:15 +0000</pubDate>
                        <description><![CDATA[I don&#039;t think there&#039;s a way to change the onscreen menu without recompiling the firmware. But I don&#039;t see why that particular filament shouldn&#039;t load fine at PLA temperature. Higher temp sho...]]></description>
                        <content:encoded><![CDATA[<p>I don't think there's a way to change the onscreen menu without recompiling the firmware. But I don't see why that particular filament shouldn't load fine at PLA temperature. Higher temp shouldn't be an issue. </p>]]></content:encoded>
                        <category domain="https://forum.prusa3d.com/forum/original-prusa-xl-tool-changer-how-do-i-print-this-printing-help/">How do I print this? (Printing help)</category>                        <dc:creator>FoxRun3D</dc:creator>
                        <guid isPermaLink="true">https://forum.prusa3d.com/forum/original-prusa-xl-tool-changer-how-do-i-print-this-printing-help/g-code-to-set-the-loaded-filament-type-for-a-given-tool/#post-702428</guid>
                    </item>
                                        <item>
                        <title>G-Code to set the loaded filament type for a given tool?</title>
                        <link>https://forum.prusa3d.com/forum/original-prusa-xl-tool-changer-how-do-i-print-this-printing-help/g-code-to-set-the-loaded-filament-type-for-a-given-tool/#post-702376</link>
                        <pubDate>Mon, 04 Mar 2024 12:06:37 +0000</pubDate>
                        <description><![CDATA[I&#039;m giving Colorfabb&#039;s allPHA a try and need to create some custom G-Code to load it to the printer, since its maximum recommended print temperature (200ºC) is much lower than the lowest cho...]]></description>
                        <content:encoded><![CDATA[<p>I'm giving <a href="https://colorfabb.com/allpha-natural" target="_blank" rel="noopener">Colorfabb's allPHA</a> a try and need to create some custom G-Code to load it to the printer, since its maximum recommended print temperature (200ºC) is much lower than the lowest choice on the Prusa XL's "Load filament" menu: PLA @ 215ºC.</p><p>So far I've been able to load filament by setting the temperature manually using the on-screen controls, and then printing a tiny G-code file which only contains the one command:</p><pre contenteditable="false">M701</pre><p>This works a treat. But when I then try to print an actual mode, I of course get a warning about mismatched filament types, because the sliced G-Code contains the line:</p><pre contenteditable="false">; filament_type = PHA</pre><p>How do I modify my custom filament load G-Code to set the type to "PHA", so I can avoid this warning (and feel good about seeing "PHA" within the on-screen menus)?</p>]]></content:encoded>
                        <category domain="https://forum.prusa3d.com/forum/original-prusa-xl-tool-changer-how-do-i-print-this-printing-help/">How do I print this? (Printing help)</category>                        <dc:creator>Meerman</dc:creator>
                        <guid isPermaLink="true">https://forum.prusa3d.com/forum/original-prusa-xl-tool-changer-how-do-i-print-this-printing-help/g-code-to-set-the-loaded-filament-type-for-a-given-tool/#post-702376</guid>
                    </item>
                                                </channel>
        </rss>
        