I have a Kinetix 5500 servo with a CompactLogix PLC. In a lot of my sequences, I'd like to check if the servo is at some specific position. The problem is that I can't just say if Axis.ActualPosition = 60, since the servo will likely be something close to, but not exactly, 60. Perhaps something like 60.002. Is there an easy way to check this? I'd like to avoid manually programming a check that sees if the position is with +/- of some predefined distance from the nominal position.
I was thinking maybe I could check the Axis.CommandPosition along with some other tag that tells me if the servo is at VelocityStandstillStatus at the commanded position, but I can't find anything.
I know that Beckhoff has something that does this called something like Axis.InTargetPosition.
Thanks
I was thinking maybe I could check the Axis.CommandPosition along with some other tag that tells me if the servo is at VelocityStandstillStatus at the commanded position, but I can't find anything.
I know that Beckhoff has something that does this called something like Axis.InTargetPosition.
Thanks