I have an encoder connected to a cnc board. there is an intermittent problem with either a cord to an encoder or the board. If the problem arises, all you have to do is push lightly on the connection and it will go again for hours, days, weeks ... who knows. I took the plug on the cord apart and checked the connections ... I don't think it's the cord but I don't know for certain.
I rigged up a short cord that connects between the board and the encoder with LEDs each drawing a little less than a milliamp, connected between each of the pulse and quadrature pins and ground, and 5vdc and ground.
When I plugged it into the board before plugging the cord into it, all the LEDS lit up. when the encoder turns all the LEDs except the 5vdc flicker.
I thought this was going to show which was bad ...the board or the cord, but now, except for the 5vdc, I don't know exactly what I'm looking at.
Apparently pins on the board float high, and the encoder pulls the signals down.
Finally the question... When this thing quits, what will I see that will differentiate between the cord and the board?
I rigged up a short cord that connects between the board and the encoder with LEDs each drawing a little less than a milliamp, connected between each of the pulse and quadrature pins and ground, and 5vdc and ground.
When I plugged it into the board before plugging the cord into it, all the LEDS lit up. when the encoder turns all the LEDs except the 5vdc flicker.
I thought this was going to show which was bad ...the board or the cord, but now, except for the 5vdc, I don't know exactly what I'm looking at.
Apparently pins on the board float high, and the encoder pulls the signals down.
Finally the question... When this thing quits, what will I see that will differentiate between the cord and the board?