public class LoaderMain extends MainModule implements org.lsst.ccs.drivers.aiousb.USB_DIO_96_Interface
bridge, controllerList, dataProviderDictionaryService, haltRequired, hardMovedByController, name, stopRequired, subsAGENT_RUNTIMEINFO_TASK, commandExecutorLock, currentAction, currentQueries, currentSignals, jvmShutdown, logBusHandler, stateService, treeComponentInitializedalertSeparator| Constructor and Description |
|---|
LoaderMain() |
| Modifier and Type | Method and Description |
|---|---|
void |
connectLoader()
Connect the loader hardware.
|
void |
connectUSB_DIO_96card()
Connect to the card USB_DIO_96 card.
|
void |
init() |
void |
initializeHardware()
initialize hardware after initialization.
|
void |
loadFilterIntoBenchOrStorageBox()
Load a filter into bench or storage box.
|
void |
postStart()
In Standalone mode, we want to connect Loader when the subsystem starts.
|
String |
printHardwareState()
Print list of hardware with initialization information.
|
String |
printUSBDIO96Signals() |
void |
simulateAutochangerEmpty()
Simulate that there is no filter at HANDOFF on the test bench : AP2 & AF0
Signals to simulate : NOPERMIT=0, ENG=0, AP2=1, AF0=1, AF1=1, AF3=0
|
void |
simulateAutochangerHoldFilter()
Simulate that a filter is at HANDOFF on the test bench and is held : AP2
& AF3
Signals to simulate : NOPERMIT=0, ENG=0, AP2=1, AF0=0, AF1=0, AF3=1
|
String |
toString() |
void |
unloadFilterFromBenchOrStorageBox()
Unload a filter from bench or storage box.
|
void |
updateStateWithSensors()
Update loader state in reading the sensors.
|
allDevicesBooted, build, getAlertService, getFilterNames, getFilterReadinessState, getMobilNameControllerNameMap, getSensorsMapPluggedOnPlutoGateway, getSubsystem, isHaltRequired, isInState, isStopRequired, listAcSensorsNames, listHardwareNames, listLoaderHardwareNames, listLoSensorsNames, postShutdown, publishData, signal, updateAgentState, updateAgentState, updateFCSStateToReady, updateGuigetLogHandler, getNumberCommandThreads, ping, printRunningCommands, setLogFormat, setLogHandlerLevel, setLogLevel, setStackTraceDepthcreateHelper, executeCommandRequest, getAgentInfo, getAgentPersistenceService, getAgentService, getAgentServices, getCCSVersions, getCommandCount, getComponentConfigurationEnvironment, getComponentConfigurationEnvironmentByName, getComponentLookup, getCurrentAction, getDescription, getDistributionInfo, getEnvironmentLockService, getEnvironmentMessagingAccess, getLogger, getMessagingAccess, getName, getScheduler, helper, initAgent, initLogBusHandler, isInEngineeringMode, populateComponentLookup, preInit, preStart, printComponentNodeTree, publishSubsystemDataOnStatusBus, sendAck, sendNack, sendStatusMessage, setAgentName, shutdownAgent, shutdownAgent, startAgent, vetoTransitionToNormalModeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclearAlarm, getAlertSeparator, raiseAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseAlarmOnlyIfNew, raiseAlertOnlyEveryTenMinutes, raiseAlertOnlyEveryTenMinutes, raiseAlertOnlyIfNew, raiseWarning, raiseWarning, raiseWarning, raiseWarning, raiseWarningOnlyEveryTenMinutes, raiseWarningOnlyIfNewpublic void init()
init in interface org.lsst.ccs.framework.HasLifecycleinit in class MainModule@Command(type=QUERY, level=0, description="Update loader state in reading the sensors.") public void updateStateWithSensors()
updateStateWithSensors in class MainModuleFcsHardwareExceptionpublic void initializeHardware()
MainModuleinitializeHardware in class MainModule@Command(type=ACTION, level=0, description="Connect the loader hardware.") public void connectLoader()
public void postStart()
postStart in interface org.lsst.ccs.framework.HasLifecycle@Command(type=QUERY, level=1, description="Print the list of hardware with initialization information.") public String printHardwareState()
public void connectUSB_DIO_96card()
@Command(type=ACTION, level=1, description="Print PLC loader signals read on card USB_DIO_96.") public String printUSBDIO96Signals()
@Command(type=ACTION, level=1, description="Simulate PLC signals that say there is no filter at HANDOFF (AP2 & AF0 & NOLOCKOUT).") public void simulateAutochangerEmpty()
simulateAutochangerEmpty in interface org.lsst.ccs.drivers.aiousb.USB_DIO_96_Interface@Command(type=ACTION, level=1, description="Simulate PLC signals that say there is a filter at HANDOFF and it is held (AP2 & AF3 & NOLOCKOUT).") public void simulateAutochangerHoldFilter()
simulateAutochangerHoldFilter in interface org.lsst.ccs.drivers.aiousb.USB_DIO_96_Interface@Command(type=ACTION, level=0, description="Load a filter into bench or storage box. Simulate signals coming from autochanger.") public void loadFilterIntoBenchOrStorageBox()
@Command(type=ACTION, level=0, description="Unload a filter from bench or storage box.") public void unloadFilterFromBenchOrStorageBox()
Copyright © 2022 LSST. All rights reserved.