Homing Issue "home switch inactive before backoff"

More
4 years 4 months ago #245657 by strahlensauger
The NC and the NO are wired exactly the same,
you only need a pullup resistor if you have NPN sensors. For PNP
it is
brown is positive
blue is negative
and black is input goes to the Mesa
you just need to invert the signal in the hal file as you did.

What is the error message?
 

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

More
4 years 4 months ago - 4 years 4 months ago #245775 by little_sparky
Update: I was able to successfully wire the sensor and invert the signal, however... it appears the issue must lie deeper.

I wired the sensor directly to the terminals inside the control cabinet to bypass any issues with cables, noise from motors etc and I still get the same issue.I ran halscope to see what was going on and this is what I found.

1. The signal starts out flat 

 

but then it turns into this when I move it towards some metal, which I am not sure how to interpret.

 

Could this be something to do with the 7i76e board? Perhaps the terminal is fried or the ethernet cable is no good? I am unsure where to look next, however I am thinking I might purchase a new ethernet cable, even though the one I have now is not that old. Tomorrow I will play around with swapping some of the pins around to try and eliminate this issue.

Any help of guidance is very much appreciated.
Last edit: 4 years 4 months ago by little_sparky.

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

More
4 years 4 months ago #245781 by tommylight
Sparky, chasing issues where there is none is not helping you, leme explain:
-if the cable is not good, LinuxCNC might start but will loose connection at random, or not start at all
-if the Mesa board has no power or is dead, you will not be able to start LinuxCNC as it would not find the board,
-if the terminal is "fried" you would see it, it takes a lot of current to destroy the connectors Mesa uses, and there would be smoke
-the scope you provided shows Mesa and LinuxCNC working properly,
-
-change the sensor,
-check the sensor cable
-check the sensor power and power cable
-check the sensor top side for embedded metal shavings
-check the wires where they enter the connectors on the Mesa board
-if they are terminated with ferules, cut the ferules and try without them
-
---this last one is from experience, some people fold the thin wire and insert it into the ferule so it can grip better, then cut the top of the ferule when they find out it sticks out of the connector, loosing all contact. :)

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

More
4 years 4 months ago - 4 years 4 months ago #245798 by PCW
I would add that you should check the signal levels (with a voltmeter) at the
7I76E input to see if they are valid.

They should be close to 0V in one state and close to field voltage in the other state,
and never anywhere close to 1/2 of the field voltage (the input threshold)
Last edit: 4 years 4 months ago by PCW. Reason: sp

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

Moderators: snowgoer540
Time to create page: 0.091 seconds
Powered by Kunena Forum