SetTimer([timerno], timeoutms, repeat)
Set a millisecond timer. The timer will generate a @Timer event when the
timeout is reached. Note that these timers are different from the timers in the
configuration.
Parameter
Range
Description
timerno
1 – 4, optional
Which timer to set. If this parameter is omitted, the function will
use the first timer that is not running.
timeoutms
0 or 1 to 2147483647,
required
Number of milliseconds before generating the @Timer event.
If this parameter is 0, the timer will be cancelled and the @Timer
event will not be generated.
repeat
0, 1 (optional)
If set to 1, the timer will automatically reset and trip again.
Defaults to 0.
Returns the timer number that was set, or 0 if no timer was set..
Example: Set timer 3 to expire in 1.5 seconds.
SetTimer(3, 1500);
Page 97 of 121
Содержание AAC
Страница 1: ...ezeio user manual Manual version 170314 ezeio models AAC AAF Page 1 of 121 ...
Страница 72: ...Page 72 of 121 ...