<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Marlin responding differently to pronterface commands vs SD card gcode</title>
        <description> Been testing my ATMega256 marlin laser engraver with pronterface, and all the motion commands work, and things like G0 S200 X60 Y60 will move the head and also activate the laser for the entire motion. Great. I put the same in a gcode test file to run from an sd card:
G1 S200 X100
G0 S200 X100 Y60.333
G1 S200 X0
G0 S200 X0 Y60.667
G1 S200 X100

a simple back and forth scanning pattern ... and the laser blinks every time the command changes - that is, when it changes direction, I see the laser flash briefly - but for the rest of the time the laser is off. Why might this be? 

Not sure if this is related, but I can also manually turn the laser on with M4, but then any motion immedialtey turns it off again. 

Appreciate any advice or things to try! Can also provide more detail and context if needed, apologies if this was not enough.</description>
        <link>https://reprap.org/forum/read.php?415,890410,890410#msg-890410</link>
        <lastBuildDate>Tue, 06 Oct 2026 05:22:19 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?415,890410,890432#msg-890432</guid>
            <title>Re: Marlin responding differently to pronterface commands vs SD card gcode</title>
            <link>https://reprap.org/forum/read.php?415,890410,890432#msg-890432</link>
            <description><![CDATA[ ... good, it works! (tu)]]></description>
            <dc:creator>VDX</dc:creator>
            <category>Firmware - Marlin</category>
            <pubDate>Fri, 02 Sep 2022 06:06:52 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?415,890410,890428#msg-890428</guid>
            <title>Re: Marlin responding differently to pronterface commands vs SD card gcode</title>
            <link>https://reprap.org/forum/read.php?415,890410,890428#msg-890428</link>
            <description><![CDATA[ Ok so this is frustrating for anyone looking for answers but I tried it today and it ... just worked. No idea why. Sorry all who have the same problem, but thanks those for suggestions?]]></description>
            <dc:creator>maccadacca</dc:creator>
            <category>Firmware - Marlin</category>
            <pubDate>Thu, 01 Sep 2022 23:30:00 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?415,890410,890422#msg-890422</guid>
            <title>Re: Marlin responding differently to pronterface commands vs SD card gcode</title>
            <link>https://reprap.org/forum/read.php?415,890410,890422#msg-890422</link>
            <description><![CDATA[ It almost sounds like the laser command is inverted? The laser is off when it should be on, and on when it should be off?]]></description>
            <dc:creator>rq3</dc:creator>
            <category>Firmware - Marlin</category>
            <pubDate>Thu, 01 Sep 2022 13:40:32 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?415,890410,890413#msg-890413</guid>
            <title>Re: Marlin responding differently to pronterface commands vs SD card gcode</title>
            <link>https://reprap.org/forum/read.php?415,890410,890413#msg-890413</link>
            <description><![CDATA[ ... mybe you have to insert the Y-value too, even if it doesn't change?]]></description>
            <dc:creator>VDX</dc:creator>
            <category>Firmware - Marlin</category>
            <pubDate>Thu, 01 Sep 2022 05:01:46 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?415,890410,890410#msg-890410</guid>
            <title>Marlin responding differently to pronterface commands vs SD card gcode</title>
            <link>https://reprap.org/forum/read.php?415,890410,890410#msg-890410</link>
            <description><![CDATA[ Been testing my ATMega256 marlin laser engraver with pronterface, and all the motion commands work, and things like G0 S200 X60 Y60 will move the head and also activate the laser for the entire motion. Great. I put the same in a gcode test file to run from an sd card:<br />
G1 S200 X100<br />
G0 S200 X100 Y60.333<br />
G1 S200 X0<br />
G0 S200 X0 Y60.667<br />
G1 S200 X100<br />
<br />
a simple back and forth scanning pattern ... and the laser blinks every time the command changes - that is, when it changes direction, I see the laser flash briefly - but for the rest of the time the laser is off. Why might this be? <br />
<br />
Not sure if this is related, but I can also manually turn the laser on with M4, but then any motion immedialtey turns it off again. <br />
<br />
Appreciate any advice or things to try! Can also provide more detail and context if needed, apologies if this was not enough.]]></description>
            <dc:creator>maccadacca</dc:creator>
            <category>Firmware - Marlin</category>
            <pubDate>Thu, 01 Sep 2022 00:04:09 -0400</pubDate>
        </item>
    </channel>
</rss>
