Object PmTimer (Timer)

The object watches the time period expiration. The onTick event of this object is fired with the certain period. The object is suitable first of all for periodic execution of a script or its execution in the daytime. It is possible to perform event larger functionality as for example the late execution of the script (See method: StartEx). It is better to perform the more common way of time control by the PmSequencer object.
No other PROMOTIC objects can be created in this object. This object can be created in the PmRoot, PmFolder and PmPrototype objects. Multiple objects of this type can be created in such objects.
Periods of calling the onTick event can be changed on an ongoing basis (See property: Period) or disabled on an ongoing basis (See property: Enabled).

The object period is entered in seconds but as the period is of the Single type, it is possible to enter event the time unit below 1 second. The object is linked to the computer time that "ticks" with the maximum period of 10 ms, i.e. 0.01 seconds. But practically so short periods cannot be used in the object.

This object adopts properties and methods of object PmObject
Properties and methods:
Counter Counter restricting the number of runs
Emulate Tick emulation
Enabled Enable/disable the timer
LastTick Time of last execution of the onTick event
Period Timer period in seconds
StartEx Timer activation with the specified number of runs and the period
onTick Fires after every timer tick
Configuration windows:
Object General information about the object
Content Content of the object in the XML form
Events Definition of object events algorithms
Timer Definition of conditions for starting the periodic process
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