TPS real-valued function TPS real-valued function Syntax TPS Function Return the number of ticks of the system clock that occur per second (Ticks Per Second). Usage Considerations The name "tps" cannot be used as a program name or variable name. Example The following example shows how an event can be tested each system clock tick, with a time-out of 5 seconds, using the TPS function and the WAIT instruction. FOR ticks = 1 TO 5*TPS ;Loop 5*ticks/sec times IF SIG(1001) THEN TYPE "Signal ON" HALT END WAIT ;Wait until next clock tick END TYPE "Time-out while waiting for signal 1001" eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 542