public class TwisTorr84Device
extends org.lsst.ccs.monitor.Device
implements org.lsst.ccs.config.HasConfigurationParameterDescription
| Modifier and Type | Class and Description |
|---|---|
static class |
TwisTorr84Device.Model |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
activeStopMode |
protected String |
devcId |
protected Boolean |
lowSpeedMode |
protected TwisTorr84Device.Model |
model |
protected String |
path
Data fields.
|
protected Integer |
setpointValue |
protected Boolean |
softStartMode |
| Constructor and Description |
|---|
TwisTorr84Device() |
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
checkChannel(org.lsst.ccs.monitor.Channel ch)
Checks a channel's parameters for validity.
|
protected void |
close()
Closes the connection.
|
void |
closeVentValve()
Close vent valve
|
org.lsst.ccs.config.ConfigurationParameterDescription |
getConfigurationParameterDescription(String parName)
Disable ConfigurationParameters which are associated with hardware
commands not implemented for configured pumo model.
|
TurboState |
getTurboState()
Get the current TurboState
|
protected void |
initDevice()
Performs basic initialization.
|
protected void |
initialize()
Performs full initialization.
|
boolean |
isVentValveOpen()
Test if vent valve is set to open or closed
|
void |
openVentValve()
Open vent valve
|
String |
readAll()
Read all settings and data from pump controller.
|
protected double |
readChannel(org.lsst.ccs.monitor.Channel ch)
Reads a channel.
|
String |
readTurboFailCode()
Read error code (bits show reason for pump failure)
|
String |
readTurboLife()
Read TurboPump running-time in hours
|
org.lsst.ccs.drivers.twistorr.TwisTorr84.PumpStatus |
readTurboStatus()
Read and decode pump status
|
String |
showVentValveStatus()
Show vent valve settings and status
|
void |
startTurboPump()
Start pump
|
void |
stopTurboPump()
Stop pump
|
addLine, checkChannel, checkHwLine, checkLine, checkTimeout, configure, disable, dropChannel, dropChannel, enable, getDeviceMonitorUpdateTasks, getFullName, getGroupForChannel, getMonitorUpdateTasksForChannels, getName, getOutputLines, getPath, init, initChannel, initChannel, initChannel, initSensors, isEnabled, isHwLineSet, isLineSet, isOnline, isTimeout, readChannel, readChannelGroup, readChannelGroup, readChannelNow, setDisabled, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, start, testOnline@LookupPath protected String path
@ConfigurationParameter(isFinal=true,
units="unitless",
description="serial port")
protected volatile String devcId
@ConfigurationParameter(isBuild=true,
category="build",
units="unitless",
description="enumerated pump model")
protected volatile TwisTorr84Device.Model model
@ConfigurationParameter(isFinal=true,
units="unitless",
description="true/false for low/normal speed")
protected volatile Boolean lowSpeedMode
@ConfigurationParameter(isFinal=true,
description="Soft-Start mode <true|false>, settable only if pump is stopped",
units="unitless")
protected volatile Boolean softStartMode
@ConfigurationParameter(isFinal=true,
description="Active-Stop mode <true|false>, settable only if pump is stopped",
units="unitless")
protected volatile Boolean activeStopMode
@ConfigurationParameter(isFinal=true,
description="Setpoint value for digital outout",
units="Hz")
protected volatile Integer setpointValue
public org.lsst.ccs.config.ConfigurationParameterDescription getConfigurationParameterDescription(String parName)
getConfigurationParameterDescription in interface org.lsst.ccs.config.HasConfigurationParameterDescriptionString - parameter nameprotected void initDevice()
initDevice in class org.lsst.ccs.monitor.Deviceprotected void initialize()
initialize in class org.lsst.ccs.monitor.Deviceprotected void close()
close in class org.lsst.ccs.monitor.Device@Command(type=ACTION,
name="startTurboPump",
description="Start turbo pump")
public void startTurboPump()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=ACTION,
name="stopTurboPump",
description="Stop turbo pump")
public void stopTurboPump()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=ACTION,
name="openVentValve",
description="If model305, open vent valve")
public void openVentValve()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=ACTION,
name="closeVentValve",
description="If model305, close vent valve")
public void closeVentValve()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
name="showVentValveStatus",
description="If model305, show vent valve settings and status")
public String showVentValveStatus()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic boolean isVentValveOpen()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionprotected int[] checkChannel(org.lsst.ccs.monitor.Channel ch)
throws Exception
checkChannel in class org.lsst.ccs.monitor.DeviceChannel - ch The channelException - if any errors found in the parameters.protected double readChannel(org.lsst.ccs.monitor.Channel ch)
readChannel in class org.lsst.ccs.monitor.DeviceChannel - ch@Command(type=QUERY,
level=0,
name="readTurboStatus",
description="Get pump status, including operating modes and failure")
public org.lsst.ccs.drivers.twistorr.TwisTorr84.PumpStatus readTurboStatus()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
name="readTurboFailCode",
description="Find reason(s) for failure",
level=0)
public String readTurboFailCode()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=1,
name="readTurboLife",
description="show TurboPump running-time in hours")
public String readTurboLife()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
level=1,
name="readAll",
description="Read all TurboPump controller settings and data")
public String readAll()
throws InterruptedException
InterruptedExceptionpublic TurboState getTurboState()
Copyright © 2024 LSST. All rights reserved.