User`s guide
Keyword Function
can modify the variable at the same time.
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).
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.
System Control Functions
(Undefined variable: Primary.Product_Name_V)Language User's Guide, version
17.x
Page 151










