Validity: Rule, Task
This keyword allows reading the elapsed time since the axis control was switched on.
Syntax |
REAL tfb |
---|---|
Attributes |
Read only |
Notes |
Its unit of measurement is seconds |
Example
; the variable timeNow will contain the elapsed time ; since the axis control was switched on, in seconds real timeNow = tfb |
Example
; if the value of tfb is greater than 10800 seconds ; in sr(1) will be stored the string ; "control has been on for more than 3 hours" _if(tfb > 10800) sr(1) = "control has been on for more than 3 hours" |