
public class CanOpenTTC580 extends CanOpenDevice
booted, errorHistory, errorRegister, inError, initialized, name, nodeID, s, serialNB, tcpProxyalertSeparater| Constructor and Description |
|---|
CanOpenTTC580(int nodeID,
String serialNB) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
extractFirstPDO(String replyToSync)
Deprecated.
do not use, this is CWrapper protocol dependent
|
int |
getFilterPresenceXm()
return filter presence sensor for clampXminus
|
int |
getFilterPresenceXp()
return filter presence sensor value for clampXplus.
|
int |
getLockXm()
return lock sensor for clampXminus
|
int |
getLockXp()
return lock sensor for clampXplus
|
long |
getPdoVal() |
short |
getSocketId()
return socketId from PDO value
socket identification are the first 3 bits (reading from left to right).
|
void |
setPdoVal(long pdoVal) |
void |
updatePDO()
send a "sync" command to CANbus, process response and update pdoVal.
|
configAsHeartbeatConsumer, configAsHeartbeatProducer, createStatusDataPublishedByCanOpenDevice, displayErrorHistory, displayErrorRegister, getAlertService, getErrorHistory, getErrorRegister, getName, getNodeID, getSerialNB, getSubsystem, getTcpProxy, initializeAndCheckHardware, isBooted, isInError, isInitialized, onEmergencyMessage, publishData, readErrorHistory, readErrorRegister, readNumberOfErrors, readSDO, readStringSerialNumber, resetError, saveParameters, setBooted, toString, writeSDOclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcheckBooted, checkId, checkInitialized, createStatusDataPublishedByHardware, printState, raiseAlarmIfMissingonFault, onFaultResetclearAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseWarning, raiseWarning, raiseWarning, raiseWarning, raiseWarningpublic CanOpenTTC580(int nodeID,
String serialNB)
@Command(type=QUERY, description="return PDO1 value") public long getPdoVal()
public void setPdoVal(long pdoVal)
pdoVal - @Command(type=QUERY, description="send a sync command to CANbus, process response and update pdoVal.") public void updatePDO() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Deprecated protected long extractFirstPDO(String replyToSync)
replyToSync - @Command(type=QUERY, description="return socketId from PDO value") public short getSocketId()
@Command(type=QUERY, description="return lock sensor for clampXminus") public int getLockXm()
@Command(type=QUERY, description="return filter presence sensor for clampXminus") public int getFilterPresenceXm()
@Command(type=QUERY, description="return lock sensor for clampXplus") public int getLockXp()
@Command(type=QUERY, description="return filter presence sensor for clampXplus") public int getFilterPresenceXp()
Copyright © 2017 LSST. All rights reserved.