Small system PID controller variant
This preconfiguration can be activated when creating a new object (e.g. by "New object ..."
in the local object menu or after pressing the Insert
key after selecting the object) and is included in the group: " / Technology / Regulators"
This preconfiguration can be created in the object: PmaFolder or PmaRoot.
- The preconfiguration is created not
including the panel functionality as a Web panel
In the PmaData
object named "Data
", there are the main variables w
- desired value, u
- regulator output and y
- measured value. These variables are connected by ExtTrend
to the PmaTrendGroup
object. The Kp
values are controller constants. The values limiting the regulator output are umax
. Other values are only auxilliary, used for storing the data since the last controller action.
object named "Timer
" contains in the onTick
event the whole regulation calculation. The comments
are used to describe each step of the calculation.
object serves for testing the regulation parameters. In the upper portion of the panel, there are Pmg
objects representing the block diagram of the controller circuit. The regulation circuit includes the description texts and current regulation values displayed as PmgNumber
objects. The PmgWEdit
can be used to modify the constants or controller limits. The PmgTrendViewer
object displays the progress of the regulation. The PmgSlider
object is connected by a data binding to the data value w
and can be used to simulate the desired value (value - y
) to be reached by the controlled system.
These configurators can be set before the preconfiguration is created:
|The name of created object||Name of the object created in the tree of Pma objects. The maximum name length is 30 characters. This is a system name, so it must contain only alphanumeric and must not contain any diacritics, empty string, spaces and the first character must not be a number.|
|Object scripting language||Application object scripting language|
0 - vbscript
|Enable as Web component||Specifies whether this object has to be registered as a Web server component |
After the preconfiguration is created, the "PmaPanel > Web server > Enable as Web component" configurator will be set to this value.
|PmaWeb object||Path in the tree of Pma objects to the object PmaWeb, PmaWebFolder or PmaWebLang where the registration is carried out. |
Macro expression can be used for input (it is evaluated after starting the application).
After the preconfiguration is created, the "PmaPanel > Web server > PmaWeb object" configurator will be set to this value.