<p>Solved the problem, I was missing this line:</p>

<pre><code>#define ENDSTOPPULLUP_ZMIN_PROBE
</code></pre>

<p>Apparently the sensor required a pull-up to better define the signal.</p>

CC BY-SA 4.0
2020-01-06T09:11:43.390Z
Thanks for posting the answer! I removed the link to the configuration, the pull-up hint should be sufficient for a self-contained answer. Also, linking to external content is usually not very wise as all things on the internet die from link rot eventually.
0scar
CC BY-SA 4.0
2020-01-06T09:03:09.403Z
2020-01-06T09:11:54.260Z
2020-01-06T09:11:54.260Z
orthehelper
<p>Just added inductive sensor to my printer (<code>MKS Gen L Board</code>) using <code>Marlin 1.1.9</code>
After some tweaking it works great!
The problem is when it starts print the sensor detects the bed and stops the print because it gets triggered.</p>

<p>Can I tell Marlin to ignore the Z-min readings while printing?</p>

CC BY-SA 4.0
2020-01-01T00:49:06.433Z
Are you using the sensor as a normal endstop or did you modify the firmware to enable automatic bed levelling?
0scar
CC BY-SA 4.0
2020-01-06T08:13:27.727Z
i was able to solve it, here is my Configuuration.h file https://bitbucket.org/OrAzran/marlin_sxw1/src/pinda/Marlin/Configuration.h
orthehelper
CC BY-SA 4.0
2020-01-06T08:42:25.117Z
Great! Please post the solution as an answer. Copy the interesting parts of the configuration file in the answer. This may help other users with the same problem!
0scar
<marlin><inductive-sensor>
Inductive Sensor Causes Print To Stop
orthehelper
# Inductive Sensor Causes Print To Stop

(Asked by: username_0 on 2019-12-31)

Just added inductive sensor to my printer (`MKS Gen L Board`) using `Marlin 1.1.9`
After some tweaking it works great!
The problem is when it starts print the sensor detects the bed and stops the print because it gets triggered.

Can I tell Marlin to ignore the Z-min readings while printing?

**Tags:** marlin, inductive-sensor
> **Comments:**
> **username_1**: Are you using the sensor as a normal endstop or did you modify the firmware to enable automatic bed levelling?  
> **username_0**: i was able to solve it, here is my Configuuration.h file https://bitbucket.org/OrAzran/marlin_sxw1/src/pinda/Marlin/Configuration.h  
> **username_1**: Great! Please post the solution as an answer. Copy the interesting parts of the configuration file in the answer. This may help other users with the same problem!  

---

## 1 answers

### Answer by username_0 on 2020-01-06. Score: 2 | Accepted answer

Solved the problem, I was missing this line:
#define ENDSTOPPULLUP_ZMIN_PROBE

Apparently the sensor required a pull-up to better define the signal.

> **Comments:**
> **username_1**: Thanks for posting the answer! I removed the link to the configuration, the pull-up hint should be sufficient for a self-contained answer. Also, linking to external content is usually not very wise as all things on the internet die from link rot eventually.  

---

