|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
org.lsst.ccs.framework.Module
org.lsst.ccs.subsystems.fcs.LatchActuatorModule
org.lsst.ccs.subsystems.fcs.drivers.CanOpenLatchActuatorModule
public class CanOpenLatchActuatorModule
This is a model for a motor which locks or unlocks a latch. The motor is driven by a CAN-CBX-AO412. We sent to the CAN-CBX-AO412 a current value.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.lsst.ccs.framework.Module |
|---|
org.lsst.ccs.framework.Module.ValueUpdate |
| Nested classes/interfaces inherited from interface org.lsst.ccs.framework.Configurable |
|---|
org.lsst.ccs.framework.Configurable.Environment |
| Field Summary |
|---|
| Fields inherited from class org.lsst.ccs.subsystems.fcs.LatchActuatorModule |
|---|
speedVoltageMaxValue, speedVoltageMinValue |
| Fields inherited from class org.lsst.ccs.framework.Module |
|---|
environment, log, name, nObserverThreads, registry, tickMillis |
| Constructor Summary | |
|---|---|
CanOpenLatchActuatorModule()
|
|
| Method Summary | |
|---|---|
String |
close()
This is the command that has to be sent to the latch actuator to close the latch it (same as lock it). |
CanOpenDAC |
getDac()
|
int |
getNumOfAnalogOutputForCurrentLimit()
|
int |
getNumOfAnalogOutputForSpeedVoltage()
|
void |
initModule()
|
String |
open()
This is the command that has to be sent to the latch actuator to open the latch (same as unlock it). |
String |
powerOff()
Power off the latch actuator. |
void |
setDac(CanOpenDAC dac)
|
void |
setNumOfAnalogOutputForCurrentLimit(int numOfAnalogOutputForCurrentLimit)
|
void |
setNumOfAnalogOutputForSpeedVoltage(int numOfAnalogOutputForSpeedVoltage)
|
| Methods inherited from class org.lsst.ccs.subsystems.fcs.LatchActuatorModule |
|---|
getCurrentLimitInVolt, getSpeedVoltageInVolt, getSpeedVoltageMaxValue, getSpeedVoltageMinValue, setCurrentLimitInVolt, setSpeedVoltageInVolt, setSpeedVoltageMaxValue, setSpeedVoltageMinValue |
| Methods inherited from class org.lsst.ccs.framework.Module |
|---|
change, checkHardware, dropConfigurationContext, getCheckedValueFromConfiguration, getChildren, getContext, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, newConfigurationContext, notifyChange, notifyChangeWithoutPreliminaryChecks, processUpdate, publishData, publishData, publishData, publishData, register, register, sendToReply, sendToStatus, setBeanName, setContext, setEnvironment, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, setTickMillis, shutdownCommand, shutdownNow, start, startTicking, tick, update |
| Methods inherited from class java.util.Observable |
|---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CanOpenLatchActuatorModule()
| Method Detail |
|---|
public int getNumOfAnalogOutputForSpeedVoltage()
public void setNumOfAnalogOutputForSpeedVoltage(int numOfAnalogOutputForSpeedVoltage)
public int getNumOfAnalogOutputForCurrentLimit()
public void setNumOfAnalogOutputForCurrentLimit(int numOfAnalogOutputForCurrentLimit)
public CanOpenDAC getDac()
public void setDac(CanOpenDAC dac)
public void initModule()
initModule in class org.lsst.ccs.framework.Module
public String open()
throws org.lsst.ccs.bus.BadCommandException,
org.lsst.ccs.bus.ErrorInCommandExecutionException,
HardwareError
LatchActuatorModule
open in class LatchActuatorModuleorg.lsst.ccs.bus.BadCommandException
org.lsst.ccs.bus.ErrorInCommandExecutionException
HardwareError
public String close()
throws org.lsst.ccs.bus.BadCommandException,
org.lsst.ccs.bus.ErrorInCommandExecutionException,
HardwareError
LatchActuatorModule
close in class LatchActuatorModuleorg.lsst.ccs.bus.BadCommandException
org.lsst.ccs.bus.ErrorInCommandExecutionException
HardwareError
public String powerOff()
throws org.lsst.ccs.bus.BadCommandException,
org.lsst.ccs.bus.ErrorInCommandExecutionException,
HardwareError
LatchActuatorModule
powerOff in class LatchActuatorModuleorg.lsst.ccs.bus.BadCommandException
org.lsst.ccs.bus.ErrorInCommandExecutionException
HardwareError
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||