Limit/home switches not working?

More
6 years 6 months ago #162402 by Catch22
So I ran the Pncconfig and my e stop works but my limit switches are not, I have one limit switch on x and y and two on z that are wired together so only one red and one black wire for each axis. I wired the red wires on to the 7i77 board on TB8 to 11,12,13 and all the black wires are tied together and go to TB1 the 24v field power terminal block to number 5 terminal. I have moved that wire around on that block and get a joint 0 on limit switch error. Any ideas on this?
Thanks Mike

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago - 6 years 6 months ago #162412 by PCW
If you have normally closed (NC) limit switches, you have to invert the
corresponding 7I77 input either in pncconf by checking the "Inv"
box next to the pin or in the hal file by choosing the input pin that ends
in 'not"

This is because LinuxCNC expects limit and home signals to be active
high (high only when home or limit is reached), but a normally closed switch
read by a 7I77 is the opposite, it will be high until the home or limit is
reached, so must be inverted.
Last edit: 6 years 6 months ago by PCW.
The following user(s) said Thank You: Catch22

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago #162417 by Catch22
Oh ok, thanks so much PCW.

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago #162427 by bbsr_5a
woudt be good for readers if you tell the type and Printing lable of the switches you used
The following user(s) said Thank You: Catch22

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago #162455 by Catch22
Unfortunately there is nothing on the limit switches, but they are the plunger type with one red wire and one black wire.

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago #162456 by Catch22
Ok got the limits all working, when I hit a limit should it show Joint 0 on limit switch error? At the bottom right hand corner of linuxcnc.

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.182 seconds
Powered by Kunena Forum