public class AutoChangerModule extends BasicAutoChangerModule
carousel, closingLatches, latchesState, openingLatches, publishedByAutoChangerOutputName, state, timeoutForClosingLatches, timeoutForOpeningLatches, timeToWaitForCompleteClose, timeToWaitForCompleteOpen, truckXminus, truckXplus, updatingLatchescurrentAction, haltRequired, itemMoving, lock, motionCompleted| Constructor and Description |
|---|
AutoChangerModule(FilterLatch onlineClamp,
double trucksPositionOnline,
double trucksPositionAtStandby,
double trucksPositionSwapout,
Motor motor,
String moduleName,
int aTickMillis,
FilterLatchModule latchXminus,
FilterLatchModule latchXplus,
TruckModule truckXminus,
TruckModule truckXplus,
String railsSensorsDIOName,
String filterSensorsDIOName) |
checkPreConditionsForTrucksMotion, closeLatchesAtStandby, getFilterOnTrucks, getFilterOnTrucksName, getFilterSensorsDIO, getFilterSensorsDIOName, getLatchesState, getLatchXminus, getLatchXplus, getRailsSensorsDIO, getRailsSensorsDIOName, getState, getTrucksLocation, getTruckXminus, getTruckXplus, grabFilterAtHandoff, grabFilterAtStandby, isActionCompleted, isAtHandoff, isAtStandback, isHoldingFilterAtStandback, isHoldingFilterAtStandby, isOnline, isTrucksEmpty, openLatchesAtHandoff, openLatchesAtStandby, postAction, processUpdate, publishAutoChangerData, publishData, publishDataAndNotifyObservers, setFilterOnTrucks, setFilterSensorsDIOName, setRailsSensorsDIOName, setState, setTimeoutForClosingLatches, setTimeoutForOpeningLatches, setTimeToWaitForCompleteClose, setTimeToWaitForCompleteOpen, setTrucksEmpty, startAction, stopAction, tick, toString, ungrabFilterAtHandoff, ungrabFilterAtStandby, updateLatchesStateWithSensors, updateStateWithSensorsToCheckIfActionIsCompleted, updateTrucksLocationWithSensorsabort, abort, executeAction, isItemMoving, readSensorsUntilActionIsCompleted, signal, stopalias, change, checkHardware, dropConfigurationContext, getCheckedValueFromConfiguration, getChildren, getComponentByName, getComponentDictionariesTree, getComponentTree, getContext, getDictionary, getEnvironment, getMainDictionary, getModule, getName, getNObserverThreads, getObservables, getParent, getSubsystem, getTickMillis, init, listens, newConfigurationContext, notifyChange, notifyChangeWithoutPreliminaryChecks, percolateSignal, publish, publish, publish, publish, publish, publish, publishData, publishData, publishData, publishData, publishData, publishData, publishData, register, sendSignal, sendSignal, sendToReply, sendToStatus, setBeanName, setContext, setEnvironment, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, setTickMillis, shutdownCommand, shutdownNow, start, startTicking, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic AutoChangerModule(FilterLatch onlineClamp, double trucksPositionOnline, double trucksPositionAtStandby, double trucksPositionSwapout, Motor motor, String moduleName, int aTickMillis, FilterLatchModule latchXminus, FilterLatchModule latchXplus, TruckModule truckXminus, TruckModule truckXplus, String railsSensorsDIOName, String filterSensorsDIOName)
public void initModule()
initModule in class BasicAutoChangerModulepublic StatusDataPublishedByAutoChanger getStatusData()
getStatusData in class BasicAutoChangerModulepublic String closeOnlineClamp() throws org.lsst.ccs.bus.ErrorInCommandExecutionException
org.lsst.ccs.bus.ErrorInCommandExecutionExceptionpublic String openOnlineClamp() throws org.lsst.ccs.bus.ErrorInCommandExecutionException
org.lsst.ccs.bus.ErrorInCommandExecutionExceptionpublic FilterLatch getOnlineClamp()
public void setOnlineClamp(FilterLatch onlineClamp)
public String goToPosition(double requiredPosition) throws IllegalArgumentException, org.lsst.ccs.bus.BadCommandException
requiredPosition - the position the trucks will have at the end of the
execution this method if every thing works fine.
It implies the autochanger motor.IllegalArgumentExceptionorg.lsst.ccs.bus.BadCommandException@Deprecated public String stopAutochanger()
public String moveFilterToOnline(Filter aFilter) throws org.lsst.ccs.bus.BadCommandException, org.lsst.ccs.bus.ErrorInCommandExecutionException
org.lsst.ccs.bus.BadCommandExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionExceptionpublic String moveFilterToStandby(Filter aFilter) throws org.lsst.ccs.bus.BadCommandException, org.lsst.ccs.bus.ErrorInCommandExecutionException
moveFilterToStandby in interface AutoChangermoveFilterToStandby in class BasicAutoChangerModuleorg.lsst.ccs.bus.BadCommandExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionExceptionpublic Filter getFilterOnline()
public String getFilterOnlineName()
public double getTrucksPosition()
public double getTrucksPositionAtStandby()
public double getTrucksPositionOnline()
public double getTrucksPositionSwapout()
public void locateTrucks()
public void setTrucksPositionAtStandby(double trucksPositionAtStandby)
public void setTrucksPositionOnline(double trucksPositionOnline)
public void setTrucksPositionSwapout(double trucksPositionSwapout)
public Motor getMotor()
public void setMotor(Motor motor)
public boolean isMoving()
isMoving in class BasicAutoChangerModulepublic boolean isAtStandby()
isAtStandby in interface AutoChangerisAtStandby in class BasicAutoChangerModulepublic String goToStandback() throws org.lsst.ccs.bus.BadCommandException, org.lsst.ccs.bus.ErrorInCommandExecutionException
goToStandback in class BasicAutoChangerModuleorg.lsst.ccs.bus.BadCommandExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionExceptionpublic String goToStandby() throws org.lsst.ccs.bus.BadCommandException
goToStandby in class BasicAutoChangerModuleorg.lsst.ccs.bus.BadCommandExceptionpublic String moveFilterToStandback(Filter aFilter) throws org.lsst.ccs.bus.BadCommandException, org.lsst.ccs.bus.ErrorInCommandExecutionException
moveFilterToStandback in class BasicAutoChangerModuleorg.lsst.ccs.bus.BadCommandExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionExceptionpublic boolean isMovingToStandback()
isMovingToStandback in class BasicAutoChangerModulepublic boolean isMovingToStandby()
isMovingToStandby in class BasicAutoChangerModulepublic void updateStateWithSensors()
throws HardwareException,
org.lsst.ccs.bus.ErrorInCommandExecutionException
updateStateWithSensors in class BasicAutoChangerModuleHardwareExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionException@Command(level=1,
description="Return true if the trucks are at HANDOFF position and hold a filter",
type=QUERY)
public boolean isHoldingFilterAtHandoff()
public void closeLatchesAtHandoff()
closeLatchesAtHandoff in class BasicAutoChangerModuleCopyright © 2014 LSST. All Rights Reserved.