MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.14k stars 19.2k forks source link

Auto leveling bed ignoring z_min #6092

Closed joseshiru closed 7 years ago

joseshiru commented 7 years ago

Hi guys,

Yesterday I updated Marlin to the latest version.

My printer is a Delta mini and it has a proximity sensor.

When I'm running G29, the extruder is going down until it heat the aluminum plate, which should not happen because few mm before it touches the plate, the z_min is triggered (I already checked it).

So, I'm getting lost, seems like doesn't matter if the z_min is triggered, the extruder continues going down until head the plate.

Do you have any idea why this is happening?

Many thanks.

joseshiru commented 7 years ago

Configuration.txt

joseshiru commented 7 years ago

BTW is was working fine with the old version

ghost commented 7 years ago

Is this kosher for a delta?

#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN

joseshiru commented 7 years ago

I guess....

I can only choose between these two: Z_MIN_PROBE_ENDSTOP: makes the z_min_probe appear with m119 and it's never triggered when the probe touches the bed, the probe is only triggering the z_min.

Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN: when running m119 is not displaying the z_min_probe but only z_min . But is not working neither.

Bob-the-Kuhn commented 7 years ago

Try commenting out #define ENDSTOPPULLUPS and, assuming that you've tied the sensor to Z_MIN_PIN, leave Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN enabled.

I expect that you're using a resistor divider network to interface the sensor to your controller. Having that pullup enabled interferes with the signal level.

We've run into this once before. If I remember correctly the default state of #define ENDSTOPPULLUPS has changed so it's easy to miss when switching to a newer vwersion.

You might also want to enable PINS_DEBUGGING in Configuration_adv.h and then issue M43 E1 before testing the new setup. That command will tell you whenever an endstop changes state (and toggle the system LED).

joseshiru commented 7 years ago

Bob, thanks for the info, I'll try it. 👍

joseshiru commented 7 years ago

Guys I'll close this issue as seems to be a problem with my settings.

Thanks for the help

github-actions[bot] commented 2 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.