.

meiMotorEncoderRatio

Declaration

long meiMotorEncoderRatio(MPIControl           control,
                          long                 motorNumber,
                          long                 encoderNumber,
                          MEIMotorEncoderRatio *ratio)   
  Required Header: stdmei.h

Description

meiMotorEncoderRatio gets encoder ratio from the XMP.

For an example of how to configure this parameter, please refer to the encRatio.c sample application.

Controller firmware with the Encoder Ratio build option is required to use this feature. To determine if your controller firmware supports this feature, please check the Firmware Features Table.

 
Return Values
MPIMessageOK  
MPIMessageARG_INVALID  

See Also

encRatio.c

 

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