public class CanOpenEPOSLinearRailTruck extends CanOpenEPOS implements EPOSControllerForLinearRail
| Modifier and Type | Field and Description |
|---|---|
protected int |
cobid1
define cobid to be able to read values from PDO data.
|
protected int |
cobid2 |
current, enabledToPublish, followingError, mode, parametersOK, position, statusWord, velocitybooted, dataProviderDictionaryService, errorHistory, errorRegister, inError, initialized, lastErrorCode, lastErrorName, name, nodeID, serialNB, subs, tcpProxyalertSeparator| Constructor and Description |
|---|
CanOpenEPOSLinearRailTruck(int nodeID,
String serialNB) |
| Modifier and Type | Method and Description |
|---|---|
void |
activateBrakeAndDisable()
activateBrakeAndDisable
|
void |
checkConfigDigitalInputOfLinearRails() |
void |
checkConfigDigitalOutputOfLinearRails() |
void |
configureDigitalInputOfLinearRails()
Configure this controller to be used as an autochanger linear rail truck
controller.
|
void |
configureDigitalOutputOfLinearRails()
Configuration of an EPOS controller to work with a holding brake.
|
void |
doInitializePDOs()
methods for managing PDOs
|
void |
homing() |
boolean |
isBrakeActivated()
return true if brake if activated.
|
boolean |
isHomingDone()
return true if homing is done: the controller knows its absolute position.
|
String |
printValuesUpdatedByPDOs()
For tests and debug
|
void |
shutdown() |
void |
updateFromPDO(org.lsst.ccs.drivers.canopenjni.PDOData pdo)
process PDOData to retrieve data from this device.
|
build, changeEPOSParameter, changeMode, changeProfileVelocity, checkFault, checkParameters, checkParameters, faultReset, getCurrent, getFollowingError, getMode, getPosition, getVelocity, initializeAndCheckHardware, isEnabledToPublish, isInError, isParametersOK, printControlWord, publishData, readControlWord, readCurrent, readCurrentAverageValue, readFollowingError, readMode, readParameter, readStatusWord, readVelocity, restoreParameters, setEnabledToPublish, writeControlWord, writeCurrent, writeParameter, writeParameters, writeTargetPosition, writeTargetVelocityconfigAsHeartbeatConsumer, configAsHeartbeatProducer, createStatusDataPublishedByCanOpenDevice, displayError, displayErrorHistory, displayErrorRegister, getAlertService, getErrorHistory, getErrorHistoryNB, getErrorRegister, getLastErrorCode, getLastErrorName, getName, getNodeID, getSerialNB, getSubsystem, getTcpProxy, isBooted, isInitialized, onEmergencyMessage, printSerialNumber, readErrorRegister, readNumberOfErrors, readSDO, resetError, saveParameters, setBooted, toString, updateDeviceInfo, updateErrorHistory, writeSDO, writeTransmissionTypeToDeviceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitactivateBrake, createStatusDataPublishedByEPOSController, doReleaseBrake, enableAndReleaseBrakecanClearAlert, changeMode, changeProfileVelocity, checkDisabled, checkEnabled, checkFault, checkHomingDone, checkParameters, checkTargetReached, convertEPOSValue, defineAbsolutePosition, definePositionFromNegativeLimitSwitch, disableOperation, disableVoltage, displayErrorHistory, enable, enableAndWriteAbsolutePosition, enableAndWriteCurrent, enableAndWriteRelativePosition, faultReset, getCurrent, getErrorHistoryNB, getErrorRegister, getLastErrorCode, getLastErrorName, getMode, getPosition, getVelocity, isDisabled, isEnabled, isEnabledToPublish, isInError, isInMode, isParametersOK, isTargetReached, printStatusWordInBinary, quickStop, readControlWord, readCurrent, readCurrentAverageValue, readFollowingError, readMode, readParameter, readParameter, readParameters, readParameters, readParameters, readPosition, readPositionSensorType, readProfileVelocity, readSSIPosition, readStatusWord, readVelocity, setEnabledToPublish, shutdownController, stopAction, stopPosition, stopVelocity, switchOn, switchOnEnableOperation, writeControlWord, writeCurrent, writeParameter, writeParameters, writeParameters, writeParameters, writeTargetPosition, writeTargetVelocitycheckBooted, checkId, checkInitialized, createStatusDataPublishedByHardware, getName, getNodeID, getSerialNB, initializeAndCheckHardware, initializePDOs, isBooted, isInitialized, printState, publishData, raiseAlarmIfMissing, raiseWarningIfMissing, setBooted, updateDeviceInfoonEmergencyMessage, onFault, onFaultResetclearAlarm, getAlertSeparator, getAlertService, getSubsystem, raiseAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseAlarmOnlyIfNew, raiseAlertOnlyEveryTenMinutes, raiseAlertOnlyEveryTenMinutes, raiseAlertOnlyIfNew, raiseWarning, raiseWarning, raiseWarningOnlyEveryTenMinutes, raiseWarningOnlyIfNewprotected int cobid1
protected int cobid2
public CanOpenEPOSLinearRailTruck(int nodeID,
String serialNB)
@Command(type=QUERY,
level=1,
description="return true if homing is done: the controller knows its absolute position.")
public boolean isHomingDone()
isHomingDone in interface EPOSControllerForLinearRail@Command(type=QUERY,
level=1,
description="Do homing of the controller.")
public void homing()
homing in interface EPOSControllerForLinearRail@Command(type=ACTION,
level=1,
description="activate brake to prevent motion and disable controller.")
public void activateBrakeAndDisable()
activateBrakeAndDisable in interface EPOSControllerWithBrake@Command(type=QUERY,
level=1,
description="return true if brake if activated.")
public boolean isBrakeActivated()
isBrakeActivated in interface EPOSControllerWithBrake@Command(type=ACTION,
level=1,
description="To configure the autochanger linear rails controllers.")
public void configureDigitalInputOfLinearRails()
configureDigitalInputOfLinearRails in interface EPOSControllerForLinearRailSDORequestException@Command(type=QUERY,
level=1,
description="check configuration of digital input of linear rail controller.")
public void checkConfigDigitalInputOfLinearRails()
@Command(type=ACTION,
level=1,
description="To configure the autochanger linear rails controllers.")
public void configureDigitalOutputOfLinearRails()
configureDigitalOutputOfLinearRails in interface EPOSControllerForLinearRailSDORequestException@Command(type=QUERY,
level=1,
description="check configuration of digital output of linear rail controller.")
public void checkConfigDigitalOutputOfLinearRails()
public void shutdown()
shutdown in interface org.lsst.ccs.framework.HasLifecyclepublic void doInitializePDOs()
throws org.lsst.ccs.drivers.commons.DriverException
doInitializePDOs in interface PieceOfHardwaredoInitializePDOs in class CanOpenDeviceorg.lsst.ccs.drivers.commons.DriverExceptionpublic void updateFromPDO(org.lsst.ccs.drivers.canopenjni.PDOData pdo)
updateFromPDO in interface PieceOfHardwareupdateFromPDO in class CanOpenDevicepdo - @Command(type=QUERY,
level=1,
description="print values updated by PDOs to debug and test")
public String printValuesUpdatedByPDOs()
Copyright © 2020 LSST. All rights reserved.