MPI 04.00 Reference >> mpiMotor
MPIMotorFeedback
Definition
typedef struct MPIMotorFeedback {
MPIMotorFeedbackType type;
MPI_BOOL phaseReversed; /* FALSE => normal, else reversed */
MPI_BOOL filterDisable; /* FALSE => quad filter enabled, else not enabled */
MPIMotorFeedbackRatio ratio;
MPIMotorFeedbackModulo modulo;
MPIMotorFeedbackSsiConfig ssiConfig;
} MPIMotorFeedback;
Required Header: stdmpi.h
Change History: Modified in 04.00 (formerly MPIMotorEncoder).
Description
MPIMotorFeedback is a structure containing the configurations for the feedback inputs for a motor.
| filterDisable† | Enables/Disables the use of filters on the encoder signal. |
|---|---|
| ratio | Custom firmware required prior to MPI version 03.04.XX. Encoder feedback ratio for scaling. |
| modulo | Custom firmware required prior to MPI version 03.04.XX. Reverse modulo value for the encoder to handle rollover. |
| ssiConfig | A structure to configure the motor feedback for SSI (Synchronous-Serial Interface). Only use ssiConfig when the MPIMotorFeedbackType is configured for MPIMotorEncoderTypeSSI. |
| † - If you attempt to change this value and hardware is not connected, an error message will be returned. | |
See Also
Error Limit and Limit Switch Errors | mpiMotorCreate | MPIMotorFeedbackType
