Welcome! Log In Create A New Profile

Advanced

Motor displacement problem with endstop

Posted by TheDraill 
Motor displacement problem with endstop
May 17, 2021 03:39AM
Hello, I have a problem when setting the endstops.

Let me explain: I have 3 endstops (Xmin, Ymin and Zmin) which work correctly (I checked with the M119 command on Pronterface). When I don't press the X endstop, the motor cannot go left, and when I press this endstop, the motor goes correctly left.

I deduced that I had to reverse the operation of the endstops, which I did by changing "false" to "true" on the line "X_MIN_ENDSTOP_INVERTING", ... And there, the operation of the endstop is still good, but the X motor only takes tiny steps, if not at all when I make it go left (I only have this problem on the X axis) . I don't think this is a motor driver problem since there is no problem when endstops work the other way around.

Hope this is clear enough. Thank you in advance for your answers !

Hardware :
Megatronics V3.1
TMC2209 standalone
NO endstops

Edited 3 time(s). Last edit at 05/17/2021 04:41AM by TheDraill.
Attachments:
open | download - Configuration.h (90.5 KB)
open | download - Configuration_adv.h (145.8 KB)
Sorry, only registered users may post in this forum.

Click here to login