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.29k stars 19.24k forks source link

Intermittent Auto Home Failed and Manual push Axis X or Y switch stop trigger Printer Halted with A10M GEEETECH - Marlin 2.X #20577

Closed mmaitre74 closed 3 years ago

mmaitre74 commented 3 years ago

Bug Description

Configuration Files

Required: Include a ZIP file containing Configuration.h and Configuration_adv.h.

If you've made any other modifications describe them in detail here.

Steps to Reproduce

  1. Upgrate to last firmware Marlin 2.0 Bug Fix
  2. In the LCD menu select Auto Home (intermittent Home Failed and Printer Halted)
  3. For Manual forcing problem while pressing LCD Auto HOME, click any Endstop Switch (X,Y)

Expected behavior:

If endstop switch pressed, the printer must stop axis pressed and continu to going Home point to other axis

.

Actual behavior:

The Marlin version 1.1.8 and 1.1.9 has no problem with the ends configa10m.zip top or intermittent problem

Additional Information

godbnc commented 3 years ago

i have same problem with cr10v2 not home error i check configuration ,endstop,wires conection, but not there is problem with marlin .....

ellensp commented 3 years ago

homing is not that simple (depending on setting) ... if you press and hold an endstop it will fail as it thinks the endstop is broken. It need to be able to home, back off and home again getting a triggered, not triggered, and re triggered in sequence. I'm not saying this is the issue, but I am saying your test of holding an endstop in a triggred state is not necessarily a good test.

mmaitre74 commented 3 years ago

I found a temporary solution.

I remove this line in configuration.h

// Validate that endstops are triggered on homing moves // #define VALIDATE_HOMING_ENDSTOPS

But when I disabled this option. Sometime the Auto Home not going in the full home Axis.

rhapsodyv commented 3 years ago

can you try enabling #define ENDSTOPPULLDOWNS instead of #define ENDSTOPPULLUPS?

mmaitre74 commented 3 years ago

define ENDSTOPPULLDOWNS , same issue

mmaitre74 commented 3 years ago

Version 1.18 and 1.19 woking without issue. Here the last Bugfix 2.0

https://user-images.githubusercontent.com/19422624/103245622-bccff280-492e-11eb-8c73-364b42f66ac5.mov

FanDjango commented 3 years ago

Have you got a 1.1.9 config to show?

FanDjango commented 3 years ago

And in the video I see that there is a small "stop" in the middle of the homing move of X

FanDjango commented 3 years ago

Check playing with this setting, maybe:

/**
 * Endstop Noise Threshold
 *
 * Enable if your probe or endstops falsely trigger due to noise.
 *
 * - Higher values may affect repeatability or accuracy of some bed probes.
 * - To fix noise install a 100nF ceramic capacitor in parallel with the switch.
 * - This feature is not required for common micro-switches mounted on PCBs
 *   based on the Makerbot design, which already have the 100nF capacitor.
 *
 * :[2,3,4,5,6,7]
 */
//#define ENDSTOP_NOISE_THRESHOLD 2
FanDjango commented 3 years ago

I see the homing bump of X, also of Y. Hmmm. Do me a favor: Do the homing one by one, first Home X, then Home Y, then Home Z. Isolate the problem

mmaitre74 commented 3 years ago

Hi FanDjango, thanks for your help. with #define ENDSTOP_NOISE_THRESHOLD 2. No more issue. Everything work perflectly.

github-actions[bot] commented 3 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.