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
No other PROMOTIC objects can be created in this object. This object can be created in the PmRoot
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 period is entered in seconds but as it is of the Single type, it is possible to enter the time unit smaller than 1 second. The object is linked to the computer time that "ticks" with the maximum period of 10 ms (i.e. 0.01 second). But practically such short periods cannot be used in this object. It is also recommended not to use very small value because it puts higher performance load in the application.