
public interface EPOSController extends Actuator, PieceOfHardware
| Modifier and Type | Method and Description |
|---|---|
void |
activateBrake() |
String |
changeMode(EPOSEnumerations.EposMode newMode)
This methods changes the mode to the new mode given as an argument.
|
void |
checkFault() |
boolean |
checkMotorParameters()
This methods read the parameters of the motor stored in the actuator
(hardware configuration)and compare with the configuration stored in the
Configuration Data Base (software configuration).
|
void |
checkParameters(EPOSEnumerations.EposMode aMode) |
void |
checkParameters(String modeInString)
For every parameter to be defined for this mode this method compares the values
in configuration with the value stored in controller CPU
and throws a HardwareException if these values are not equal.
|
boolean |
checkTargetReached() |
void |
defineAbsolutePosition(int position)
Defines the actual position as the absolute position which value is given as an argument.
|
String |
displayErrorHistory() |
String |
enable() |
String[] |
getErrorHistory() |
String |
getErrorRegister() |
int |
getMaxCurrent() |
int |
getMaxPosition() |
int |
getMaxSpeed() |
int |
getMinCurrent() |
int |
getMinPosition() |
String |
getModeInString() |
Map<String,Integer> |
getParamsForCurrent() |
Map<String,Integer> |
getParamsForHoming() |
Map<String,Integer> |
getParamsForProfilePosition() |
boolean |
isEnabled() |
boolean |
isEnabledToPublish() |
boolean |
isInError() |
boolean |
isTargetPositionReached(int position) |
void |
quickStop() |
int |
readCurrent() |
EPOSEnumerations.EposMode |
readMode() |
int |
readNumberOfErrors() |
String |
readParameters(EPOSEnumerations.EposMode mode) |
int |
readPosition() |
int |
readProfileVelocity() |
int |
readSSIPosition() |
void |
releaseBrake() |
void |
setOn(boolean on) |
String |
shutdown() |
void |
switchOnEnableOperation() |
void |
writeControlWord(String f) |
void |
writeCurrent(int aValue)
In current mode this methods send a current to the motor.
|
String |
writeParameterInHexa(EPOSEnumerations.Parameter parameter,
String string) |
void |
writeParameters(EPOSEnumerations.EposMode mode)
This methods writes in the CPU of the EPOS devis the values of the parameters set for the mode.
|
void |
writeParameters(Map<String,Integer> paramMap)
Write to the CPU of the EPOS a map of parameters.
|
void |
writeTargetPosition(int aValue)
In PROFILE_POSITION mode this methods set the target position.
|
getName, getReadActualCurrent, getSentCurrentMaxValue, getSentCurrentMinValue, getSentCurrentValue, isOff, isOn, off, ongetName, getNodeID, getSerialNB, initializeHardware, isBooted, isInitialized, setBootedvoid setOn(boolean on)
int getMaxCurrent()
int getMinCurrent()
int getMaxSpeed()
int getMaxPosition()
int getMinPosition()
String changeMode(EPOSEnumerations.EposMode newMode) throws SDORequestException
newMode - SDORequestExceptionboolean checkMotorParameters()
throws EPOSConfigurationException,
SDORequestException,
ShortResponseToSDORequestException
EPOSConfigurationExceptionSDORequestExceptionShortResponseToSDORequestException@Command(type=ACTION, level=1, description="Defines the actual position as the absolute position which value is given as an argument.") void defineAbsolutePosition(int position) throws SDORequestException, org.lsst.ccs.bus.ErrorInCommandExecutionException, org.lsst.ccs.bus.BadCommandException
position - SDORequestExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionExceptionorg.lsst.ccs.bus.BadCommandExceptionint readNumberOfErrors()
throws SDORequestException,
ShortResponseToSDORequestException
String displayErrorHistory() throws SDORequestException, ShortResponseToSDORequestException
void checkFault()
throws SDORequestException,
ShortResponseToSDORequestException,
FcsHardwareException
void writeParameters(EPOSEnumerations.EposMode mode) throws SDORequestException, org.lsst.ccs.bus.ErrorInCommandExecutionException
mode - SDORequestExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionException@Command(type=ACTION, level=1, description="In PROFILE_POSITION mode this methods set the target position.") void writeTargetPosition(int aValue) throws org.lsst.ccs.bus.BadCommandException, SDORequestException
aValue - UNIT=mA / FORMAT=decimal the value of the current to be sent.org.lsst.ccs.bus.BadCommandExceptionSDORequestExceptionvoid writeParameters(Map<String,Integer> paramMap) throws SDORequestException
paramMap - SDORequestException@Command(type=ACTION, level=1, description="In current mode this methods send a current to the motor.") void writeCurrent(int aValue) throws org.lsst.ccs.bus.BadCommandException, EPOSConfigurationException, SDORequestException
aValue - UNIT=mA / FORMAT=decimal the value of the current to be sent.org.lsst.ccs.bus.BadCommandExceptionEPOSConfigurationExceptionSDORequestException@Command(type=QUERY, level=1, description="Return true if the target position has been reached.") boolean isTargetPositionReached(int position) throws SDORequestException, ShortResponseToSDORequestException
int readPosition()
throws SDORequestException,
ShortResponseToSDORequestException
int readSSIPosition()
throws SDORequestException,
ShortResponseToSDORequestException
int readCurrent()
throws org.lsst.ccs.bus.BadCommandException,
SDORequestException,
ShortResponseToSDORequestException
org.lsst.ccs.bus.BadCommandExceptionSDORequestExceptionShortResponseToSDORequestExceptionString readParameters(EPOSEnumerations.EposMode mode) throws SDORequestException, ShortResponseToSDORequestException
int readProfileVelocity()
throws SDORequestException,
ShortResponseToSDORequestException
String enable() throws SDORequestException
SDORequestExceptionboolean isEnabled()
throws SDORequestException
SDORequestExceptionEPOSEnumerations.EposMode readMode() throws SDORequestException, ShortResponseToSDORequestException
void quickStop()
throws SDORequestException
SDORequestExceptionvoid checkParameters(String modeInString) throws org.lsst.ccs.HardwareException, FcsHardwareException, SDORequestException, ShortResponseToSDORequestException
modeInString - org.lsst.ccs.HardwareExceptionSDORequestExceptionShortResponseToSDORequestExceptionFcsHardwareExceptionvoid checkParameters(EPOSEnumerations.EposMode aMode) throws org.lsst.ccs.HardwareException, FcsHardwareException, SDORequestException, ShortResponseToSDORequestException
org.lsst.ccs.HardwareExceptionFcsHardwareExceptionSDORequestExceptionShortResponseToSDORequestExceptionvoid writeControlWord(String f) throws SDORequestException
SDORequestExceptionString shutdown() throws SDORequestException
SDORequestExceptionboolean checkTargetReached()
throws SDORequestException,
ShortResponseToSDORequestException
void activateBrake()
throws SDORequestException,
ShortResponseToSDORequestException
void releaseBrake()
throws SDORequestException,
ShortResponseToSDORequestException
void switchOnEnableOperation()
throws SDORequestException
SDORequestExceptionboolean isEnabledToPublish()
boolean isInError()
String getErrorRegister()
String[] getErrorHistory()
String getModeInString()
String writeParameterInHexa(EPOSEnumerations.Parameter parameter, String string) throws SDORequestException
SDORequestExceptionCopyright © 2015 LSST. All rights reserved.