Promotic
Login logon

TimeSource - property of the PmVar object

Description:
Time of value origin in the value source by source time (this is not the time when the value got into the PROMOTIC application).
Syntax:
Date TimeSource
Note:
Property access for read-only.
 
The value of this property can be also obtained in the "PmaRoot" item of the INFO system (when looking into the object with this property).

It is possible that this value is automatically filled in only by some communications:
- the PmOpcUaClient communication driver - see the "Type of reading time of variable value" configurator, when the value is read from the communication together with the corresponding timestamp (and eventually also with the quality).
- the PmIEC8705 communication driver for message Read command (ASDU-102, C_RD_NA_1).
- the PmElgas2 communication driver for variables of the PmaCommGroup object.
See also:
- PmVar.TimeWrite (property)
- PmVar.Quality (property)
- PmVar.Value (property)
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oData = pMe.Pm("/Data");
var d = oData.Item(2).TimeSource;   // Reading from the property

History:
Pm9.00.09: Created
PROMOTIC 9.0.34 SCADA system documentation MICROSYS, spol. s r.o.

Send page remark Contact responsible person
© MICROSYS, spol. s r.o.Update cookies preferences