Promotic

Data extension ExtComm - configuration window

Description:
Data extension configuration ExtComm - Data extension for connection to the PmaCommGroup object
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 "comm".
Target object (PmaCommGroup)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. By this selection the communication type, refresh rate and other parameters defined in the PmaCommGroup object can be defined.
 
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).
ItemIdText address/identifier of the variable for the corresponding communication type. The address can be entered either manually or it can be selected from the selective window that can be opened by the button right from the input.
 
This configurator sets the initial value of the ItemId property.
 
Macro expression can be used for input (it is evaluated after the application is launched).
Value recalculationIf checked, then the received and sent value will be recalculated by the PmValue = k/d * CommValue + q formula, where PmValue is the value in the PROMOTIC system, CommValue is the value from the communication, k,d,q are the recalculation constants defined in the configurator.
 
The conversion is applied also when sending the value. Then the inversion conversion is done according to the expression CommValue = d/k * (PmValue - q).
Caution: Vhen sending the value with conversion, some inaccuracy may happen and therefore the PmValue sent could differ from the PmValue received. For example for the conversion of PmValue = 1000 * CommValue and if CommValue is the value on 1B (Range 0-255), then when sending the PmValue=2008 the CommValue=2 is sent. If the CommValue=2 is received, then the PmValue will be 2000.
 
The recalculation can be used for numeric values and also for of the Boolean type values. For example negating the Boolean value can be done by using the constants k/d/q = -1/1/1 (for this calculation false has the value 0 and true has the value 1).
 
Macro expression can be used for input (it is evaluated after the application is launched).
Note:
This configuration window can be opened from the "Data extensions" configurator in the variable of the PmaData object.

This data extension registrates itself automatically into the PmaCommGroup object after the application is launched. Therefore it is not needed to create the requested item on the "PmaCommGroup > Data" tab! If all items for the PmaCommGroup object are of the "Data extension" type, then the "PmaCommGroup > Data" tab may remain empty.
See also:

History:
Pm9.00.10: The Macro expression can now be used for entering the values of recalculating constants k,d,q.
Pm8.03.00: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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