I'm using a BEI (H37C-SS-2356-ABC-28V/V-SM16)quadrature rotary encoder (A/B) connected to the high speed inputs (A phase=X0, B phase=X1) of a FX1S Mitsubishi PLC. I'm using the high speed counter C251 (always enabled with M8000=PLC in RUN) to measure the feed length of a stamping machine. The encoder has a resolution of 2356 pulses/rev, so that each pulse represents 0.001" of material fed by the 3/4" feeding rolls (Diameter=Circunference/pi=2356/3.14=750 mils).
The problem I have is that instead of getting, for example, 1000 counts in the encoder per inch I'm getting 255. The count I get every cycle is 3.92 times less than I expect (is constant every cycle), even at low speed, or at different feed rates, but I need to be able to measure 0.001", that means, 1 count.
Any idea why I am getting less pulses every time?
Any test I can do to find the problem?
The problem I have is that instead of getting, for example, 1000 counts in the encoder per inch I'm getting 255. The count I get every cycle is 3.92 times less than I expect (is constant every cycle), even at low speed, or at different feed rates, but I need to be able to measure 0.001", that means, 1 count.
Any idea why I am getting less pulses every time?
Any test I can do to find the problem?