Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Problem about endstop setting for A B or C axis #20

Open
Dark-Guan opened this issue Sep 7, 2016 · 4 comments
Open

Problem about endstop setting for A B or C axis #20

Dark-Guan opened this issue Sep 7, 2016 · 4 comments

Comments

@Dark-Guan
Copy link

Actully,The endstop can be setted for A b or C axis , The motor will stop when the endstop is triggered ,but when G28 is runing ,the triggered endstop of A B or C will block the hole progress, untill I release the endstop by hand.
I think that means there is no walking-back move when running G28.
I want to know how to fix it.

@hzeller
Copy link
Owner

hzeller commented Sep 7, 2016

So the code actually should move back for any axis, essentially going back until the switch is un-triggered again (but I have never tested this on a real A, B, C axis, so maybe something is off).

Maybe it is going too slow ?

What are your settings for the A/B/C axis in your configuration file, and what are endstop switch settings there ?

@bigguiness
Copy link
Contributor

Also, are the endstops properly mapped?

What is the DEBUG output when you start machine-control?

From: Henner Zeller [mailto:notifications@github.com]
Sent: Wednesday, September 07, 2016 9:00 AM
To: hzeller/beagleg
Subject: Re: [hzeller/beagleg] Problem about endstop setting for A B or C axis (#20)

So the code actually should move back for any axis, essentially going back until the switch is un-triggered again (but I have never tested this on a real A, B, C axis, so maybe something is off).

Maybe it is going too slow ?

What are your settings for the A/B/C axis in your configuration file, and what are endstop switch settings there ?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com//issues/20#issuecomment-245329498, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABkqIY39RYUd5QCkyjGHdq_E3BBNPIw8ks5qnt-ZgaJpZM4J20o2.

@Dark-Guan
Copy link
Author

Sorry for apply so late.
I am not working on this problem , I think I should read all the code to solve this problem.

@hzeller
Copy link
Owner

hzeller commented Aug 3, 2022

From the code, things should be working if the switches are properly mapped as pointed out by @bigguiness
(start looking at move_to_endstop()).
My suspicion is that the homing speed for the axes might not be properly chosen for rotational axes, and should possibly be made configurable ... for which there is already a TODO:

const float kHomingMM = 0.5; // TODO: make configurable?
const float kBackoffMM = kHomingMM / 10.0; // TODO: make configurable?

Not sure if this is still a problem right now; since there was no activity on this issue for a while I'd lean towards closing it.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants