getMotorPos

u32 getMotorPos (u8 motionID, u8 stCh)

motionID : The ID of the Motion Control Module
stCh: The channel on the Motion Control Module (0 or 1)
Returns the motor's current position

Gets the motor's current position. The motor is identified by the ID of the Motion Control Module, motionID, and the module's channel, stCh.

MOACON home