-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pins Probe and homing #71
Comments
Hard limits is enabled? It may work without. |
As a possible example of what you can do, the probe protection plug-in can enable hard limits when probing (people connect overtravel to z axis limit). latest core probe events are very flexible. |
good day andrewmarles, I must add the plug-in for the function I need? this plug-in works with the pin number that I have on my map.... stay tuned thanks |
Good morning Terjeio, if the stroke limits are activated for the home I remain attentive thanks |
There is no need to enable hard limits ($21 > 0) for homing to work. And if the machine is homed soft limits ($20=1) will take care of keeping motion within limits if maximum travel is correctly set up. |
Is the limit switch normally closed (NC) and wired in parallel with the probe switch? If so you have to use a normally open (NO) switch, and the same for the probe, to make it work. Alternatively both have to be NC and wired in series. |
terjeio, simply by sharing the same pin, the probe routine stops working. #define X_LIMIT_PIN 26 #define PROBE_PIN 26 Is there any solution or is it necessary to use a different pin for each function? thanks for your attention |
This? How are you wiring the limit switch and probe and what kind of switches are they (NO vs NC)? If the limit switch is wired in parallel with the probe (switch) and of the NC variety then the probe signal will be shorted out and will never be seen by the processor. And vice versa... |
I have verified that both X-limit and probe inputs can share the same pin as both shows up in the status report in the correct way. From the screenshots above:
BTW your best/easiest alternative is perhaps to buy a Pi Pico or a Pi Pico W to get around the lack of pins. Alternatively I can design and test electronics and code for you. FYI my current rate as a consultant is EUR100/hr. |
For non standard homing only via a plugin that hooks into |
Good morning Terjeio, is there any way to configure these values for each independent axis, I remain attentive thank you. |
There are 10 preallocated setting numbers for user defined settings so I guess yes. |
good morning Terjeio, to save pins on my board and because of the shape of my machine it is very easy to use the probe pin with the limit X pin, I marked both pins with the same number, i.e. ,
#define LIMIT_PORT GPIO_IN
#define X_LIMIT_PIN 26
#define PROBE_PIN 26
homing works but the probe stops working, it reaches the sensor but does not return it is stuck, but if I change the pin number of the homing pin it works fine, is there a way to do these functions well with a single pin....
The text was updated successfully, but these errors were encountered: