public class PidControl extends SimpleManipulator
SimpleDataSource.NameEditorData
DataSource.Writable
Modifier and Type | Field and Description |
---|---|
boolean |
autoMode |
double |
CV |
double |
D |
double |
error |
double |
I |
double |
manualCommand |
double |
oldError |
double |
oldSP |
double |
P |
int |
PIDExecution |
double |
PV |
double |
SP |
double |
sumError |
cvsRev
UPDATE_DISPLAYED_VALUE, VALUE_INPUT
customTimer, EXPORT_READ_ONLY, EXPORT_READ_WRITE, NO_EXPORT, requiresSyncWrite, sharedTimer, syncWriteTimeout, timebase
autoSuspend, AUTOSUSPEND_DEFAULT, AUTOSUSPEND_NEVER, AUTOSUSPEND_NO_LISTENERS, AUTOSUSPEND_NO_LISTENERS_AND_NO_SOURCES, colorHi, colorHiHi, colorLo, colorLoLo, colorNormal, connectors, consoleLogger, currentColor, currentValue, debugLevel, DEFAULT_AUTOSUSPEND, dontConnect, gwtLog, hardSuspended, popupLogger, PRIMARYOUTPORTNAME, sendColors, stopped, suspended, timedPopupLogger, traceLogger, valueHi, valueHiHi, valueLo, valueLoLo
Constructor and Description |
---|
PidControl() |
Modifier and Type | Method and Description |
---|---|
boolean |
getAutoMode()
accesses the value for automode
|
double |
getD()
accesses the value for the derivative parameter
|
double |
getI()
accesses the value for the integral parameter
|
double |
getManualCommand()
accesses the value for manual command
|
double |
getOutMax() |
double |
getOutMin() |
double |
getP()
accesses the value for the proprtional parameter
|
double |
getSP()
accesses the value for the set point
|
boolean |
isBumplessControl() |
void |
refreshCurrentValue()
This method is called automatically by the timer in SimpleDataSource every timebase
interval.
|
void |
setAutoMode(boolean mode)
sets a new boolean value for the automode
|
void |
setBumplessControl(boolean bumplessControl) |
void |
setD(double newD)
sets a new value for the derivative parameter
|
void |
setI(double newI)
sets a new value for the integral parameter
|
void |
setManualCommand(double manualCommand)
sets a new value for the manual command
|
void |
setOutMax(double outMax) |
void |
setOutMin(double outMin) |
void |
setP(double newP)
sets a new value for the proportional parameter
|
void |
setSP(double newSP)
sets a new value for the set point
|
void |
setValueObject(ValueObjectInterface newValue)
This method will be called from the server sending value for the process value
when this value is changed.
|
getDefaultQualityForLocation
getInPortNames, getStaticLocationFor, setBooleanValue, setBoolValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toString, valueChanged, valueInput
addConnector, addConnector, addDataSource, addPropertyChangeListener, addValueChangedListener, addVetoableChangeListener, authenticatedClientRequest, clientRequest, clientResponse, destroy, determineSuspendedStatus, getClassLicenseManager, getContainer, getCustomTimer, getDataSource, getDataSources, getDisplayName, getExportCriteria, getExposeComponentConnections, getName, getOutPortNames, getPullFromServers, getPushData, getPushName, getPushToServers, getServerListData, getTimebase, getTrace, isActive, isScreenLocal, removeConnector, removeDataSource, removePropertyChangeListener, removeValueChangedListener, removeVetoableChangeListener, requestSyncWrite, setAutoSuspend, setClassLicenseManager, setContainer, setCustomTimer, setDataSourceName, setExportCriteria, setExposeComponentConnections, setName, setPullFromServers, setPushData, setPushName, setPushToServers, setScreenLocal, setServerListData, setTimebase, setTrace, start, stop, tick, VIBEvent
addVIBEventListener, checkScript, executeInScriptInternal, executeScript, executeScriptInternal, executeScriptInternal, getAutoSuspend, getBooleanValue, getBoolValue, getColorHi, getColorHiHi, getColorLo, getColorLoLo, getColorNormal, getConnectors, getConsoleLogger, getCurrentColor, getDataSourceName, getDoubleValue, getFloatValue, getGWTLogger, getIncomingValueObject, getInScript, getIntValue, getLongValue, getParent, getPopupLogger, getScript, getScriptEngine, getSendColors, getSources, getStringValue, getSyncWriteTimeout, getTimedPopupLogger, getTraceLogger, getValueHi, getValueHiHi, getValueLo, getValueLoLo, getValueObject, init, isHardSuspended, isRunning, isSendOnlyChangedValuesDefault, isSuspended, logException, logGWT, logGWT, logMessage, logTrace, n2sortConnectors, performScriptSubstitutions, popupMessage, post, removeConnector, removeVIBEventListener, replaceConnectors, scriptExtensionSubstition, setColorHi, setColorHiHi, setColorLo, setColorLoLo, setColorNormal, setConsoleLogger, setGWTLogger, setHardSuspended, setInScript, setParent, setPopupLogger, setScript, setSendColors, setSendOnlyChangedValuesDefault, setSyncWriteTimeout, setTimedPopupLogger, setTraceLogger, setValueHi, setValueHiHi, setValueLo, setValueLoLo, updateColor, updateListeners, updateListeners, updateListeners, whoAmI
public boolean autoMode
public double CV
public double D
public double error
public double I
public double manualCommand
public double oldError
public double oldSP
public double P
public int PIDExecution
public double PV
public double SP
public double sumError
public boolean getAutoMode()
public double getD()
public double getI()
public double getManualCommand()
public double getOutMax()
public double getOutMin()
public double getP()
public double getSP()
public boolean isBumplessControl()
public void refreshCurrentValue()
refreshCurrentValue
in class SimpleDataSource
public void setAutoMode(boolean mode)
mode
- the boolean value for automodepublic void setBumplessControl(boolean bumplessControl)
public void setD(double newD)
newI
- the double value for the derivative parameterpublic void setI(double newI)
newI
- the double value for the integral parameterpublic void setManualCommand(double manualCommand)
manualCommand
- the double value for the manual commandpublic void setOutMax(double outMax)
public void setOutMin(double outMin)
public void setP(double newP)
newP
- the double value for the new proportional parameterpublic void setSP(double newSP)
newSP
- the double value for the new set pointpublic void setValueObject(ValueObjectInterface newValue)
setValueObject
in class SimpleDataSource
newEvent
- the event generating a new double valueValueObject
Copyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.