156 Programming Commands
TIMER Time Function
ACTION: Sets or read the Timer value in seconds.
PROGRAM SYNTAX: TIMER - used in an expression
TIMER=expression
TIMER1 - used in an expression
TIMER1=expression
REMARKS: The Timer should be set to a value at the beginning of the task in which
it is used.
The Timer is incremented every millisecond.
EXAMPLES: TIMER=0 ‘set the timer to zero
DO
statements
WHILE TIMER < 1.0 ‘ do the loop for 1 second
TIMER2 Time Function
ACTION: Sets or read the Timer2 value in seconds.
PROGRAM SYNTAX: TIMER2 - used in an expression
TIMER2=expression
REMARKS: The Timer should be set to a value at the beginning of the task in which
it is used.
The Timer is incremented every millisecond.
EXAMPLES: TIMER2=0 ‘set the timer to zero
DO
statements
WHILE TIMER2 < 1.0 ‘ do the loop for 1 second
Comentarios a estos manuales