public interface EPOSController extends Actuator
| Modifier and Type | Method and Description |
|---|---|
String |
changeMode(CanOpenEPOS.EposMode newMode)
This methods changes the mode to the new mode given as an argument.
|
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 |
defineAbsolutePosition(int position)
Defines the actual position as the absolute position which value is given as an argument.
|
String |
enable() |
boolean |
isTargetPositionReached(int position) |
int |
readCurrent() |
int |
readPosition() |
void |
writeCurrent(int aValue)
In current mode this methods send a current to the motor.
|
void |
writeParameters(CanOpenEPOS.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, getReadValue, getSentCurrentMaxValue, getSentCurrentMinValue, getSentValue, isOff, isOn, off, onString changeMode(CanOpenEPOS.EposMode newMode) throws SDORequestException
newMode - SDORequestExceptionboolean checkMotorParameters()
throws EPOSConfigurationException,
SDORequestException,
ShortResponseToSDORequestException
EPOSConfigurationExceptionSDORequestExceptionShortResponseToSDORequestExceptionvoid defineAbsolutePosition(int position)
throws SDORequestException,
org.lsst.ccs.bus.ErrorInCommandExecutionException,
org.lsst.ccs.bus.BadCommandException
position - SDORequestExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionExceptionorg.lsst.ccs.bus.BadCommandExceptionvoid writeParameters(CanOpenEPOS.EposMode mode) throws SDORequestException, org.lsst.ccs.bus.ErrorInCommandExecutionException
mode - SDORequestExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionExceptionvoid 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 - SDORequestExceptionvoid 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.BadCommandExceptionEPOSConfigurationExceptionSDORequestExceptionboolean isTargetPositionReached(int position)
throws SDORequestException
SDORequestExceptionint readPosition()
throws SDORequestException,
ShortResponseToSDORequestException
int readCurrent()
throws org.lsst.ccs.bus.BadCommandException,
SDORequestException
org.lsst.ccs.bus.BadCommandExceptionSDORequestExceptionString enable() throws SDORequestException
SDORequestExceptionCopyright © 2014 LSST. All rights reserved.