System Control Functions Example of System Control Functions The instruction: IF (TIMER(2) > 100) AND (DEFINED(loc_1)) THEN MOVE loc_1 END executes the MOVE instruction only if timer (2) had a value greater than 100 and the variable loc_1 had been defined. eV+Language User's Guide, v2.x, 18318-000 Rev A Page 89 Keyword Function TASK Return information about a program execution task. TIME Return an integer value representing either the date or the time specified in the given string parameter. $TIME Return a string value containing either the current system date and time or the specified date and time. TIMER Return the current time value of the specified system timer.
TPS Return the number of ticks of the system clock that occur per second (Ticks Per Second).