Hello,
Currently I am running a BX-DM1E-10ED13-D PLC with a HSIO-2 Card. I had my program running just fine, but I decided to add an encoder. TRDA-20R1N2500 RZD (2500 PPR). I am also using a ClearPath Servo that has 800 PPR.
The issue I am having is after I tell my servo to do a HOME function based on the encoder input counts, it goes to the limit switch than immediately starts running to the offset position. I am using encoder counts.
I have also found that the encoder counts do not match the counts I input the servo to move. The last time I ran my project I told it to run -100 ppr. The encoders actual value read -2000 +/-.
Now, I have found that my issue is in the AXCONFIG. It has something to do with the encoder check box section. In the Do-more videos under using an encoder, it tells us to take our motor ppr/encoder ppr to make them match. That is what I have done. Motor PPR is 800/2500 encoder ppr =.32. This is where the issue is.
I think I am missing something with either my math, or my setup in the HSIO card. When I set the card up I am using the "Quad" feature, and X4 as well. This should be all that needs to be enabled. So, I feel it is in the math portion.
Thanks for your help in advance.