
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, errorHistory, errorRegister, inError, initialized, 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.
|
changeEPOSParameter, changeMode, changeProfileVelocity, checkFault, checkParameters, checkParameters, faultReset, getCurrent, getFollowingError, getMode, getPosition, getVelocity, initializeAndCheckHardware, isEnabledToPublish, 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, getErrorRegister, getName, getNodeID, getSerialNB, getSubsystem, getTcpProxy, isBooted, isInError, isInitialized, onEmergencyMessage, printSerialNumber, readErrorHistory, readErrorRegister, readNumberOfErrors, readSDO, resetError, saveParameters, setBooted, toString, writeSDO, writeTransmissionTypeToDeviceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitactivateBrake, createStatusDataPublishedByEPOSController, doReleaseBrake, enableAndReleaseBrakecanClearAlert, changeMode, changeProfileVelocity, checkEnabled, checkFault, checkHomingDone, checkParameters, checkTargetReached, convertEPOSValue, defineAbsolutePosition, definePositionFromNegativeLimitSwitch, disableOperation, disableVoltage, displayErrorHistory, enable, enableAndWriteAbsolutePosition, enableAndWriteCurrent, enableAndWriteRelativePosition, getCurrent, getErrorHistory, getErrorRegister, getMode, getPosition, getVelocity, isEnabled, isEnabledToPublish, isInError, isInMode, isParametersOK, isTargetReached, printStatusWordInBinary, quickStop, readControlWord, readCurrent, readCurrentAverageValue, readFollowingError, readMode, readNumberOfErrors, 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, setBootedonEmergencyMessage, onFault, onFaultResetclearAlarm, getAlertSeparator, getAlertService, getSubsystem, raiseAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseWarning, raiseWarningprotected int cobid1
protected int cobid2
public CanOpenEPOSLinearRailTruck(int nodeID,
String serialNB)
@Command(type=QUERY, 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)
throws org.lsst.ccs.drivers.commons.DriverException
updateFromPDO in interface PieceOfHardwareupdateFromPDO in class CanOpenDevicepdo - org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY, description="print values updated by PDOs to debug and test") public String printValuesUpdatedByPDOs()
Copyright © 2019 LSST. All rights reserved.