
public class VacPlutoDevice extends org.lsst.ccs.subsystem.common.devices.pluto.PlutoDevice implements SwitchDevice
| Modifier and Type | Field and Description |
|---|---|
static int |
NUM_SWITCHES
Constants.
|
static int |
SW_BLOCK_CR_TURBO
Constants.
|
static int |
SW_BLOCK_CR_VAC
Constants.
|
static int |
SW_BLOCK_HX_TURBO
Constants.
|
static int |
SW_BLOCK_HX_VAC
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.
|
int |
getSwitchDevice()
Gets the switch device ID.
|
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 |
pressButton(int btn)
Presses a button.
|
void |
setSwitch(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, checkHardware, checkLine, checkOnline, checkTimeout, configure, disable, dropChannel, enable, getDeviceMonitorUpdateTasks, getFullName, getGroupForChannel, getMonitorUpdateTasksForChannels, getName, getOutputLines, getPath, init, initChannel, initChannel, initSensors, isLineSet, isOnline, isTimeout, readChannel, readChannelGroup, readChannelNow, setDisabled, setLine, setLineWarm, setOnline, setOutputLines, testOnlinepublic 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_CR_VAC
public static final int SW_BLOCK_HX_VAC
public static final int SW_BLOCK_CR_TURBO
public static final int SW_BLOCK_HX_TURBO
public static final int NUM_SWITCHES
protected void initDevice()
initDevice in class org.lsst.ccs.subsystem.common.devices.pluto.PlutoDevicepublic int getSwitchDevice()
getSwitchDevice in interface SwitchDevicepublic void setSwitch(int sw,
boolean on)
setSwitch in interface SwitchDevicesw - The switch number.on - The on state to set: true or falsepublic Boolean isSwitchOn(int sw)
isSwitchOn in interface SwitchDevicesw - The switch number.public void pressButton(int btn)
btn - The button numberpublic 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 numberCopyright © 2021 LSST. All rights reserved.