Limit switch setup

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

Limit switch setup

Postby DavidR8 » Mon Feb 28, 2022 10:44 pm

I'm really struggling to set up my limit switches.
I thought I'd start with Z as there's only one switch.
All my switches are NPN inductive

I have the + from the switch going to 24v+ then onto I1+
I have the - from the switch going to DC 0
I have the black sig from the switch going to I1-
Limit_switch_wiring.jpg


On the config screen I set:
Limit - Pin to 2, Port 2
Limit + Pin to 1, Port 2

When I come up to the limit switch it works as expected except that I cannot move away from the switch unless I override limits.
When backed away from the switch, the software still thinks the Z limit is triggered.
Even when I disconnect all the switch wiring and restart the board and software the board still thinks the Z limit is active.

To clear the condition I have to change the limit pins and ports back to 0.
What am I doing wrong?
DavidR8
 
Posts: 54
Joined: Tue Feb 15, 2022 6:45 pm

Re: Limit switch setup

Postby DavidR8 » Tue Mar 01, 2022 4:25 am

I figured it out Let's call it user error :)
I didn't know that only one pin needs to be set in config.
DavidR8
 
Posts: 54
Joined: Tue Feb 15, 2022 6:45 pm

Re: Limit switch setup

Postby shimarayn » Thu May 09, 2024 3:03 pm

Code: Select all
my man, just saved me a lot of hassle, was having exactly the same issue.
shimarayn
 
Posts: 2
Joined: Fri May 03, 2024 10:48 pm


Return to General discussion about the UCCNC software

Who is online

Users browsing this forum: No registered users and 18 guests