MPI 04.00 Reference >> mpiMotor

mpiMotorAmpWarning

Declaration

long mpiMotorAmpWarning(MPIMotor             motor,
                        MPIMotorAmpWarnings  *warning);

Required Header: stdmpi.h

Description

mpiMotorAmpWarning reads the amp warning buffer from a motor and writes the data into a structure pointed to by warning.

motor a handle to the Motor object
*warning a pointer to a structure containing the number of amp warnings, their coded values and message strings. See MPIMotorAmpWarnings.
Return Values
MPIMessageOK

See Also

mpiMotorAmpWarningClear | mpiMotorAmpFault | mpiMotorAmpFaultClear