Motor Objects

Introduction

A Motor object manages a single motor on a controller. It represents the physical connections between the motor, drive, and associated I/O. The Motor object contains encoder data, limit switch, home sensor, amp fault and amp enable states, DAC outputs, and other status information.

For simple systems, there is a one-to-one relationship between the Axis, Filter and Motor objects.

| Error Messages |

Methods

Create, Delete, Validate Methods
mpiMotorCreate  
mpiMotorDelete  
mpiMotorValidate  

Configuration and Information Methods
mpiMotorAmpEnableGet  
mpiMotorAmpEnableSet  
mpiMotorAmpFault  
mpiMotorAmpFaultClear  
mpiMotorAmpWarning  
mpiMotorAmpWarningClear  
mpiMotorCommutationModeGet  
mpiMotorCommutationModeSet  
mpiMotorConfigGet  
mpiMotorConfigSet  
mpiMotorDedicatedIn
mpiMotorDedicatedOutGet
mpiMotorDemandModeAnalogOffsetGet  
mpiMotorDemandModeAnalogOffsetSet  
mpiMotorDemandModeAnalogOutput  
mpiMotorDemandModeDualAnalogOffsetGet  
mpiMotorDemandModeDualAnalogOffsetSet  
mpiMotorDemandModeDualAnalogOutput  
mpiMotorDemandModeGet  
mpiMotorDemandModeSet  
mpiMotorDemandModeTorqueOffsetGet  
mpiMotorDemandModeTorqueOffsetSet  
mpiMotorDemandModeTorqueOutput  
mpiMotorDemandModeVelocityOffsetGet  
mpiMotorDemandModeVelocityOffseSet  
mpiMotorDemandModeVelocityOutput  
mpiMotorFeedback  
mpiMotorFeedbackRatio
mpiMotorGeneralIn
mpiMotorGeneralOutGet
mpiMotorGeneralOutSet
mpiMotorInfo  
mpiMotorLimitConfigGet
mpiMotorLimitConfigSet
mpiMotorPhaseFindStatus
mpiMotorPositionFeedbackOffsetGet
mpiMotorPositionFeedbackOffsetSet
mpiMotorStatus  

Event Methods
mpiMotorEventNotifyGet  
mpiMotorEventNotifySet  
mpiMotorEventReset  

Memory Methods
mpiMotorMemory  
mpiMotorMemoryGet  
mpiMotorMemorySet  

Action Methods
mpiMotorFeedbackReset  
mpiMotorMultiTurnReset  
mpiMotorPhaseFindAbort
mpiMotorPhaseFindStart

Relational Methods
mpiMotorControl  
mpiMotorNumber  

Data Types

MPIMotorAmpFaults
MPIMotorAmpFaultMsg
MPIMotorAmpWarnings
MPIMotorAmpWarningMsg
MPIMotorBrake
MPIMotorBrakeMode
MPIMotorCommutationBlockConfig
MPIMotorCommutationMode
MPIMotorConfig
MPIMotorDedicatedIn
MPIMotorDedicatedOut
MPIMotorDemandMode
MPIMotorDisableAction
MPIMotorFaultBit
MPIMotorFaultConfig
MPIMotorFaultMask
MPIMotorFeedback
MPIMotorFeedbackFault
MPIMotorFeedbackModulo
MPIMotorFeedbackRatio
MPIMotorFeedbackSsiConfig
MPIMotorFeedbackStatusBit
MPIMotorFeedbackStatusMask
MPIMotorFeedbackType
MPIMotorFeedbackValues
MPIMotorGeneralIo
MPIMotorInfo
MPIMotorInfoDedicatedIn
MPIMotorInfoDedicatedOut
MPIMotorInfoGeneralIo
MPIMotorInfoNodeType
MPIMotorIoConfig
MPIMotorIoConfigIndex
MPIMotorIoMask
MPIMotorIoType
MPIMotorIoTypeMask
MPIMotorLimitConfig
MPIMotorLimitTrigger
MPIMotorLimitType
MPIMotorPhaseFindDriveMsg
MPIMotorPhaseFindState
MPIMotorPhaseFindStatus
MPIMotorSsiInput
MPIMotorStatus
MPIMotorStatusOutput
MPIMotorStepper
MPIMotorStepperPulse
MPIMotorStepperPulseType
MPIMotorStepperStatus
MPIMotorType

Constants

MPIMotorAmpFaultsMAX
MPIMotorAmpMsgMAX
MPIMotorAmpWarningsMAX
MPIMotorDemandChannelCOUNT
MPIMotorMAX_FEEDBACKS
MPIMotorStatusOutputs