public class SftAutoChangerModule extends BasicAutoChangerModule
| Modifier and Type | Field and Description |
|---|---|
protected SftTruckMotor |
sftTrucksMotor |
carousel, closingLatches, latchesState, openingLatches, publishedByAutoChangerOutputName, state, timeoutForClosingLatches, timeoutForOpeningLatches, timeToWaitForCompleteClose, timeToWaitForCompleteOpen, truckXminus, truckXplus, updatingLatchescurrentAction, haltRequired, itemMoving, lock, motionCompleted| Constructor and Description |
|---|
SftAutoChangerModule(String moduleName,
int aTickMillis,
FilterLatchModule latchXminus,
FilterLatchModule latchXplus,
TruckModule truckXminus,
TruckModule truckXplus,
String railsSensorsDIOName,
String filterSensorsDIOName,
SftTruckMotor sftTrucksMotor,
long timeToConfortAPosition,
long timeToGoToStandby,
long timeToGoToStandback) |
| Modifier and Type | Method and Description |
|---|---|
SftTruckMotor |
getSftTrucksMotor() |
long |
getTimeToConfortAPosition() |
long |
getTimeToGoToStandback() |
long |
getTimeToGoToStandby() |
double |
getTrucksPosition() |
String |
goToPosition(double trucksPositionOnline) |
String |
goToStandback() |
String |
goToStandby()
This methods moves the trucks from standback position to standby position.
|
boolean |
isMoving() |
boolean |
isMovingToStandback() |
boolean |
isMovingToStandby() |
void |
locateTrucks() |
String |
moveFilterToOnline(Filter filter) |
String |
moveFilterToStandback(Filter aFilter) |
String |
moveFilterToStandby(Filter aFilter) |
void |
setSftTrucksMotor(SftTruckMotor sftTrucksMotor) |
void |
setTimeToConfortAPosition(long timeToConfortAPosition) |
void |
setTimeToGoToStandback(long timeToGoToStandback) |
void |
setTimeToGoToStandby(long timeToGoToStandby) |
String |
toString() |
void |
updateStateWithSensors() |
checkPreConditionsForTrucksMotion, closeLatchesAtHandoff, closeLatchesAtStandby, getFilterOnTrucks, getFilterOnTrucksName, getFilterSensorsDIO, getFilterSensorsDIOName, getLatchesState, getLatchXminus, getLatchXplus, getRailsSensorsDIO, getRailsSensorsDIOName, getState, getStatusData, getTrucksLocation, getTruckXminus, getTruckXplus, grabFilterAtHandoff, grabFilterAtStandby, initModule, isActionCompleted, isAtHandoff, isAtStandback, isAtStandby, isHoldingFilterAtStandback, isHoldingFilterAtStandby, isOnline, isTrucksEmpty, openLatchesAtHandoff, openLatchesAtStandby, postAction, processUpdate, publishAutoChangerData, publishData, publishDataAndNotifyObservers, setFilterOnTrucks, setFilterSensorsDIOName, setRailsSensorsDIOName, setState, setTimeoutForClosingLatches, setTimeoutForOpeningLatches, setTimeToWaitForCompleteClose, setTimeToWaitForCompleteOpen, setTrucksEmpty, startAction, stopAction, tick, 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, setChangedprotected SftTruckMotor sftTrucksMotor
public SftAutoChangerModule(String moduleName, int aTickMillis, FilterLatchModule latchXminus, FilterLatchModule latchXplus, TruckModule truckXminus, TruckModule truckXplus, String railsSensorsDIOName, String filterSensorsDIOName, SftTruckMotor sftTrucksMotor, long timeToConfortAPosition, long timeToGoToStandby, long timeToGoToStandback)
public SftTruckMotor getSftTrucksMotor()
public void setSftTrucksMotor(SftTruckMotor sftTrucksMotor)
public long getTimeToConfortAPosition()
public long getTimeToGoToStandback()
public long getTimeToGoToStandby()
@ConfigChanger public void setTimeToConfortAPosition(long timeToConfortAPosition)
@ConfigChanger public void setTimeToGoToStandby(long timeToGoToStandby)
@ConfigChanger public void setTimeToGoToStandback(long timeToGoToStandback)
public boolean isMovingToStandback()
isMovingToStandback in class BasicAutoChangerModulepublic boolean isMovingToStandby()
isMovingToStandby in class BasicAutoChangerModulepublic boolean isMoving()
isMoving in class BasicAutoChangerModulepublic String toString()
toString in class BasicAutoChangerModulepublic void locateTrucks()
public String goToStandback() throws org.lsst.ccs.bus.BadCommandException, org.lsst.ccs.bus.ErrorInCommandExecutionException, HardwareException, CanOpenException
goToStandback in class BasicAutoChangerModuleorg.lsst.ccs.bus.BadCommandExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionExceptionHardwareExceptionCanOpenExceptionpublic String goToStandby() throws org.lsst.ccs.bus.BadCommandException, org.lsst.ccs.bus.ErrorInCommandExecutionException, HardwareException, CanOpenException
goToStandby in class BasicAutoChangerModuleorg.lsst.ccs.bus.BadCommandExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionExceptionHardwareExceptionCanOpenExceptionpublic String moveFilterToStandback(Filter aFilter) throws org.lsst.ccs.bus.BadCommandException, org.lsst.ccs.bus.ErrorInCommandExecutionException, HardwareException, CanOpenException
moveFilterToStandback in class BasicAutoChangerModuleorg.lsst.ccs.bus.BadCommandExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionExceptionHardwareExceptionCanOpenExceptionpublic String moveFilterToStandby(Filter aFilter) throws org.lsst.ccs.bus.BadCommandException, org.lsst.ccs.bus.ErrorInCommandExecutionException, HardwareException, CanOpenException
moveFilterToStandby in interface AutoChangermoveFilterToStandby in class BasicAutoChangerModuleorg.lsst.ccs.bus.BadCommandExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionExceptionHardwareExceptionCanOpenExceptionpublic String goToPosition(double trucksPositionOnline) throws org.lsst.ccs.bus.BadCommandException
org.lsst.ccs.bus.BadCommandExceptionpublic double getTrucksPosition()
public String moveFilterToOnline(Filter filter) throws org.lsst.ccs.bus.BadCommandException, org.lsst.ccs.bus.ErrorInCommandExecutionException, HardwareException, CanOpenException
org.lsst.ccs.bus.BadCommandExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionExceptionHardwareExceptionCanOpenException@Command(level=1,
description="Read sensors and update latches and trucks state",
type=QUERY)
public void updateStateWithSensors()
throws HardwareException,
org.lsst.ccs.bus.ErrorInCommandExecutionException
updateStateWithSensors in class BasicAutoChangerModuleHardwareExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionExceptionCopyright © 2014 LSST. All Rights Reserved.