org.lsst.ccs.subsystems.fcs.drivers
Class ClampActuatorModule
java.lang.Object
java.util.Observable
org.lsst.ccs.framework.Module
org.lsst.ccs.subsystems.fcs.drivers.ClampActuatorModule
- All Implemented Interfaces:
- java.io.Serializable, java.util.Observer, Actuator
public abstract class ClampActuatorModule
- extends org.lsst.ccs.framework.Module
- implements Actuator
This is a model for the clamp actuator in the Single Filter Test.
The actuator is used to unlock or release a clamp.
To unlock a clamp, the actuator must be ON and to release the clamp
it has to be OFF.
There is 2 clamps actuators on the carousel :
one for side X-, one for side X+
For the Single Filter Test the actuator will be Maxon Motor EPOS2 24/5
There is many operation modes for this actuators.
For the Single Filter Test, we will use VELOCITY mode or CURRENT mode.
- Author:
- virieux
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from class org.lsst.ccs.framework.Module |
org.lsst.ccs.framework.Module.ValueUpdate |
| Fields inherited from class org.lsst.ccs.framework.Module |
log, name, nObserverThreads, registry, tickMillis |
| Methods inherited from class org.lsst.ccs.framework.Module |
getContext, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, processUpdate, publishData, publishData, publishData, publishData, sendToReply, sendToStatus, setBeanName, setContext, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, setTickMillis, shutdownNow, start, 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 |
ClampActuatorModule
public ClampActuatorModule(int nodeID,
int inputID)
getCurrentValue
public int getCurrentValue()
- Returns:
- the currentValue
setCurrentValue
public void setCurrentValue(int currentValue)
- Parameters:
currentValue - the currentValue to set
getVelocityValue
public int getVelocityValue()
- Returns:
- the velocityValue
setVelocityValue
public void setVelocityValue(int velocityValue)
- Parameters:
velocityValue - the velocityValue to set
initModule
public void initModule()
- Overrides:
initModule in class org.lsst.ccs.framework.Module
enable
public void enable()
setMaxiVelocity
public void setMaxiVelocity(int velocity)
setMaxiAcceleration
public void setMaxiAcceleration(int acceleration)
setVelocity
public void setVelocity()
throws org.lsst.ccs.bus.BadCommandException
- Throws:
org.lsst.ccs.bus.BadCommandException
stopVelocity
public void stopVelocity()
throws org.lsst.ccs.bus.BadCommandException
- Throws:
org.lsst.ccs.bus.BadCommandException
setCurrent
public void setCurrent()
throws org.lsst.ccs.bus.BadCommandException
- Throws:
org.lsst.ccs.bus.BadCommandException
stopCurrent
public void stopCurrent()
throws org.lsst.ccs.bus.BadCommandException
- Throws:
org.lsst.ccs.bus.BadCommandException
quickStop
public void quickStop()
on
public java.lang.String on()
- Specified by:
on in interface Actuator
off
public java.lang.String off()
- Specified by:
off in interface Actuator
isOn
public boolean isOn()
- Specified by:
isOn in interface Actuator
isOff
public boolean isOff()
- Specified by:
isOff in interface Actuator
writeDAC
public int writeDAC(int index,
int subindex,
int newValue)
Copyright © 2012 LSST. All Rights Reserved.