I have a simple servo motion control program to move a servo 360 degrees. Also, the system has a home sensor to find the start point for rotation. I am using the pulse output to count the position and I am not using encoder feedback to verify position (if the servo looses position I get a discrete input indicating such).
However, I needed to change the homing routine so that it could be offset from the home sensor by around 100 counts instead of the current method to stop on the leading edge of the sensor signal. I used the built-in option to do this contained within the home function. But, now immediately after homing completes and it sets the success bit the pulse output goes to full speed as defined within the axis configuration. The servo will spin at full speed until I switch the mode toggle on the PLC to stop. There is no other active move within the code that would cause this. I changed the homing routine back to stop on the leading edge of the home sensor and the issue does not occur. So, currently that is that way that it is running, however I do need to offset from the home sensor for optimum utilization.
Any thoughts?
Scott Sutton