MPIAxisGearDataType

Declaration

typedef enum MPIAxisGearDataType {
    MPIAxisGearDataTypeINVALID = -1,

    MPIAxisGearDataTypeDELTA,
    MPIAxisGearDataTypeDOUBLE,

    MPIAxisGearDataTypeEND,
    MPIAxisGearDataTypeFIRST = MPIAxisGearDataTypeINVALID + 1,
    MPIAxisGearDataTypeCOUNT = MPIAxisGearDataTypeEND - MPIAxisGearDataTypeFIRST
} MPIAxisGearDataType;

Required Header: axis.h

Change History: Added in 04.00.

Description

MPIAxisGearDataType specifies the source data type of an axis’ fixed-gearing master.

MPIAxisGearDataTypeDELTA The source data type of the master is a 32-bit integer that represents the change in the master’s position from the previous servo sample.  This is usually used when interfacing with encoders.
MPIAxisGearDataTypeDOUBLE The source data type of the master is a double-precision floating point number representing the master’s position.

See Also

MPIAxisMasterDataCustom | MPIAxisMasterDataUserBuffer