Promotic
WikipediaLinkedInYoutubeTwitterFacebook

onTick - event of the PmaTimer object

Description:
The event is triggered after every timer tick (after the expiration of the defined period).
Parameters:
pMe(Object) Reference to the PmaTimer object where the event rises.
pEvent(Object) Reference to object describing detailed information about the specific event.
The pEvent parameter is not used here because this event does not need any additional information.
Example:
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.16 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice