<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>What settings in Marlin makes inductive sensor trigger correctly?</title>
        <description> For the life of me I can&#039;t seem to figure out the Z-Min Endstop for a Inductive Sensor. I have LJ18A3-8-z/8X Inductive Sensor and it works. I have it wired right and the blue wire is in the Z-Min Pin on my Ramps board. It senses everything fine as the light lights up when near the the bed and all that, but in Marlin It does not change its trigger when I use M119. Nor does it stop the Z-Axis from moving. 

My settings are listed is below. Am I missing something? It there more settings than just this that needs to be changed?
Both inverting it from True to False doesn&#039;t seem to help.


Any help would be appreciated.

//===========================================================================
//============================== Endstop Settings ===========================
//===========================================================================

// @section homing

// Specify here all the endstop connectors that are connected to any endstop or probe.
// 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

// coarse Endstop Settings
//#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors

#if DISABLED(ENDSTOPPULLUPS)
  // fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
  //#define ENDSTOPPULLUP_XMAX
  //#define ENDSTOPPULLUP_YMAX
  //#define ENDSTOPPULLUP_ZMAX
  //#define ENDSTOPPULLUP_XMIN
  //#define ENDSTOPPULLUP_YMIN
  //#define ENDSTOPPULLUP_ZMIN
  //#define ENDSTOPPULLUP_ZMIN_PROBE
#endif

