public class SimuAutochangerOnlineClampController extends SimuEPOSController implements EPOSControllerForOnlineClamp
actualCurrent, ssiPosition, targetCurrent, targetPositioncurrent, enabledToPublish, eposState, followingError, mode, parametersOK, position, statusWord, velocitybooted, dataProviderDictionaryService, errorHistory, errorRegister, inError, initialized, lastErrorCode, lastErrorName, name, nodeID, serialNB, subs, tcpProxyalertSeparator| Constructor and Description |
|---|
SimuAutochangerOnlineClampController(int nodeID,
String serialNB,
SimuAutochangerPlutoGateway plutoGateway,
String onlineClampName)
Build a new SimuAutochangerOnlineClampController.
|
| Modifier and Type | Method and Description |
|---|---|
void |
activateBrake()
Activate brake to prevent motion.
|
void |
activateBrakeAndDisable()
activateBrakeAndDisable
|
void |
doReleaseBrake()
Release holding brake to be able to move linear rail trucks or open/close
ONLINE clamps.
|
void |
enableAndReleaseBrake()
enableAndReleaseBrake if this controller is a slave command is rejected
because we have to check if master controller is enabled.
|
void |
homing() |
void |
init() |
boolean |
isBrakeActivated()
return true if brake if activated.
|
boolean |
isBrakeActivatedPub()
For GUI.
|
boolean |
isHomingDone() |
void |
setBrakeActivatedPub(boolean brakeActivatedToPublish) |
void |
writeCurrent(int current)
Quick and dirty simulation.
|
void |
writeTargetPosition(int positionToReach)
In PROFILE_POSITION mode this methods set the target position.
|
checkFault, checkParameters, defineAbsolutePosition, displayErrorHistory, enable, enableAndWriteRelativePosition, getErrorHistoryNB, isEnabled, isParametersOK, isTargetReached, postStart, quickStop, readCurrent, readErrorRegister, readMode, readParameters, readPosition, readProfileVelocity, readSSIPosition, readStatusWord, setPosition, stopAction, updateErrorHistory, writeControlWord, writeParameter, writeParameters, writeParametersbuild, changeEPOSParameter, changeMode, changeProfileVelocity, checkParameters, faultReset, getCurrent, getEposState, getFollowingError, getMode, getPosition, getStatusWord, getVelocity, initializeAndCheckHardware, isEnabledToPublish, isInError, printControlWord, publishData, readControlWord, readCurrentAverageValue, readFollowingError, readParameter, readVelocity, restoreParameters, setEnabledToPublish, setEposState, updateStatusWord, writeTargetVelocityconfigAsHeartbeatConsumer, configAsHeartbeatProducer, createStatusDataPublishedByCanOpenDevice, displayError, displayErrorRegister, doInitializePDOs, getAlertService, getErrorHistory, getErrorRegister, getLastErrorCode, getLastErrorName, getName, getNodeID, getSerialNB, getSubsystem, getTcpProxy, isBooted, isInitialized, onEmergencyMessage, printSerialNumber, readNumberOfErrors, readSDO, resetError, saveParameters, setBooted, toString, updateDeviceInfo, updateFromPDO, writeSDO, writeTransmissionTypeToDeviceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcheckBrakeActivated, checkBrakeReleased, createStatusDataPublishedByEPOSControllercanClearAlert, changeMode, changeProfileVelocity, checkEposMode, checkFault, checkHomingDone, checkParameters, checkState, checkTargetReached, convertEPOSValue, defineAbsolutePosition, definePositionFromNegativeLimitSwitch, disableOperation, disableVoltage, displayErrorHistory, enable, enableAndWriteAbsolutePosition, enableAndWriteCurrent, enableAndWriteRelativePosition, faultReset, getCurrent, getEposState, getErrorHistoryNB, getErrorRegister, getLastErrorCode, getLastErrorName, getMode, getPosition, getStatusWord, getVelocity, goToSwitchOnDisabled, isEnabled, isEnabledToPublish, isInError, isInMode, isInState, isOperationEnabled, isParametersOK, isReadyToSwitchOn, isSwitchedOn, isSwitchOnDisabled, isTargetReached, printStatusWordInBinary, quickStop, readControlWord, readCurrent, readCurrentAverageValue, readFollowingError, readMode, readParameter, readParameter, readParameters, readParameters, readParameters, readPosition, readPositionSensorType, readProfileVelocity, readSSIPosition, readStatusWord, readVelocity, setEnabledToPublish, setEposState, shutdownController, stopAction, stopPosition, stopVelocity, switchOnEnableOperation, updateEposState, updateEposState, updateStatusWord, writeControlWord, writeParameter, writeParameters, writeParameters, writeParameters, writeTargetVelocitycheckBooted, checkId, checkInitialized, createStatusDataPublishedByHardware, doInitializePDOs, getName, getNodeID, getSerialNB, initializeAndCheckHardware, initializePDOs, isBooted, isInitialized, printState, publishData, raiseAlarmIfMissing, raiseWarningIfMissing, setBooted, updateDeviceInfo, updateFromPDOonEmergencyMessage, onFault, onFaultResetclearAlarm, getAlertSeparator, getAlertService, getSubsystem, raiseAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseAlarmOnlyIfNew, raiseAlertOnlyEveryTenMinutes, raiseAlertOnlyEveryTenMinutes, raiseAlertOnlyIfNew, raiseWarning, raiseWarning, raiseWarningOnlyEveryTenMinutes, raiseWarningOnlyIfNewpublic SimuAutochangerOnlineClampController(int nodeID,
String serialNB,
SimuAutochangerPlutoGateway plutoGateway,
String onlineClampName)
nodeID - serialNB - plutoGateway - onlineClampName - public boolean isBrakeActivatedPub()
EPOSControllerWithBrakeisBrakeActivatedPub in interface EPOSControllerWithBrakepublic void setBrakeActivatedPub(boolean brakeActivatedToPublish)
setBrakeActivatedPub in interface EPOSControllerWithBrakepublic void init()
init in interface org.lsst.ccs.framework.HasLifecyclepublic void writeCurrent(int current)
writeCurrent in interface EPOSControllerwriteCurrent in class SimuEPOSControllercurrent - public void writeTargetPosition(int positionToReach)
CanOpenEPOSwriteTargetPosition in interface EPOSControllerwriteTargetPosition in class SimuEPOSControllerpositionToReach - UNIT=mA / FORMAT=decimal the value of the unsCurrent to be
sent.public void activateBrakeAndDisable()
EPOSControllerWithBrakeactivateBrakeAndDisable in interface EPOSControllerWithBrakepublic void enableAndReleaseBrake()
EPOSControllerWithBrakeenableAndReleaseBrake in interface EPOSControllerWithBrakepublic void doReleaseBrake()
EPOSControllerWithBrakedoReleaseBrake in interface EPOSControllerWithBrakepublic boolean isBrakeActivated()
EPOSControllerWithBrakeisBrakeActivated in interface EPOSControllerWithBrakepublic void activateBrake()
EPOSControllerWithBrakeactivateBrake in interface EPOSControllerWithBrakepublic void homing()
homing in interface EPOSControllerForOnlineClamppublic boolean isHomingDone()
isHomingDone in interface EPOSControllerForOnlineClampCopyright © 2021 LSST. All rights reserved.