I am running into some problems trying to trigger a camera to take a picture every 15 degrees when I spin the part I am looking at one full rotation. Here is what I am working with:
PLC-AB 1769-L18ERM-BB1B
Motor-AB TLY-A130T-HJ62AA TL-Series Servo 502.200/EA 502.20 Motor
Driver: AB 2097-V31PR0-LM
Rslogix 5000
Both the motor driver and camera connect to the PLC through ethernet IP. The problem I am having is that when I increase my speed and try to trigger the camera based on the encoder count, it will often not take the picture. I believe that the cause is that although the motor driver sees every encoder count, it does not send every encoder count to the PLC. I think it does not send data fast enough to the PLC for it to recognize the the encoder position was reached.
I have tried slowing the motor down, and looking for ranges of encoder counts instead of exact encoder counts. This helped but I am not able to get precise enough positions in the time I want. I think I need to find a way to increase the speed at which the PLC receives the encoder counts. Any tips on how to do this would be appreciated or please me know if there is a better way to approach this.
Thanks
PLC-AB 1769-L18ERM-BB1B
Motor-AB TLY-A130T-HJ62AA TL-Series Servo 502.200/EA 502.20 Motor
Driver: AB 2097-V31PR0-LM
Rslogix 5000
Both the motor driver and camera connect to the PLC through ethernet IP. The problem I am having is that when I increase my speed and try to trigger the camera based on the encoder count, it will often not take the picture. I believe that the cause is that although the motor driver sees every encoder count, it does not send every encoder count to the PLC. I think it does not send data fast enough to the PLC for it to recognize the the encoder position was reached.
I have tried slowing the motor down, and looking for ranges of encoder counts instead of exact encoder counts. This helped but I am not able to get precise enough positions in the time I want. I think I need to find a way to increase the speed at which the PLC receives the encoder counts. Any tips on how to do this would be appreciated or please me know if there is a better way to approach this.
Thanks