NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
#define RotationCountField   14

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.