Limit switch and E-Stop configuration

More
5 years 6 months ago #204650 by Bearfood
I get a few steps forward and despite many searches I can't seem to find what I'm looking for and end up back here.

I have a 7i96 board and I'm trying to get the E-stop and limit switches working. I've wired the E-Stop to +12v into the isolated TB3 input 0, X limit into input 1, Y1 to input 2 and Y2 into input3. I haven't done the Z limits yet because I can't get any of them working at the moment. :)

In pncconf is as follows:
000 = E-stop, GPIOInput
001 = X minimum limit + home, GPIOInput
002 = Y1 minimum limit + home, GPIOInput
003 = Y2 minimum limit + home, GPIOInput

HAL and INI files attached. Thanks for your help!

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

More
5 years 6 months ago #204651 by Michael
What do you have connected to the 7i96 common pin? Believe it is TB3 pin13 or near there. You need to have the reference voltage connected to that pin. For your estop that would be connected to the 12v-.

What type of limit switches? This will also determine how to wire the TB3 common pin. The hal file looks fine.

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

More
5 years 6 months ago #204656 by Bearfood
Ah, so the -12v goes to the common? No I don't have that. That makes more sense. I'm nervous as he'll connecting anything above 5v to this board.

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

More
5 years 6 months ago #204658 by Bearfood
Okay, that got my E-stop working and to a degree the limit switch.

On the X, if I check the INV box and the x isn't touching the limit switch it will home to the limit switch and then I can do nothing more because I have a "joint0 on limit switch error on the LinuxCNC console. If I leave the INV button unchecked I get that error right out of the gate. Any thoughts?

It would be good to have a section on limit switches but maybe I'm just a bigger idiot than others. :)

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

More
5 years 6 months ago - 5 years 6 months ago #204659 by Bearfood
Limit switches are wired to the Normally Closed position.

I tried rewiring to the NO positing and unchecking the INV box but I get the same issue. It homes but then stops and gives me an error on Joint0.
Last edit: 5 years 6 months ago by Bearfood. Reason: I was wrong in my original

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

More
5 years 6 months ago #204679 by Bearfood
I managed to get a working configuration by switching all the limit switches in pnconf to home and not home + minimum limit. Now I don't get the error at least. Is this the way I should have had this all along?

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

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