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, fcslog, haltRequired, hasToWaitForEndOfAction, lock, motionCompleted, moving, stopRequired| 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 |
quickStopAction(FcsEnumerations.MobileItemAction action,
long delay) |
void |
setSftTrucksMotor(SftTruckMotor sftTrucksMotor) |
void |
setTimeToConfortAPosition(long timeToConfortAPosition) |
void |
setTimeToGoToStandback(long timeToGoToStandback) |
void |
setTimeToGoToStandby(long timeToGoToStandby) |
String |
toString() |
void |
updateStateWithSensors() |
abortAction, checkPreConditionsForTrucksMotion, closeLatchesAtHandoff, closeLatchesAtStandby, getFilterOnTrucks, getFilterOnTrucksName, getFilterSensorsDIO, getFilterSensorsDIOName, getLatchesState, getLatchXminus, getLatchXplus, getRailsSensorsDIO, getRailsSensorsDIOName, getState, getStatusData, getTrucksLocation, getTruckXminus, getTruckXplus, grabFilterAtHandoff, grabFilterAtStandby, initModule, isActionCompleted, isAtHandoff, isAtStandback, isAtStandby, isHardwareReady, isHoldingFilterAtStandback, isHoldingFilterAtStandby, isOnline, isTrucksEmpty, openLatchesAtHandoff, openLatchesAtStandby, postAction, processUpdate, publishData, publishDataAndNotifyObservers, setFilterOnTrucks, setFilterSensorsDIOName, setRailsSensorsDIOName, setState, setTimeoutForClosingLatches, setTimeoutForOpeningLatches, setTimeToWaitForCompleteClose, setTimeToWaitForCompleteOpen, setTrucksEmpty, startAction, tick, ungrabFilterAtHandoff, ungrabFilterAtStandby, updateLatchesStateWithSensors, updateStateWithSensorsToCheckIfActionIsCompleted, updateTrucksLocationWithSensorsabort, abort, checkHardware, checkStarted, checkStopped, executeAction, getHaltRequired, quickstop, readSensorsUntilActionIsCompleted, shutdownNow, signal, stop, stopalias, getComponentTree, getEnvironment, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, percolateSignal, postStart, sendSignal, sendSignalWithTimeLimit, setEnvironment, setName, setNObserverThreads, setObservables, setTickMillis, 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()
@Command(level=1,
description="Go to STANDBACK",
type=ACTION)
public String goToStandback()
throws org.lsst.ccs.messaging.BadCommandException,
org.lsst.ccs.messaging.ErrorInCommandExecutionException,
FcsHardwareException,
CanOpenException
goToStandback in class BasicAutoChangerModuleorg.lsst.ccs.messaging.BadCommandExceptionorg.lsst.ccs.messaging.ErrorInCommandExecutionExceptionFcsHardwareExceptionCanOpenException@Command(level=1,
description="Go to STANDBY.",
type=ACTION)
public String goToStandby()
throws org.lsst.ccs.messaging.BadCommandException,
org.lsst.ccs.messaging.ErrorInCommandExecutionException,
FcsHardwareException,
CanOpenException
goToStandby in class BasicAutoChangerModuleorg.lsst.ccs.messaging.BadCommandExceptionorg.lsst.ccs.messaging.ErrorInCommandExecutionExceptionFcsHardwareExceptionCanOpenExceptionpublic String moveFilterToStandback(Filter aFilter) throws org.lsst.ccs.messaging.BadCommandException, org.lsst.ccs.messaging.ErrorInCommandExecutionException, FcsHardwareException, CanOpenException
moveFilterToStandback in class BasicAutoChangerModuleorg.lsst.ccs.messaging.BadCommandExceptionorg.lsst.ccs.messaging.ErrorInCommandExecutionExceptionFcsHardwareExceptionCanOpenExceptionpublic String moveFilterToStandby(Filter aFilter) throws org.lsst.ccs.messaging.BadCommandException, org.lsst.ccs.messaging.ErrorInCommandExecutionException, FcsHardwareException, CanOpenException
moveFilterToStandby in interface AutoChangermoveFilterToStandby in class BasicAutoChangerModuleorg.lsst.ccs.messaging.BadCommandExceptionorg.lsst.ccs.messaging.ErrorInCommandExecutionExceptionFcsHardwareExceptionCanOpenExceptionpublic String goToPosition(double trucksPositionOnline) throws org.lsst.ccs.messaging.BadCommandException
org.lsst.ccs.messaging.BadCommandExceptionpublic double getTrucksPosition()
public String moveFilterToOnline(Filter filter) throws org.lsst.ccs.messaging.BadCommandException, org.lsst.ccs.messaging.ErrorInCommandExecutionException, FcsHardwareException, CanOpenException
org.lsst.ccs.messaging.BadCommandExceptionorg.lsst.ccs.messaging.ErrorInCommandExecutionExceptionFcsHardwareExceptionCanOpenException@Command(level=1,
description="Read sensors and update latches and trucks state",
type=QUERY)
public void updateStateWithSensors()
throws FcsHardwareException,
org.lsst.ccs.messaging.ErrorInCommandExecutionException
updateStateWithSensors in class BasicAutoChangerModuleFcsHardwareExceptionorg.lsst.ccs.messaging.ErrorInCommandExecutionExceptionpublic void quickStopAction(FcsEnumerations.MobileItemAction action, long delay) throws org.lsst.ccs.messaging.BadCommandException, org.lsst.ccs.messaging.ErrorInCommandExecutionException, FcsHardwareException
quickStopAction in class MobileItemModuleorg.lsst.ccs.messaging.BadCommandExceptionorg.lsst.ccs.messaging.ErrorInCommandExecutionExceptionFcsHardwareExceptionCopyright © 2015 LSST. All rights reserved.