public class PcpPlutoDevice
extends org.lsst.ccs.subsystem.common.devices.pluto.PlutoDevice
| Constructor and Description |
|---|
PcpPlutoDevice()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearLatch(int cond)
Clears a latched condition.
|
int |
getErrorCode() |
PcpSwitchState |
getSwitchState(int sw)
Gets the state of a switch.
|
int[] |
getTempLimits()
Gets the temperature limits.
|
Boolean |
isConditionActive(int cond)
Gets whether a condition is active.
|
Boolean |
isLatchActive(int cond)
Gets whether a latched condition is active.
|
Boolean |
isLatchLatched(int cond)
Gets whether a latched condition is latched.
|
Boolean |
isPlcActive()
Tests whether the PLC is active
|
protected Boolean |
isSwitchOn(int sw)
Gets the on state of a switch.
|
protected void |
setSwitchOn(int sw,
boolean on)
Sets a switch on or off.
|
void |
setSwitchOn(int sw,
boolean on,
boolean alarm)
Sets a switch on or off.
|
checkChannel, checkHwLine, close, initDevice, initialize, isHwLineSet, isPLCActive, readAddBit, readAddInt, readAddWord, readBit, readChannel, setHwLine, toggleBit, writeBit, writeRegisteraddLine, checkChannel, checkLine, checkOnline, checkTimeout, configure, disable, dropChannel, dropChannel, enable, getDeviceMonitorUpdateTasks, getFullName, getGroupForChannel, getMonitorUpdateTasksForChannels, getName, getOutputLines, getPath, init, initChannel, initChannel, initChannel, initSensors, isEnabled, isLineSet, isOnline, isTimeout, readChannel, readChannelGroup, readChannelGroup, readChannelNow, setDisabled, setLine, setLineWarm, setOnline, setOutputLines, start, testOnlinepublic Boolean isPlcActive()
protected void setSwitchOn(int sw,
boolean on)
sw - The switch number.on - The on state to set: true or falsepublic void setSwitchOn(int sw,
boolean on,
boolean alarm)
sw - The switch number.on - The on state to set: true or falsealarm - Whether being called on behalf of remote alarmpublic PcpSwitchState getSwitchState(int sw)
sw - The switch number.protected Boolean isSwitchOn(int sw)
sw - The switch number.public Boolean isLatchActive(int cond)
cond - The condition numberpublic Boolean isLatchLatched(int cond)
cond - The condition numberpublic void clearLatch(int cond)
cond - The condition numberpublic Boolean isConditionActive(int cond)
cond - The condition numberpublic int[] getTempLimits()
public int getErrorCode()
Copyright © 2022 LSST. All rights reserved.