Rotation counter field. Contains the current rotation count. Read only. Return the program-relative position counter value for the specified port. Refer to the UpdateFlagsField description for information about how to use program-relative position counts. Set the UF_UPDATE_RESET_ROTATION_COUNT flag in UpdateFlagsField to request that the firmware reset the RotationCountField. The sign of RotationCountField indicates the direction of rotation. Positive values indicate forward rotation and negative values indicate reverse rotation. Forward and reverse depend on the orientation of the motor. |