onTick - event of object PmTimer

The event fires after every timer tick (after the expiration of the defined period).
pMe(Object) Reference to the PROMOTIC object where the event rises.
pEvent(Object) A referrence 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.

After each timer tick the "Temperature3" variable value in the /Data1 object (PmData type) is increased by one.
Dim oVar
Set oVar = pMe.Pm("/Data1/#vars/Temperature3")
oVar.Value = oVar.Value + 1
PROMOTIC 8.3.19 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