org.mbari.siam.distributed
Interface MotorControlIF


public interface MotorControlIF

Presents and interface implementing motor control. Used by ControlLoop to control FOCE fan motors. Using interface enables different motor controllers to be used; they need only implement this interface to be used by the ControlLoop.


Method Summary
 int getMotorFault()
          return detailed motor fault information.
 int getMotorStatus()
          return motor status.
 double getVelocity()
          get motor feedback velocity in rpm.
 void setEnable(boolean value, long timeoutMsec)
          enable/disable the motor.
 void setVelocity(double rpm)
          set motor velocity in rpm
 

Method Detail

setEnable

void setEnable(boolean value,
               long timeoutMsec)
               throws TimeoutException
enable/disable the motor.

Throws:
TimeoutException

setVelocity

void setVelocity(double rpm)
set motor velocity in rpm


getVelocity

double getVelocity()
get motor feedback velocity in rpm.


getMotorStatus

int getMotorStatus()
return motor status.


getMotorFault

int getMotorFault()
return detailed motor fault information.



Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.