Preconfiguration "PID regulator"

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 by 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 creates an object of the PmaFolder type containing PmaPanel, PmaData, PmaTimer and PmaTrendGroup objects.
- 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, Ti, Td and t values are controller constants. The values limiting the regulator output are umax, umin and bLimit. Other values are only auxilliary, used for storing the data since the last controller action.

The PmaTimer object named "Timer" contains in the onTick event the whole regulation calculation. The comments are used to describe each step of the calculation.

The PmaPanel 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 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 objectName of the object created in the Pma objects tree. The maximum name length is 30 characters. This is a system name, so it must contain only alphanumeric and must not contain any diacritics (i.e. national dependent characters), empty string, spaces and the first character must not be a number.
Default: "PID"
Enable as Web componentSpecifies 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 objectPath in the Pma objects tree to the object PmaWeb, PmaWebFolder or PmaWebLang where the registration is carried out.
Macro expression can be used for input (it is evaluated after the application is launched).
After the preconfiguration is created, the "PmaPanel > Web server > PmaWeb object" configurator will be set to this value.

Pm8.00.05: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.