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.3k stars 19.25k forks source link

[BUG] Not Respecting Software End Stops #15588

Closed n00dl3s closed 5 years ago

n00dl3s commented 5 years ago

Attached is my config.

With an SKR v1.3 and tmc5160's after homing just the X axis to the MIN, I am still able to completely blow by the software end stop.

Tried a great number of things, maybe its a bug?

Thanks!

Configuration.zip

ENSTOPS
n00dl3s commented 5 years ago

I was able to successfully get software end stops working using this fella's code

https://github.com/serialx/Marlin/tree/mpcnc-skr13-tmc5160

closing the issue since i now believe it a miss configuration on my end.

AnHardt commented 5 years ago

Do we need to explain better the difference between 'software endstops' (not hardware) and 'sensor less endstops' (no extra hardware switches but in the TMC stepper drivers)?

n00dl3s commented 5 years ago

Hi AnHardt

Thanks for the reply, I believe the documentation is adequate and don't believe that to be the problem

After further testing this weekend,I found on the newer commits software end-stops are not working as advertised. Sensor less homing is not enabled, I am using Micro Limit Switches for end-stops.

My Setup is as follows.

SKR1.3 TMC5160's Limit Micro Switch on the X'Axis

(I have 3 different skr boards ive tried to make sure that isnt the issue, and various tmc5160's all bigtree v1.2's)

Once homed software end-stops do not keep any axis "in bounds" allowing negative values. (see screen shot)

made sure software end-stops are enabled (m211 s1)

boelle commented 5 years ago

@AnHardt do you think this is just a misunderstanding in how the config should be?

boelle commented 5 years ago

will close this one as it seems to be a misunderstanding in how config should be

we can reopen later if there is a confirmed issue

eightheads commented 4 years ago

I am currently having issues with software endstops not working with the current Marlin 2.0 branch pulled yesterday (12/06/19) on my SKR V1.3. I have confirmed they are enabled and defined in my configuration but movement will allow me to attempt to go less than 0 and over my max defined bed size.

PapiOrso commented 4 years ago

I also have the same problem with endstop software not working on a SKR 1.4 turbo board with TMC5160 v1.2 drivers. Even "sensorless homing" doesn't work. This board has too many problems and Bigtreetech technical support is useless. They just say they know the bug and are sorry. They are really useless!

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