onTick - event of the PmaTimer object

The event is triggered after every timer tick (after the expiration of the defined period).
pMe(Object) Reference to the PmaTimer object where the event rises.
pEvent(Object) Reference to the object describing detailed information about the specific event.
The pEvent parameter is not used here because this event does not need any additional information.
After each timer tick the "Temperature3" variable value in the /Data1 object (of the PmaData type) is increased by one.
JavaScriptVBScriptSelect and copy to clipboard

var oVar = pMe.Pm("/Data1/#vars/Temperature3");
oVar.Value += 1;
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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