Hi Tom,
Ok, I will to connect with 47ohm to the pins 16-21 and with 0.1uF capacitor, that it is what I have.
I know because I'm running this code:I don't understand your statement about ReadBit(24) always reads true. How would you know that? it should be very simple. If the voltage at the pin is < 0.5V then the Digital IO Screen should show off, and ReadBit should return false. If those are not all correct then you are making a mistake somewhere. With noise the ReadBit may sometimes detect an invalid state, but not always.
Jog(AXIS,100);
while(!ReadBit(25));
Jog(AXIS,0);
And the motor, simply does not move, but it is history, I will to test with the rc filter, I have attached dthe diagram, can you help me to see if its ok?
Yes I'm sorry, it was because I was probing with pin 16-21. Thank you, I have added the missing connection .Note:your diagram doesn't show any connection to Bit 24. It also is missing one of the 5 input connections.
What about the GND connections of the last diagram? It is ok?
I have tried to connect the shield of the encoders to earth ground instead of GND in KFlop, together to the shield of the cables, and the noise reduces almost 30% with out the filter, but I dont know if that is ok or it can damage the encoders?
Thank you very much for your help and your patience!