
public class CanOpenEPOSCarousel extends CanOpenEPOS implements EPOSControllerForCarousel
| 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 |
|---|
CanOpenEPOSCarousel(int nodeID,
String serialNB,
Map<String,Integer> paramsForCurrent,
Map<String,Integer> paramsForProfilePosition,
Map<String,Integer> paramsForHoming) |
| Modifier and Type | Method and Description |
|---|---|
void |
doInitializePDOs()
Do nothing if this device doesn't send PDOs except log for debug purpose.
|
static int |
extractCurrentAverage(long pdo) |
static int |
extractFollowingError(long pdo) |
static int |
extractPosition(long pdo) |
static int |
extractStatusWord(long pdo) |
static int |
extractVelocity(long pdo) |
String |
printValuesUpdatedByPDOs()
For tests and debug
|
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, printStatusWord, publishData, readControlWord, readCurrent, readCurrentAverageValue, readFollowingError, readMode, readParameter, readStatusWord, readVelocity, restoreParameters, setEnabledToPublish, writeControlWord, writeCurrent, writeParameter, writeParameters, writeTargetPosition, writeTargetVelocityconfigAsHeartbeatConsumer, configAsHeartbeatProducer, createStatusDataPublishedByCanOpenDevice, 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, waitcheckHomingDone, defineAbsolutePosition, setPositionSensorTypeEncoderSSI, setPositionSensorTypeSinusIncrementalEncodercanClearAlert, changeMode, changeProfileVelocity, checkCurrent, checkDisabled, checkEnabled, checkFault, checkParameters, checkTargetReached, convertEPOSValue, createStatusDataPublishedByEPOSController, definePositionFromNegativeLimitSwitch, disableOperation, disableVoltage, displayErrorHistory, enable, enableAndWriteAbsolutePosition, enableAndWriteCurrent, enableAndWriteRelativePosition, getCurrent, getErrorHistory, getErrorRegister, getMode, getPosition, getVelocity, isEnabled, isEnabledToPublish, isInError, isInMode, isParametersOK, isTargetReached, quickStop, readControlWord, readCurrent, readCurrentAverageValue, readFollowingError, readMode, readNumberOfErrors, readParameter, readParameter, readParameters, readParameters, readParameters, readPosition, readPositionSensorType, readProfileVelocity, readSSIPosition, readStatusWord, readVelocity, setEnabledToPublish, shutdownController, startVelocity, stopAction, stopPosition, stopVelocity, 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 void doInitializePDOs()
throws org.lsst.ccs.drivers.commons.DriverException
CanOpenDevicedoInitializePDOs 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.DriverExceptionpublic static int extractStatusWord(long pdo)
pdo - public static int extractCurrentAverage(long pdo)
pdo - public static int extractPosition(long pdo)
pdo - public static int extractFollowingError(long pdo)
pdo - public static int extractVelocity(long pdo)
pdo - @Command(type=QUERY,
description="print values updated by PDOs to debug and test")
public String printValuesUpdatedByPDOs()
Copyright © 2018 LSST. All rights reserved.