
public class MpmPlutoDevice
extends org.lsst.ccs.subsystem.common.devices.pluto.PlutoDevice
| Modifier and Type | Field and Description |
|---|---|
static int |
NUM_SWITCHES
Constants.
|
static int |
SW_BLOCK_COLD_HEAT
Constants.
|
static int |
SW_BLOCK_COLD_REFG
Constants.
|
static int |
SW_BLOCK_COOLANT
Constants.
|
static int |
SW_BLOCK_CRYO_HEAT
Constants.
|
static int |
SW_BLOCK_CRYO_REFG
Constants.
|
static int |
SW_BLOCK_REB_POWER
Constants.
|
static int |
SW_BLOCK_UT_POWER
Constants.
|
| Constructor and Description |
|---|
MpmPlutoDevice()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearLatch(int cond)
Clears a latched condition.
|
int |
getErrorCode(int plcNum) |
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(int plc)
Tests whether a PLC is active
|
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, initDevice, 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_BLOCK_REB_POWER
public static final int SW_BLOCK_UT_POWER
public static final int SW_BLOCK_COOLANT
public static final int SW_BLOCK_COLD_HEAT
public static final int SW_BLOCK_COLD_REFG
public static final int SW_BLOCK_CRYO_HEAT
public static final int SW_BLOCK_CRYO_REFG
public static final int NUM_SWITCHES
public Boolean isPlcActive(int plc)
plc - The PLC numberpublic 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 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(int plcNum)
Copyright © 2021 LSST. All rights reserved.