.

MEIMotorEncoderReverseModulo

Definition

 
typedef struct MEIMotorEncoderReverseModulo {
    long    *Ptr;   /* XMP Address */
    long    Rollover;
} MEIMotorEncoderReverseModulo;

Description

MEIMotorEncoderReverseModulo is used to program the firmware to calculate a 32-bit encoder position based off of the data that is pointed to by *Ptr. Each sample, the firmware calculates a delta from the data that is pointed to by *Ptr and the Rollover value. This delta is added to a 32-bit counter to create a 32-bit position.

NOTE: Custom Firmware is required to support this data type.

WARNING: mpiMotorFeedback(...) is not supported when using a non-zero modulo value. Capture is NOT supported when using a non-zero modulo value.

 
*Ptr

a pointer to the XMP address.

Rollover

the value is the resolution of the incoming data pointed to by *Ptr.

See Also

 

 

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2021 Motion Engineering