More limit switch questions

Post anything you want to discuss with others about the software.

More limit switch questions

Postby DavidR8 » Thu Feb 24, 2022 10:15 pm

Hoping someone can confirm my limit switch thinking as I plan out my wiring. I have a gantry style router. Two Y axis motors, one motor each for X and Z.
The Y switches are NPNs mounted at either end of the gantry with triggers attached to the Y axis beams so it triggers at each end of the Y axis travel.
The X has a NPN at each end of the gantry and the Z has one at the top of the travel.
Reading the UCCNC manual it says that I can connect any number of limit switches to one pin.
I know that to have auto squaring I need to have put Y1 and Y2 limit switches on separate pins.
If I put X and Z on the same pin, UCCNC config would have the same pin/port combo for X and Z.
How does homing work as I don't see how UCCNC would know which of X or Z had reached the home position.
DavidR8
 
Posts: 54
Joined: Tue Feb 15, 2022 6:45 pm

Re: More limit switch questions

Postby dezsoe » Thu Feb 24, 2022 11:01 pm

It's easy: the UCCNC homes only one axis at a time, so it will know that the moving axis reached the sensor.
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: More limit switch questions

Postby DavidR8 » Thu Feb 24, 2022 11:14 pm

That's very helpful.
I'm coming from the grblHAL world where the Z homes first then X and Y home simultaneously.
DavidR8
 
Posts: 54
Joined: Tue Feb 15, 2022 6:45 pm

Re: More limit switch questions

Postby dezsoe » Thu Feb 24, 2022 11:29 pm

Both have pros and cons. It's faster to home more axes parallel, but then you have to have more inputs for the home sensors. If you don't have any slaved axes then with UCCNC you may have only one input for all the homes and limits.
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary


Return to General discussion about the UCCNC software

Who is online

Users browsing this forum: No registered users and 25 guests