// Mechanical endstop with COM to ground and NC to Signal uses &quot;false&quot; here (most common setup).
#define X_MIN_ENDSTOP_INVERTING false // set to true to  invert the logic of the endstop.
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Z_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
#define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Z_MIN_PROBE_ENDSTOP_INVERTING true // set to true to invert the logic of the probe.</description>
        <link>https://reprap.org/forum/read.php?415,789455,789455#msg-789455</link>
        <lastBuildDate>Sat, 06 Jun 2026 19:27:10 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?415,789455,789498#msg-789498</guid>
            <title>Re: What settings in Marlin makes inductive sensor trigger correctly?</title>
            <link>https://reprap.org/forum/read.php?415,789455,789498#msg-789498</link>
            <description><![CDATA[ Never mind on last question. I figured out how to change the Pin. I opened up the Ramps.h file and switched the Z-Min pin from 18 to 19 and vise verse for the Z-Max pin. Now my inductive sensor works stopping the motor.<br />
<br />
Guess I did burn something out on that Z-Min Pin. Oh well. At least I got it working now.]]></description>
            <dc:creator>VectorRoll</dc:creator>
            <category>Firmware - Marlin</category>
            <pubDate>Sun, 24 Sep 2017 01:47:11 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?415,789455,789497#msg-789497</guid>
            <title>Re: What settings in Marlin makes inductive sensor trigger correctly?</title>
            <link>https://reprap.org/forum/read.php?415,789455,789497#msg-789497</link>
            <description><![CDATA[ I just tested the Inductive Sensor on the Z- Max Endstop Pin and it works for it stopping the motor. Maybe I burned something out that is keeping it from sending a signal from the Z-Min Endstop pin. <br />
<br />
Is there a way I can use the Z-Max endstop pin as for the Z-Min?]]></description>
            <dc:creator>VectorRoll</dc:creator>
            <category>Firmware - Marlin</category>
            <pubDate>Sun, 24 Sep 2017 01:34:15 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?415,789455,789491#msg-789491</guid>
            <title>Re: What settings in Marlin makes inductive sensor trigger correctly?</title>
            <link>https://reprap.org/forum/read.php?415,789455,789491#msg-789491</link>
            <description><![CDATA[ The only thing different about inductive sensors in the setup in Configuration.h is the Z_PROBE_OFFSET_FROM_EXTRUDER is positive.    Other than that....   everything is the same.]]></description>
            <dc:creator>Roxy</dc:creator>
            <category>Firmware - Marlin</category>
            <pubDate>Sat, 23 Sep 2017 23:19:35 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?415,789455,789481#msg-789481</guid>
            <title>Re: What settings in Marlin makes inductive sensor trigger correctly?</title>
            <link>https://reprap.org/forum/read.php?415,789455,789481#msg-789481</link>
            <description><![CDATA[ Seems my cell phone double posted. So I'll just edit this as my next reply.<br />
<br />
<br />
Well I did have the blue and black wires swapped. I switch them and now I can get the M119 Command to show the Z Endstop triggering when I put metal up to the sensor... BUT ... It still is not stopping the Z Axis  from moving.<br />
<br />
My X and Y Endstop's seem to work. They stop the Axis from moving. Its just this Z Endstop. It won't stop my Z Axis.<br />
<br />
Setting up my Delta printer was so much easier than this. LOL]]></description>
            <dc:creator>VectorRoll</dc:creator>
            <category>Firmware - Marlin</category>
            <pubDate>Sat, 23 Sep 2017 18:37:49 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?415,789455,789480#msg-789480</guid>
            <title>Re: What settings in Marlin makes inductive sensor trigger correctly?</title>
            <link>https://reprap.org/forum/read.php?415,789455,789480#msg-789480</link>
            <description><![CDATA[ Hmm by what you said I may just have to rotate the plug on the pin. I'll try that when I get home. When I first wired it up &amp; soldered the transistors on I went by what the sensor had listed on the side of it. That was a few months ago. I'm just now getting to hooking it all up. I'll double check it all when I get home.<br />
Hopefully I didn't damage the endstop pin.]]></description>
            <dc:creator>VectorRoll</dc:creator>
            <category>Firmware - Marlin</category>
            <pubDate>Sat, 23 Sep 2017 18:37:49 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?415,789455,789458#msg-789458</guid>
            <title>Re: What settings in Marlin makes inductive sensor trigger correctly?</title>
            <link>https://reprap.org/forum/read.php?415,789455,789458#msg-789458</link>
            <description><![CDATA[ Blue wire is not the signal wire.<br />
<br />
If you have connected the brown wire to 12 volt, you may have damaged the endstop port on the mega.<br />
<br />
Your probe is showing as a NPN NO type so the best way to connect it is as follows<br />
<br />
<a href="https://www.google.co.uk/search?q=LJ18A3-8-z/BX&amp;rlz=1C1CHBD_en-GBGB748GB748&amp;source=lnms&amp;tbm=isch&amp;sa=X&amp;ved=0ahUKEwjgxOPHhrzWAhVFBsAKHRm1BxQQ_AUICygC&amp;biw=1920&amp;bih=988#imgrc=5vxWoCv8E0SJ5M:" target="_blank"  rel="nofollow">NPN probe</a><br />
<br />
Any diode should be ok, i use a 1N4148 type]]></description>
            <dc:creator>obewan</dc:creator>
            <category>Firmware - Marlin</category>
            <pubDate>Sat, 23 Sep 2017 15:41:00 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?415,789455,789455#msg-789455</guid>
            <title>What settings in Marlin makes inductive sensor trigger correctly?</title>
            <link>https://reprap.org/forum/read.php?415,789455,789455#msg-789455</link>
            <description><![CDATA[ For the life of me I can't seem to figure out the Z-Min Endstop for a Inductive Sensor. I have LJ18A3-8-z/8X Inductive Sensor and it works. I have it wired right and the blue wire is in the Z-Min Pin on my Ramps board. It senses everything fine as the light lights up when near the the bed and all that, but in Marlin It does not change its trigger when I use M119. Nor does it stop the Z-Axis from moving. <br />
<br />
My settings are listed is below. Am I missing something? It there more settings than just this that needs to be changed?<br />
Both inverting it from True to False doesn't seem to help.<br />
<br />
<br />
Any help would be appreciated.<br />
<br />
//===========================================================================<br />
//============================== Endstop Settings ===========================<br />
//===========================================================================<br />
<br />
// @section homing<br />
<br />
// Specify here all the endstop connectors that are connected to any endstop or probe.<br />
// Almost all printers will be using one per axis. Probes will use one or more of the<br />
// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.<br />
#define USE_XMIN_PLUG<br />
#define USE_YMIN_PLUG<br />
#define USE_ZMIN_PLUG<br />
//#define USE_XMAX_PLUG<br />
//#define USE_YMAX_PLUG<br />
//#define USE_ZMAX_PLUG<br />
<br />
// coarse Endstop Settings<br />
//#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors<br />
<br />
#if DISABLED(ENDSTOPPULLUPS)<br />
  // fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined<br />
  //#define ENDSTOPPULLUP_XMAX<br />
  //#define ENDSTOPPULLUP_YMAX<br />
  //#define ENDSTOPPULLUP_ZMAX<br />
  //#define ENDSTOPPULLUP_XMIN<br />
  //#define ENDSTOPPULLUP_YMIN<br />
  //#define ENDSTOPPULLUP_ZMIN<br />
  //#define ENDSTOPPULLUP_ZMIN_PROBE<br />
#endif<br />
<br />
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).<br />
#define X_MIN_ENDSTOP_INVERTING false // set to true to  invert the logic of the endstop.<br />
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.<br />
#define Z_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.<br />
#define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.<br />
#define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.<br />
#define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.<br />
#define Z_MIN_PROBE_ENDSTOP_INVERTING true // set to true to invert the logic of the probe.]]></description>
            <dc:creator>VectorRoll</dc:creator>
            <category>Firmware - Marlin</category>
            <pubDate>Sat, 23 Sep 2017 15:12:43 -0400</pubDate>
        </item>
    </channel>
</rss>
