public class TwisTorr84Device
extends org.lsst.ccs.monitor.Device
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
activeStopMode |
protected String |
devcId |
protected Boolean |
interlockType |
protected Boolean |
lowSpeedMode |
protected Boolean |
model304 |
protected Boolean |
softStartMode |
protected Boolean |
ventValveByCmnd |
protected Boolean |
waterCooling |
| Constructor and Description |
|---|
TwisTorr84Device() |
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
checkChannel(String name,
int hwChan,
String type,
String subtype)
Checks a channel's parameters for validity.
|
protected void |
close()
Closes the connection.
|
protected void |
initDevice()
Performs basic initialization.
|
protected void |
initialize()
Performs full initialization.
|
String |
readAll()
Read all settings and data from pump controller.
|
protected double |
readChannel(int hwChan,
int type)
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
|
void |
setActiveStopMode(Boolean value)
Select active stop (with braking) vs.
|
void |
setSoftStartMode(Boolean value)
Select soft start vs.
|
void |
startTurboPump()
Start pump
|
void |
stopTurboPump()
Stop pump
|
addLine, checkChannel, checkHwLine, checkLine, checkOnline, 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@ConfigurationParameter(isFinal=true,
description="serial port")
protected volatile String devcId
@ConfigurationParameter(isFinal=true,
description="true/false for model 304/84 pump")
protected volatile Boolean model304
@ConfigurationParameter(isFinal=true,
description="true/false for low/normal speed")
protected volatile Boolean lowSpeedMode
@ConfigurationParameter(isFinal=true,
description="true/false for water/air cooling")
protected volatile Boolean waterCooling
@ConfigurationParameter(isFinal=true,
description="true/false for manual/auto")
protected volatile Boolean ventValveByCmnd
@ConfigurationParameter(isFinal=true,
description="true/false for continuous/impulse")
protected volatile Boolean interlockType
@ConfigurationParameter(description="Soft-Start mode <true|false>, settable only if pump is stopped") protected volatile Boolean softStartMode
@ConfigurationParameter(description="Active-Stop mode <true|false>, settable only if pump is stopped") protected volatile Boolean activeStopMode
protected 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@ConfigurationParameterChanger(propertyName="softStartMode") public void setSoftStartMode(Boolean value) throws org.lsst.ccs.drivers.commons.DriverException
value - True for soft-start mode, false for normal mode.org.lsst.ccs.drivers.commons.DriverException@ConfigurationParameterChanger(propertyName="activeStopMode") public void setActiveStopMode(Boolean value) throws org.lsst.ccs.drivers.commons.DriverException
value - True for active-stop mode, false for normal-stop mode.org.lsst.ccs.drivers.commons.DriverException@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.DriverExceptionprotected int[] checkChannel(String name, int hwChan, String type, String subtype) throws Exception
checkChannel in class org.lsst.ccs.monitor.Devicename - The channel namehwChan - The hardware channel numbertype - The channel type stringsubtype - The channel subtype stringException - if any errors found in the parameters.protected double readChannel(int hwChan,
int type)
readChannel in class org.lsst.ccs.monitor.DevicehwChan - The hardware channel number.type - The encoded channel type returned by checkChannel.@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()
Copyright © 2022 LSST. All rights reserved.