Promotic

Preconfiguration "Analog pump"

Creates compound object configured as analog pump.

This preconfiguration can be activated when creating a new Pmg object and is included in the group: "/ Technology / Pump".

After connecting the variables of this object by the "PP - Data binding to Pma object property" data binding to the configured variables of the PmaData object, the real status of such device is indicated.

The Status and Mode variables are used for such purpose. The value of the Mode variable defines the working mode of the device and is preset as follows:
1 = automated regulation mode
2 = manual regulation mode
3 = manually ON
4 = manually OFF
5 = disabled (for pump)
Any other value causes error signal.
The Status variable represents the device status and the default (preconfigured) meaning of individual bits of this variable is apparent based on the information present at the beginning of the "Draw" tab script of the PmgCanvas object.
All these variables in the Pmg object are read only.

Displayed symbols and values
Symbols A, M, E, X - indicate the device status (A = AUTO, M = MANUAL, E = ERROR, X = SHUT DOWN) and also differ in background color.
The CurrVal value - is located to the left or to the right of the symbol and represents the real current signalized position (or velocity).
The ReqM value - is located above or below the symbol and represents manually defined desired value (can be written)
The ReqA value - is the last value and represents the value requested by the device from regulation


The devId parameter serves as device identifier.
The mode change control is executed by means of the onMenuFill and onMenuSelect events. It is supposed in this event that the panel method DeviceCmd exists with devId and mode parameters that commands the control system based on user request to change the device mode. There is an example script present in this event that emulates the reaction of the control system.
These configurators can be set before the preconfiguration is created:
The name of created objectName (identifier) of the Pmg object. It is used for obtaining the Pmg object by the PmgObject.Items method.
This configurator sets the initial value of the Name property.
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.
Device identifierTechnical name (identifier) of the device
Emulation of control system commandEmulation of control system command for device status change

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

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