Problems whit the switches in pncconf

More
4 years 8 months ago #233964 by Nest
Hi everyone, I have a normal CNC milling machine and it has three home switches, an emergency stop and a probe to detect the part, the card I am using is a MESA 7i96

I have tried various configurations in pncconf for the home/limit switches but it gives me an error.
Can somebody help me?

thanks you

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

More
More
4 years 8 months ago - 4 years 8 months ago #233997 by Nest
Hi, if i select in the tab TB3 the switch X, Y, X home when i push the Button Home All in the screen down of the left the error
Code:
the switch home inactive before of beginning the movement of back a = 2
image missing https://i.imgur.com/O4GplYE.png
image missing https://i.imgur.com/jqoPMCY.png

And if I select others configutations like image, i can't swith on the machine the app is bloked and i can see in the escreen a arrows moving
image missing https://i.imgur.com/SWnQYvA.png
image missing https://i.imgur.com/T1QSqyr.png

My swith is usually open, it switch off in contact with the axis
Last edit: 4 years 8 months ago by Nest.

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

More
4 years 8 months ago #233999 by PCW
Are the home switches normally open or normally closed?

If normally closed, you need to invert the home switch inputs

Also you have the EStop pin set as an output, this is not correct

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

More
4 years 8 months ago #234000 by Nest
Code:
Are the home switches normally open or normally closed?
normally Open.

If I put the EStop like the switch the LinuxcNC is blocked 

How to fix it?

Thanks you so much

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

More
4 years 8 months ago - 4 years 8 months ago #234006 by PCW
OK for normally open switches you don't need inversion.
The error means that when linuxCNC homing detected the home switch,
stopped and then wanted to back-off the switch, it was already open.

Can LinuxCNC overrun the closed switch position at home?
 If so, you probably need to change the home switch mechanics
or slow the home search velocity. so it cannot overrun the closed
switch position.

On a 7I96, You should not set any of the GPIO 0 through 11 to outputs
It sounds like you may need to invert the EStop input polarity
Last edit: 4 years 8 months ago by PCW.

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

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