<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>[SOLVED] how to implement second heater?</title>
        <description> Hey there,
I&#039;ve got a FLsun Cube and got it with a single extruder but I want to implement a second extruder. The printer uses the MKS GEN_L V1.0 Board which actually has two heater ports but uses the RAMPS 14 configuration.
I normally like modifying my Marlin FW but I only adjust values and do not change the code itself untill now... So my question is the following:
[ATTACHEMENTS IN DROPBOX LINK AT THE END OF THE POST]

Does anyone know how the second extruder (more specifically the second heater) is implemented in the attached Marlin 1.1.4-cube-chimera (I attached my Version as well: &quot;DualCore Marlin-1.1.5&quot;)? I see that it runs the RAMPS_14_EFB mode, but where is the HEATER_1_PIN defined then?
I wanted to do as less changes as possible concerning the original code file but in order to get it work (and leave the FW usable for other settings) I had to do the following:

configuration.h (besides adjusting the values for a second extruder):
-change &quot;#define MOTHERBOARD BOARD_RAMPS_14_EFB&quot;
to &quot;#define MOTHERBOARD BOARD_RAMPS_14_EFBE&quot;

pins.h:
-add lines &quot;#elif MB(RAMPS_14_EFBF || RAMPS_14_EFBE)
  #include &quot;pins_RAMPS.h&quot; 
which avoids to set a mode for the ramps board (as &quot;#define IS_RAMPS_EFB&quot; would do)

pins_RAMPS.h:
-disable the &quot;Augumentation for auto-assigning RAMPS plugs&quot; section in order to leave the ramps mode unspecified
-set the MOSFET_D_PIN (from-1) to 7 which is the actual port for heater 1 (which then will be assigned to HEATER_1_PIN a few lines below in &quot;[...] #else #define HEATER_1_PIN MOSFET_D_PIN&quot;)

Compiling was successfull so far and I think my way could also work but I would like to know how it is done in the firmware supplied with the original dual extruder setup.

FILES: [www.dropbox.com]</description>
        <link>https://reprap.org/forum/read.php?415,789440,789440#msg-789440</link>
        <lastBuildDate>Tue, 21 Jul 2026 02:47:58 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?415,789440,789495#msg-789495</guid>
            <title>Re: [SOLVED] how to implement second heater?</title>
            <link>https://reprap.org/forum/read.php?415,789440,789495#msg-789495</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />I also noticed that the way it is done in the original firmware is not as smart as my way</div></blockquote>
<br />
Hmmmm....  I guess we will wait for your perfect implementation that gives us enlightenment.]]></description>
            <dc:creator>Roxy</dc:creator>
            <category>Firmware - Marlin</category>
            <pubDate>Sun, 24 Sep 2017 01:02:12 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?415,789440,789447#msg-789447</guid>
            <title>Re: how to implement second heater?</title>
            <link>https://reprap.org/forum/read.php?415,789440,789447#msg-789447</link>
            <description><![CDATA[ Okay I just noticed that I do not need to disable the "Augumentation for auto-assigning RAMPS plugs" section if I set a MOSFET_D_PIN.<br />
<br />
I also noticed that the way it is done in the original firmware is not as smart as my way (by simply adding #define HEATER1_PIN 7 into the EFB configuration section)<br />
And I noticed that basically all you have to do to apply the settings as it is meant to be done is:<br />
- change motherboard type to "BAM_DICE" which includes the pins_ramps.h without setting a mode<br />
- setting the MOSFET_D_PIN to the value 7]]></description>
            <dc:creator>Schild0r</dc:creator>
            <category>Firmware - Marlin</category>
            <pubDate>Sat, 23 Sep 2017 14:40:52 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?415,789440,789440#msg-789440</guid>
            <title>[SOLVED] how to implement second heater?</title>
            <link>https://reprap.org/forum/read.php?415,789440,789440#msg-789440</link>
            <description><![CDATA[ Hey there,<br />
I've got a FLsun Cube and got it with a single extruder but I want to implement a second extruder. The printer uses the MKS GEN_L V1.0 Board which actually has two heater ports but uses the RAMPS 14 configuration.<br />
I normally like modifying my Marlin FW but I only adjust values and do not change the code itself untill now... So my question is the following:<br />
[ATTACHEMENTS IN DROPBOX LINK AT THE END OF THE POST]<br />
<br />
Does anyone know how the second extruder (more specifically the second heater) is implemented in the attached Marlin 1.1.4-cube-chimera (I attached my Version as well: "DualCore Marlin-1.1.5")? I see that it runs the RAMPS_14_EFB mode, but where is the HEATER_1_PIN defined then?<br />
I wanted to do as less changes as possible concerning the original code file but in order to get it work (and leave the FW usable for other settings) I had to do the following:<br />
<br />
configuration.h (besides adjusting the values for a second extruder):<br />
-change "#define MOTHERBOARD BOARD_RAMPS_14_EFB"<br />
to "#define MOTHERBOARD BOARD_RAMPS_14_EFBE"<br />
<br />
pins.h:<br />
-add lines "#elif MB(RAMPS_14_EFBF || RAMPS_14_EFBE)<br />
  #include "pins_RAMPS.h" <br />
which avoids to set a mode for the ramps board (as "#define IS_RAMPS_EFB" would do)<br />
<br />
pins_RAMPS.h:<br />
-disable the "Augumentation for auto-assigning RAMPS plugs" section in order to leave the ramps mode unspecified<br />
-set the MOSFET_D_PIN (from-1) to 7 which is the actual port for heater 1 (which then will be assigned to HEATER_1_PIN a few lines below in "[...] #else #define HEATER_1_PIN MOSFET_D_PIN")<br />
<br />
Compiling was successfull so far and I think my way could also work but I would like to know how it is done in the firmware supplied with the original dual extruder setup.<br />
<br />
FILES: [<a href="https://www.dropbox.com/sh/y71djbsivmhhx92/AAAWhHIYX31xjgBCyA4U7woka?dl=0" target="_blank"  rel="nofollow">www.dropbox.com</a>]]]></description>
            <dc:creator>Schild0r</dc:creator>
            <category>Firmware - Marlin</category>
            <pubDate>Sat, 23 Sep 2017 14:18:10 -0400</pubDate>
        </item>
    </channel>
</rss>
