Promotic

Data extension AlarmBinary - configuration window

Description:
Data extension configuration AlarmBinary - Data extension for alarm the two-state value
Configurators:
Data extension identifierSystem text (without spaces and diacritics - i.e. national dependent characters). It is used for unambiguous identification of data extension in data item (e.g. in the Extension method).
The default value is "al".
Target object (PmaAlarmGroup)Path to the target object of appropriate type, in which the data variable must be registered. The object can be selected also by the button on the right.
Macro expression can be used for input, the result must be a NON-LOCALIZED path to Pma object (it is evaluated after the application is launched).
Alarm templateThe unique text identifier of the alarm of Template type (see the "Template for dynamically created items" configurator), whose configuration is used.
Automatically generated alarm identifierIf checked, then the alarm identifier will be created automatically by the system (_autoN).
Alarm identifierManually entered alarm identifier.
This configurator sets the initial value of the PmAlarmItem.Id property.
Macro expression can be used for input (it is evaluated after the application is launched). Caution: Macro expression $vb cannot be used for input.
Alarm sourceThe text specifies the logical placement of the alarm in the technology. It has the same meaning as the "Source" configurator for standalone configured alarms/events.
Macro expression can be used for input (it is evaluated after the application is launched). Caution: Macro expression $vb cannot be used for input.
Alarm description defined here (otherwise from template)If checked, then the alarm description is entered in the following configurator. Otherwise the template alarm description is used.
Alarm description (desc)
Macro expression can be used for input ($.text ..) (it is evaluated after the application is launched). Caution: Macro expression $vb cannot be used for input.
Value typeMethod for obtaining value for evaluation (testing):
0 - whole value - The whole value is used. Non zero value causes activation, zero value causes deactivation.
1 - defined bit - Value of specified bit is used. Non zero value causes activation, zero value causes deactivation.
3 - JavaScript expression - Value defined by JavaScript expression is used. Non zero value causes activation, zero value causes deactivation.
Specifies the bit number to testIf set "3 - JavaScript expression", then serves for specifying the particular bit index. The particular bit is identified by the order, so the lowest bit is numbered 0.
JavaScript expressionIf set "3 - JavaScript expression", then it serves for specifying of the JavaScript expression itself. The JavaScript expression can have two parameters:
pVal: The value of the PmVar.Value property for simple usage in the expression.
pDE: Reference to data extension object (for obtaining other values from data extension or from variable).
pVar: Reference to the PmVar object of data extension.
Activate alarm on low value (negate test)If checked, then the result of tested value will be understood the other way round, i.e. zero value causes activation and zero value causes deactivation.
Note:
This configuration window can be opened from the "Data extensions" configurator in the variable of the PmaData object.

History:
Pm9.00.14: In the "Alarm identifier" configurator it is now possible to use Macro expression.
Pm8.03.14: The "Value type" configurator now has option "3 - JavaScript expression" added. It allows for example triggering an alarm if the value je greater than defined constant, trend the Quality of the variable etc. (for ExtAlarmBinary, ExtEvent, ExtTrend).
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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