MPI 04.00 Reference >> mpiMotor

mpiMotorDemandModeAnalogOutput

Declaration

mpiMotorDemandModeAnalogOutput(MPIMotor  motor,
                               double    *output);

 

Required Header: stdmpi.h

Change History: Added in 04.00.

Description

mpiMotorDemandModeAnalogOutput reads the motor’s output from the controller and writes it into the value pointed to by output. mpiMotorDemandModeAnalogOutput is valid for a motor configured for the ANALOG demand mode.

Only SynqNet RMBs support the ANALOG demand mode.  SynqNet drives supports TORQUE and VELOCITY mode, depending on the drive.

motor A handle to a motor object.
output An analog demand output value. The valid range is -10 to +10 volts.
Return Values
MPIMessageOK
MPIMotorMessageMOTOR_INVALID

See Also

Example – Read the motor’s analog demand output.
double output; MPIMotorDemandMode mode; mpiMotorDemandModeGet(motor, &mode);
if (mode == MPIMotorDemandModeANALOG) { mpiMotorDemandModeAnalogOutput(motor, &output); }

See Also

mpiMotorConfigGet | mpiMotorConfigSet | mpiMotorDemandModeGet | mpiMotorDemandModeSet