MPI 04.00 Reference >> mpiMotor

mpiMotorDemandModeGet

Declaration

mpiMotorDemandModeGet(MPIMotor            motor, 
                      MPIMotorDemandMode  *mode)

Required Header: stdmpi.h
Change History:
Added in 03.04.07

Description

mpiMotorDemandModeGet get the current demand mode for the specified motor. For a detailed explanation of how demand modes work, see SynqNet Demand Modes.

This function duplicates part of the functionality of mpiMotorConfigGet.

motor A handle to a motor object
mode The address of where the current demand mode will be returned.
Return Values
MPIMessageOK

See Also

MPIMotorDemandMode | mpiMotorConfigGet | mpiModeDemandModeSet | MPIMotorConfig | SynqNet Demand Modes | SynqNet Demand Mode Switching