<p>Assuming <a href="https://github.com/JimBrown/MarlinTarantula/blob/EasyConfig-2.0.x/config/default/Configuration.h#line585" rel="nofollow noreferrer">line 585</a> of <a href="https://github.com/JimBrown/MarlinTarantula/blob/EasyConfig-2.0.x/config/default/Configuration.h" rel="nofollow noreferrer">Configuration.h</a> looks like this</p>

<pre><code>// Almost all printers will be using one per axis. Probes will use one or more of the
// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
#define USE_XMIN_PLUG
#define USE_YMIN_PLUG
#define USE_ZMIN_PLUG
//#define USE_XMAX_PLUG
//#define USE_YMAX_PLUG
//#define USE_ZMAX_PLUG
</code></pre>

<p>That is to say, if the Maximum endstop ports/plugs aren't currently being used, then you could just redefine the pin used by <code>ZMIN</code> (Z-) to be that currently being used by the <code>ZMAX</code> (Z+), in the appropriate <code>pins_XXXX.h</code> file (contained within <a href="https://github.com/JimBrown/MarlinTarantula/tree/EasyConfig-2.0.x/Marlin/src/pins" rel="nofollow noreferrer">MarlinTarantula/Marlin/src/pins/</a>), where <code>XXXX</code> depends upon which board you have (I don't know what board your printer has).</p>

<p>For example, if you have a RAMPS board then in <a href="https://github.com/JimBrown/MarlinTarantula/blob/EasyConfig-2.0.x/Marlin/src/pins/pins_RAMPS.h" rel="nofollow noreferrer">pins_RAMPS.h</a> at <a href="https://github.com/JimBrown/MarlinTarantula/blob/EasyConfig-2.0.x/Marlin/src/pins/pins_RAMPS.h#line79" rel="nofollow noreferrer">line 79</a> you would change</p>

<pre><code>//
// Limit Switches
//
#define X_MIN_PIN           3
#ifndef X_MAX_PIN
  #define X_MAX_PIN         2
#endif
#define Y_MIN_PIN          14
#define Y_MAX_PIN          15
#define Z_MIN_PIN          18
#define Z_MAX_PIN          19
</code></pre>

<p>to become (note the change in the last two lines)</p>

<pre><code>//
// Limit Switches
//
#define X_MIN_PIN           3
#ifndef X_MAX_PIN
  #define X_MAX_PIN         2
#endif
#define Y_MIN_PIN          14
#define Y_MAX_PIN          15
#define Z_MIN_PIN          19
#define Z_MAX_PIN          18
</code></pre>

<p>Then compile and reflash the firmware.</p>

<p>Obviously you would then plug the Z_MIN (Z-) wire from the endstop into the Z_MAX (Z+) port.</p>

CC BY-SA 4.0
2019-06-28T18:21:54.783Z
2019-06-28T18:21:54.783Z
Greenonline
<p>I burnt the Z- port for the Z endstop. Can I use the Z+ port? I'm using Jim Brown's Marlin firmware. </p>

<p>Any help to change that is highly appreciated. I know nothing about code. Sorry for my ignorance. I'm new on this 3D printing universe.</p>

CC BY-SA 4.0
2019-06-28T18:10:23.983Z
burnt? Can you show a photo?
Trish
<z-axis><endstop><tevo-tarantula>
Tevo tarantula Z- port burnt
Paulorfo
# Tevo tarantula Z- port burnt

(Asked by: username_0 on 2019-06-28)

I burnt the Z- port for the Z endstop. Can I use the Z+ port? I'm using Jim Brown's Marlin firmware.

Any help to change that is highly appreciated. I know nothing about code. Sorry for my ignorance. I'm new on this 3D printing universe.

**Tags:** z-axis, endstop, tevo-tarantula
> **Comments:**
> **username_1**: burnt? Can you show a photo?  

---

## 1 answers

### Answer by username_2 on 2019-06-28. Score: 1 | Accepted answer

Assuming line 585 of Configuration.h looks like this
// Almost all printers will be using one per axis. Probes will use one or more of the
// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
#define USE_XMIN_PLUG
#define USE_YMIN_PLUG
#define USE_ZMIN_PLUG
//#define USE_XMAX_PLUG
//#define USE_YMAX_PLUG
//#define USE_ZMAX_PLUG

That is to say, if the Maximum endstop ports/plugs aren't currently being used, then you could just redefine the pin used by ZMIN (Z-) to be that currently being used by the ZMAX (Z+), in the appropriate pins_XXXX.h file (contained within MarlinTarantula/Marlin/src/pins/), where XXXX depends upon which board you have (I don't know what board your printer has).
For example, if you have a RAMPS board then in pins_RAMPS.h at line 79 you would change
//
// Limit Switches
//
#define X_MIN_PIN           3
#ifndef X_MAX_PIN
  #define X_MAX_PIN         2
#endif
#define Y_MIN_PIN          14
#define Y_MAX_PIN          15
#define Z_MIN_PIN          18
#define Z_MAX_PIN          19

to become (note the change in the last two lines)
//
// Limit Switches
//
#define X_MIN_PIN           3
#ifndef X_MAX_PIN
  #define X_MAX_PIN         2
#endif
#define Y_MIN_PIN          14
#define Y_MAX_PIN          15
#define Z_MIN_PIN          19
#define Z_MAX_PIN          18

Then compile and reflash the firmware.
Obviously you would then plug the Z_MIN (Z-) wire from the endstop into the Z_MAX (Z+) port.


---

