Package gda.device.temperature
Class EpicsEurotherm2kController
java.lang.Object
gda.factory.ConfigurableBase
gda.factory.FindableConfigurableBase
gda.device.DeviceBase
gda.device.temperature.EpicsEurotherm2kController
- All Implemented Interfaces:
Device,InitializationListener,Configurable,Findable,gda.observable.IObservable
This class is designed to support Cyberstar Blower, MRI Furnace, and Stoe Furnace.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclassclass -
Field Summary
FieldsModifier and TypeFieldDescriptiondoublemaximum output power alloweddoublemaximum temperature ramp rate alloweddoubleminimum ramp rateFields inherited from class gda.device.DeviceBase
DEFAULT_PROTECTION_LEVEL_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()clear the error stringvoidInitialise the cryo controller object.doublegets the PID differential parameter Dgets the EPICS hardware connection state.getError()gets the error stringdoublegets the PID integral parameter I public double getMaxRampRate() { return maxRampRate; } public void setMaxRampRate(double maxRampRate) { this.maxRampRate = maxRampRate; } public double getMinRampRate() { return minRampRate; } public void setMinRampRate(double minRampRate) { this.minRampRate = minRampRate; } public double getMaxOutput() { return maxOutput; } public void setMaxOutput(double maxOutput) { this.maxOutput = maxOutput; }doublereturns the maximum outputdoublereturns the maximum ramp rate of this device.doublereturns the minimum ramp rate of the devicedoublegets the power output in percentagedoublegets the PID proportional parameter Pdoublegets the temperature ramp ratedoublegets the target temperaturedoublegetTemp()gets the current temperaturevoidCalled when all critical channels are connected.booleancheck if the hardware is connected in EPICSvoidRe-initialisation of values and states.voidsetBasePVName(String basePVName) voidsetConnected(boolean connected) sets EPICS hardware connection statevoidsetDifferential(double differential) sets the PID differential parameter PvoidsetDisbale(boolean bool) sets the EPICS hardware connection state: true - Disabled; false - EnabledvoidsetIntegral(double integral) sets the PID integral parameter PvoidsetMaxOutput(double maxOutput) sets the maximum outputvoidsetMaxRampRate(double maxRampRate) sets the maximum ramp rate of this device - used only by CastorvoidsetMinRampRate(double minRampRate) voidsetOutput(double output) sets the power output in percentage (max 35%)voidsetProportional(double p) sets the PID proportional parameter PvoidsetRampRate(double rate) sets the temperature ramp ratevoidsetTargetTemperature(double temp) sets the target temperature and start ramp to it, ramp rate must be set first.Methods inherited from class gda.device.DeviceBase
addIObserver, close, deleteIObserver, deleteIObservers, getAttribute, getName, getProtectionLevel, isBeingObserved, isConfigureAtStartup, notifyIObservers, setAttribute, setConfigureAtStartup, setName, setProtectionLevelMethods inherited from class gda.factory.ConfigurableBase
isConfigured, setConfiguredMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface gda.factory.Configurable
isConfigured
-
Field Details
-
maxRampRate
public double maxRampRatemaximum temperature ramp rate allowed -
minRampRate
public double minRampRateminimum ramp rate -
maxOutput
public double maxOutputmaximum output power allowed
-
-
Constructor Details
-
EpicsEurotherm2kController
public EpicsEurotherm2kController()Constructor
-
-
Method Details
-
configure
Initialise the cryo controller object.- Specified by:
configurein interfaceConfigurable- Overrides:
configurein classConfigurableBase- Throws:
FactoryException
-
reconfigure
Description copied from interface:ConfigurableRe-initialisation of values and states.Moved from Reconfigurable which has been deleted
- Specified by:
reconfigurein interfaceConfigurable- Overrides:
reconfigurein classConfigurableBase- Throws:
FactoryException
-
setTargetTemperature
sets the target temperature and start ramp to it, ramp rate must be set first.- Parameters:
temp-- Throws:
DeviceException
-
getTargetTemperature
gets the target temperature- Returns:
- the set point
- Throws:
DeviceException
-
setRampRate
sets the temperature ramp rate- Parameters:
rate-- Throws:
DeviceException
-
getRampRate
gets the temperature ramp rate- Returns:
- ramp rate
- Throws:
DeviceException
-
setOutput
sets the power output in percentage (max 35%)- Parameters:
output-- Throws:
DeviceException
-
getOutput
gets the power output in percentage- Returns:
- power output
- Throws:
DeviceException
-
getTemp
gets the current temperature- Returns:
- run mode
- Throws:
DeviceException
-
setProportional
sets the PID proportional parameter P- Parameters:
p-- Throws:
DeviceException
-
getProportional
gets the PID proportional parameter P- Returns:
- proportional
- Throws:
DeviceException
-
setIntegral
sets the PID integral parameter P- Parameters:
integral-- Throws:
DeviceException
-
getIntegral
gets the PID integral parameter I public double getMaxRampRate() { return maxRampRate; } public void setMaxRampRate(double maxRampRate) { this.maxRampRate = maxRampRate; } public double getMinRampRate() { return minRampRate; } public void setMinRampRate(double minRampRate) { this.minRampRate = minRampRate; } public double getMaxOutput() { return maxOutput; } public void setMaxOutput(double maxOutput) { this.maxOutput = maxOutput; }- Returns:
- integral
- Throws:
DeviceException
-
setDifferential
sets the PID differential parameter P- Parameters:
differential-- Throws:
DeviceException
-
getDifferential
gets the PID differential parameter D- Returns:
- remaining
- Throws:
DeviceException
-
getError
gets the error string- Returns:
- error string
- Throws:
DeviceException
-
clear
clear the error string- Throws:
DeviceException
-
initializationCompleted
public void initializationCompleted()Description copied from interface:InitializationListenerCalled when all critical channels are connected.- Specified by:
initializationCompletedin interfaceInitializationListener
-
getMaxRampRate
public double getMaxRampRate()returns the maximum ramp rate of this device.- Returns:
- maximum ramp rate
-
setMaxRampRate
public void setMaxRampRate(double maxRampRate) sets the maximum ramp rate of this device - used only by Castor- Parameters:
maxRampRate-
-
getMinRampRate
public double getMinRampRate()returns the minimum ramp rate of the device- Returns:
- minimum ramp rate
-
setMinRampRate
public void setMinRampRate(double minRampRate) - Parameters:
minRampRate-
-
getMaxOutput
public double getMaxOutput()returns the maximum output- Returns:
- maximum output
-
setMaxOutput
public void setMaxOutput(double maxOutput) sets the maximum output- Parameters:
maxOutput-
-
isConnected
public boolean isConnected()check if the hardware is connected in EPICS- Returns:
- True or False
-
setConnected
public void setConnected(boolean connected) sets EPICS hardware connection state- Parameters:
connected-
-
setDisbale
sets the EPICS hardware connection state: true - Disabled; false - Enabled- Parameters:
bool-- Throws:
DeviceException
-
getDisable
gets the EPICS hardware connection state.- Returns:
- Disabled or Enabled
- Throws:
DeviceException
-
getBasePVName
-
setBasePVName
-