public class VacPlutoDevice
extends org.lsst.ccs.subsystem.common.devices.pluto.PlutoDevice
| Modifier and Type | Field and Description |
|---|---|
protected List<Integer> |
condsUsed |
protected List<Integer> |
latchesUsed
Data fields.
|
static int |
NUM_SWITCHES
Constants.
|
static int |
SW_BLOCK_CVPUMP
Constants.
|
static int |
SW_BLOCK_CVSTAT
Constants.
|
static int |
SW_BLOCK_HVPUMP
Constants.
|
static int |
SW_BLOCK_HVSTAT
Constants.
|
static int |
SW_OPEN_VCR00
Constants.
|
static int |
SW_OPEN_VCR01
Constants.
|
static int |
SW_OPEN_VCR02
Constants.
|
static int |
SW_OPEN_VCR03
Constants.
|
static int |
SW_OPEN_VCR04
Constants.
|
static int |
SW_OPEN_VHX00
Constants.
|
| Constructor and Description |
|---|
VacPlutoDevice()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearLatch(int cond)
Clears a latched condition.
|
List<Integer> |
getConditionIds()
Gets the list of conditions in use.
|
List<Integer> |
getLatchIds()
Gets the list of latched conditions in use.
|
protected void |
initDevice()
Performs basic initialization.
|
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 |
isSwitchOn(int sw)
Gets the on state of a switch.
|
void |
setSwitchOn(int sw,
boolean on)
Sets a switch on or off.
|
checkChannel, checkHwLine, close, initialize, isHwLineSet, isPLCActive, readAddBit, readAddInt, readAddWord, readBit, readChannel, readChannelGroup, 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, readChannelNow, setDisabled, setLine, setLineWarm, setOnline, setOutputLines, start, testOnlinepublic static final int SW_BLOCK_HVSTAT
public static final int SW_BLOCK_CVSTAT
public static final int SW_OPEN_VHX00
public static final int SW_OPEN_VCR00
public static final int SW_OPEN_VCR01
public static final int SW_OPEN_VCR02
public static final int SW_OPEN_VCR03
public static final int SW_OPEN_VCR04
public static final int SW_BLOCK_HVPUMP
public static final int SW_BLOCK_CVPUMP
public static final int NUM_SWITCHES
protected void initDevice()
initDevice in class org.lsst.ccs.subsystem.common.devices.pluto.PlutoDevicepublic void setSwitchOn(int sw,
boolean on)
sw - The switch number.on - The on state to set: true or falsepublic Boolean isSwitchOn(int sw)
sw - The switch number.public List<Integer> getLatchIds()
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 List<Integer> getConditionIds()
public Boolean isConditionActive(int cond)
cond - The condition numberCopyright © 2023 LSST. All rights reserved.